SYMBOL INDEX (2171 symbols across 147 files) FILE: apps/electron/src/main.ts function startWatching (line 20) | function startWatching(dir: string) { function stopWatching (line 46) | function stopWatching() { function getWindowIcon (line 55) | function getWindowIcon() { function getUniqueFilePath (line 74) | function getUniqueFilePath(targetPath: string): string { function isPathInsideWorkspace (line 88) | function isPathInsideWorkspace(targetPath: string): boolean { type FileEntry (line 112) | interface FileEntry { function readFileEntry (line 125) | function readFileEntry(fullPath: string, name: string): FileEntry { function scanWorkspace (line 151) | function scanWorkspace(dir: string): FileEntry[] { function createWindow (line 193) | function createWindow() { function createMenu (line 705) | function createMenu() { FILE: apps/electron/src/updater.ts constant GITHUB_REPO (line 3) | const GITHUB_REPO = 'tenngoxars/WeMD'; constant RELEASES_URL (line 4) | const RELEASES_URL = `https://github.com/${GITHUB_REPO}/releases`; constant API_URL (line 5) | const API_URL = `https://api.github.com/repos/${GITHUB_REPO}/releases/la... type UpdateInfo (line 7) | interface UpdateInfo { function checkForUpdates (line 19) | async function checkForUpdates( function isNewerVersion (line 62) | function isNewerVersion(latest: string, current: string): boolean { function openReleasesPage (line 75) | function openReleasesPage(): void { FILE: apps/electron/src/utils/frontmatter.ts type FrontmatterMeta (line 1) | interface FrontmatterMeta { constant FRONTMATTER_REGEX (line 6) | const FRONTMATTER_REGEX = /^(\uFEFF)?---(\r?\n)([\s\S]*?)\2---(?:\r?\n|$)/; function parseFrontmatterValue (line 8) | function parseFrontmatterValue(raw?: string): string | undefined { function extractFrontmatterMeta (line 22) | function extractFrontmatterMeta(content: string): FrontmatterMeta { FILE: apps/server/src/app.controller.ts class AppController (line 5) | class AppController { method constructor (line 6) | constructor(private readonly appService: AppService) {} method getHello (line 9) | getHello(): string { FILE: apps/server/src/app.module.ts class AppModule (line 17) | class AppModule {} FILE: apps/server/src/app.service.ts class AppService (line 4) | class AppService { method getHello (line 5) | getHello(): string { FILE: apps/server/src/main.ts function bootstrap (line 6) | async function bootstrap() { FILE: apps/server/src/services/cos.service.ts type COSPutObjectParams (line 3) | type COSPutObjectParams = { type COSPutObjectCallback (line 10) | type COSPutObjectCallback = (err: Error | null, data: unknown) => void; type COSClient (line 12) | interface COSClient { type COSConstructor (line 16) | type COSConstructor = new (options: { type COSConfig (line 23) | interface COSConfig { class COSService (line 31) | class COSService { method constructor (line 37) | constructor(config: COSConfig) { method uploadFile (line 47) | async uploadFile( FILE: apps/server/src/upload/dto/create-upload.dto.ts class CreateUploadDto (line 1) | class CreateUploadDto {} FILE: apps/server/src/upload/dto/update-upload.dto.ts class UpdateUploadDto (line 4) | class UpdateUploadDto extends PartialType(CreateUploadDto) {} FILE: apps/server/src/upload/entities/upload.entity.ts class Upload (line 1) | class Upload {} FILE: apps/server/src/upload/upload.controller.ts type StorageMode (line 15) | type StorageMode = 'local' | 'cos'; class UploadController (line 18) | class UploadController { method constructor (line 22) | constructor(private configService: ConfigService) { method uploadFile (line 60) | async uploadFile(@UploadedFile() file: Express.Multer.File) { FILE: apps/server/src/upload/upload.module.ts class UploadModule (line 9) | class UploadModule {} FILE: apps/server/src/upload/upload.service.ts class UploadService (line 6) | class UploadService { method create (line 7) | create(createUploadDto: CreateUploadDto) { method findAll (line 12) | findAll() { method findOne (line 16) | findOne(id: number) { method update (line 20) | update(id: number, updateUploadDto: UpdateUploadDto) { method remove (line 25) | remove(id: number) { FILE: apps/web/public/libs/mathjax/tex-svg.js function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function p (line 1) | function p(t){return function(t){function e(){return null!==t&&t.apply(t... function h (line 1) | function h(t){var e;return e=function(t){function e(){for(var e=[],r=0;r... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyQuery(t,t... function Q (line 1) | function Q(t){try{s(n.next(t))}catch(t){i(t)}} method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function T (line 1) | function T(t){try{s(n.throw(t))}catch(t){i(t)}} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... function s (line 1) | function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r(... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... function T (line 1) | function T(i){return function(T){return function(i){if(r)throw new TypeE... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e){var r=t.call(this,e.document)||this;return r.window=e,r.pa... function i (line 1) | function i(t){return"object"==typeof t&&null!==t} method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... function Q (line 1) | function Q(t,e){var r,o;try{for(var T=n(Object.keys(e)),s=T.next();!s.do... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e,r){var n=t.call(this,e)||this;return n.package=r,n} function t (line 1) | function t(e,r){void 0===r&&(r=!1),this.isLoaded=!1,this.isLoading=!1,th... function u (line 1) | function u(e){return T.visitTree(e,t.document)} method constructor (line 1) | constructor(){super([Q.Axis.LOCALE,Q.Axis.MODALITY,Q.Axis.DOMAIN,Q.Axi... method parse (line 1) | parse(t){const e=super.parse(t);let r=e.getValue(Q.Axis.STYLE);const n... method fromPreference (line 1) | fromPreference(t){return a.fromPreference(t)} method toPreference (line 1) | toPreference(t){return a.toPreference(t)} method constructor (line 1) | constructor(t){this.mathml=t,this.factory=new Q.SemanticNodeFactory,th... method addAttributes (line 1) | static addAttributes(t,e,r){r&&1===e.childNodes.length&&e.childNodes[0... method textContent (line 1) | static textContent(t,e,r){if(!r&&e.textContent)return void(t.textConte... method isPunctuated (line 1) | static isPunctuated(t){return!s.SemanticSkeleton.simpleCollapseStructu... method getTree (line 1) | getTree(){return this.stree} method assembleTree (line 1) | assembleTree(t){const e=this.makeNode(t),r=c.splitAttribute(c.getAttri... method makeNode (line 1) | makeNode(t){const e=c.getAttribute(t,o.Attribute.TYPE),r=c.getAttribut... method makePunctuation (line 1) | makePunctuation(t){const e=this.createNode(t);return e.updateContent((... method makePunctuated (line 1) | makePunctuated(t,e,r){const n=this.createNode(e[0]);n.type="punctuated... method makeEmpty (line 1) | makeEmpty(t,e,r){const n=this.createNode(e);n.type="empty",n.embellish... method makeIndex (line 1) | makeIndex(t,e,r){if(u.isPunctuated(e))return this.makePunctuated(t,e,r... method postProcess (line 1) | postProcess(t,e){const r=s.SemanticSkeleton.fromString(e).array;if("su... method createNode (line 1) | createNode(t){const e=this.factory.makeNode(t);return this.nodeDict[t.... method collapsedChildren_ (line 1) | collapsedChildren_(t){const e=t=>{const r=this.nodeDict[t[0]];r.childN... method setParent (line 1) | setParent(t,e){const r=c.getBySemanticId(this.mathml,t),n=this.assembl... function p (line 1) | function p(){T=new e.MathJax._.core.MmlTree.SerializedMmlVisitor.Seriali... function h (line 1) | function h(){var e,r;t.input&&t.output&&d();var n=t.output?t.output.name... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyQuery(t,t... function d (line 1) | function d(){e.MathJax.typeset=function(e){void 0===e&&(e=null),t.docume... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyConstrain... function f (line 1) | function f(r,n,o){var i=r+"2"+n;e.MathJax[i]=function(e,r){return void 0... function L (line 1) | function L(r,n){var o=e.MathJax._.core.MathItem.STATE;e.MathJax[r+"2mml"... method constructor (line 1) | constructor(){this.trie=null,this.evaluators_={},this.trie=new f.Trie} method getInstance (line 1) | static getInstance(){return L.instance=L.instance||new L,L.instance} method debugSpeechRule (line 1) | static debugSpeechRule(t,e){const r=t.precondition,n=t.context.applyQu... method debugNamedSpeechRule (line 1) | static debugNamedSpeechRule(t,e){const r=L.getInstance().trie.collectR... method evaluateNode (line 1) | evaluateNode(t){(0,s.updateEvaluator)(t);const e=(new Date).getTime();... method toString (line 1) | toString(){return this.trie.collectRules().map((t=>t.toString())).join... method runInSetting (line 1) | runInSetting(t,e){const r=Q.default.getInstance(),n={};for(const e in ... method addStore (line 1) | addStore(t){const e=y(t);"abstract"!==e.kind&&e.getSpeechRules().forEa... method processGrammar (line 1) | processGrammar(t,e,r){const n={};for(const o in r){const i=r[o];n[o]="... method addEvaluator (line 1) | addEvaluator(t){const e=t.evaluateDefault.bind(t),r=this.evaluators_[t... method getEvaluator (line 1) | getEvaluator(t,e){const r=this.evaluators_[t]||this.evaluators_[u.Dyna... method enumerate (line 1) | enumerate(t){return this.trie.enumerate(t)} method evaluateNode_ (line 1) | evaluateNode_(t){return t?(this.updateConstraint_(),this.evaluateTree_... method evaluateTree_ (line 1) | evaluateTree_(t){const e=Q.default.getInstance();let r;o.Debugger.getI... method evaluateNodeList_ (line 1) | evaluateNodeList_(t,e,r,o,i,Q){if(!e.length)return[];const T=o||"",s=Q... method addLayout (line 1) | addLayout(t,e,r){const o=e.layout;o&&(o.match(/^begin/)?t.unshift(new ... method addPersonality_ (line 1) | addPersonality_(t,e,r,o){const i={};let Q=null;for(const t of T.person... method addExternalAttributes_ (line 1) | addExternalAttributes_(t,e){if(e.hasAttributes()){const r=e.attributes... method addRelativePersonality_ (line 1) | addRelativePersonality_(t,e){if(!t.personality)return t.personality=e,... method updateConstraint_ (line 1) | updateConstraint_(){const t=Q.default.getInstance().dynamicCstr,e=Q.de... method makeSet_ (line 1) | makeSet_(t,e){return e&&Object.keys(e).length?t.split(":"):[t]} method lookupRule (line 1) | lookupRule(t,e){if(!t||t.nodeType!==i.NodeType.ELEMENT_NODE&&t.nodeTyp... method lookupRules (line 1) | lookupRules(t,e){return this.trie.lookupRules(t,e.allProperties())} method pickMostConstraint_ (line 1) | pickMostConstraint_(t,e){const r=Q.default.getInstance().comparator;re... function m (line 1) | function m(t,r){e.MathJax[t+"Reset"]=function(){for(var t=[],e=0;e0} method restoreState (line 1) | restoreState(){if(!this.highlighter)return;const t=m.WalkerState.getSt... method updateFocus (line 1) | updateFocus(){this.setFocus(f.Focus.factory(this.getFocus().getSemanti... method rebuildStree (line 1) | rebuildStree(){this.rebuilt_=new L.RebuildStree(this.getXml()),this.ro... method previousLevel (line 1) | previousLevel(){const t=this.getFocus().getDomPrimary();return t?y.get... method nextLevel (line 1) | nextLevel(){const t=this.getFocus().getDomPrimary();let e,r;if(t){e=y.... method singletonFocus (line 1) | singletonFocus(t){this.getRebuilt();const e=this.retrieveVisuals(t);re... method retrieveVisuals (line 1) | retrieveVisuals(t){if(!this.skeleton)return[t];const e=parseInt(t,10),... method subtreeIds (line 1) | subtreeIds(t,e){const r=H.evalXPath(`//*[@data-semantic-id="${t}"]`,th... method focusFromId (line 1) | focusFromId(t,e){return f.Focus.factory(t,e,this.getRebuilt(),this.node)} method summary (line 1) | summary(){return this.moved=this.isSpeech()?m.WalkerMoves.SUMMARY:m.Wa... method detail (line 1) | detail(){return this.moved=this.isSpeech()?m.WalkerMoves.DETAIL:m.Walk... method specialMove (line 1) | specialMove(){return null} method virtualize (line 1) | virtualize(t){return this.cursors.push({focus:this.getFocus(),levels:t... method previous (line 1) | previous(){const t=this.cursors.pop();return t?(this.levels=t.levels,t... method undo (line 1) | undo(){let t;do{t=this.cursors.pop()}while(t&&!t.undo);return t?(this.... method update (line 1) | update(t){this.generator.setOptions(t),(0,T.setup)(t).then((()=>p.gene... method nextRules (line 1) | nextRules(){const t=this.generator.getOptions();return"speech"!==t.mod... method nextStyle (line 1) | nextStyle(t,e){if("mathspeak"===t){const t=["default","brief","sbrief"... method previousRules (line 1) | previousRules(){const t=this.generator.getOptions();return"speech"!==t... method refocus (line 1) | refocus(){let t,e=this.getFocus();for(;!e.getNodes().length;){t=this.l... method toggleActive_ (line 1) | toggleActive_(){this.active_=!this.active_} method mergePrefix_ (line 1) | mergePrefix_(t,e=[]){const r=this.isSpeech()?this.prefix_():"";r&&t.un... method prefix_ (line 1) | prefix_(){const t=this.getFocus().getDomNodes(),e=this.getFocus().getS... method postfix_ (line 1) | postfix_(){const t=this.getFocus().getDomNodes();return t[0]?y.getAttr... method depth_ (line 1) | depth_(){const t=c.Grammar.getInstance().getParameter("depth");c.Gramm... method actionable_ (line 1) | actionable_(t){const e=null==t?void 0:t.parentNode;return e&&this.high... method summary_ (line 1) | summary_(){const t=this.getFocus().getSemanticPrimary().id.toString(),... method detail_ (line 1) | detail_(){const t=this.getFocus().getSemanticPrimary().id.toString(),e... function b (line 1) | function b(){var r,n,i=e.CONFIG.handler;if(!i||"none"===i||!t.adaptor)re... function v (line 1) | function v(r){return void 0===r&&(r=null),s.document(r||e.CONFIG.documen... function t (line 1) | function t(t){void 0===t&&(t=null),this.document=t} function t (line 1) | function t(t){var e=this.constructor;this.options=(0,n.userOptions)((0,n... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function t (line 1) | function t(t,e){void 0===e&&(e=5),this.documentClass=i,this.adaptor=t,th... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function t (line 1) | function t(t){void 0===t&&(t={}),this.adaptor=null,this.mmlFactory=null;... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function t (line 1) | function t(e,r,n){var o=this,i=this.constructor;this.document=e,this.opt... function t (line 1) | function t(t,r,n,o,i){void 0===n&&(n=!0),void 0===o&&(o={i:0,n:0,delim:"... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function t (line 1) | function t(t,e){this.global=e,this.defaults=Object.create(e),this.inheri... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.docu... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function r (line 1) | function r(e,r,n){void 0===r&&(r={}),void 0===n&&(n=[]);var o=t.call(thi... method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){return null!==t&&t.apply(this,arguments)||this} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function r (line 1) | function r(){return null!==t&&t.apply(this,arguments)||this} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.text... function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.xml=... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e,r,n){var o=t.call(this,e,r,n)||this;return o.texclass=Q.TEX... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.texc... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.texc... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.texc... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.texc... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.texc... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.texc... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._tex... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.texc... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.texc... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._cor... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.texc... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.texc... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.texc... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.prop... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.texc... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.prop... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e){return void 0===e&&(e=null),e||(e=new i.MmlFactory),t.call... function i (line 1) | function i(t,e,r,n){return void 0===r&&(r=o.TEXCLASS.BIN),void 0===n&&(n... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function r (line 1) | function r(){return null!==t&&t.apply(this,arguments)||this} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function t (line 1) | function t(t){void 0===t&&(t={}),this.adaptor=null;var e=this.constructo... function t (line 1) | function t(t){var e,n;void 0===t&&(t=null),this.defaultKind="unknown",th... function n (line 1) | function n(){this.constructor=t} method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function t (line 1) | function t(t,e,r){var n,o;void 0===e&&(e={}),void 0===r&&(r=[]),this.fac... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function t (line 1) | function t(e){var r,o;this.nodeHandlers=new Map;try{for(var i=n(e.getKin... function t (line 1) | function t(t,e){this.factory=t,this.node=e} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e,r,n){var o=this,i=Q((0,a.separateOptions)(n,u.HTMLDomString... function t (line 1) | function t(t){void 0===t&&(t=null);var e=this.constructor;this.options=(... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.docu... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e,r,n,o,i){return void 0===n&&(n=!0),void 0===o&&(o={node:nul... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(r){void 0===r&&(r={});var n=this,o=Q((0,a.separateOptions)(r,... function t (line 1) | function t(t,e,r,n,o,i,Q,T,s,a,l,c,u){void 0===e&&(e={}),void 0===r&&(r=... function t (line 1) | function t(t,e){var r,o,i,Q;void 0===e&&(e=["tex"]),this.initMethod=new ... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e){var r=t.call(this,e)||this;return r.getPatterns(),r} function t (line 1) | function t(){this._configuration=new Q.PrioritizedList,this._fallback=ne... function t (line 1) | function t(){this.map=new Map} function t (line 1) | function t(){this.mmlFactory=null,this.factory={node:t.createNode,token:... function r (line 1) | function r(t,r){var o,i;try{for(var Q=n(Object.keys(r)),T=Q.next();!T.do... method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function Q (line 1) | function Q(t,e,r){t.childNodes[e]=r,r&&(r.parent=t)} method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function a (line 1) | function a(t,e){return t.isKind(e)} method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;nt.toString())).join... method runInSetting (line 1) | runInSetting(t,e){const r=Q.default.getInstance(),n={};for(const e in ... method addStore (line 1) | addStore(t){const e=y(t);"abstract"!==e.kind&&e.getSpeechRules().forEa... method processGrammar (line 1) | processGrammar(t,e,r){const n={};for(const o in r){const i=r[o];n[o]="... method addEvaluator (line 1) | addEvaluator(t){const e=t.evaluateDefault.bind(t),r=this.evaluators_[t... method getEvaluator (line 1) | getEvaluator(t,e){const r=this.evaluators_[t]||this.evaluators_[u.Dyna... method enumerate (line 1) | enumerate(t){return this.trie.enumerate(t)} method evaluateNode_ (line 1) | evaluateNode_(t){return t?(this.updateConstraint_(),this.evaluateTree_... method evaluateTree_ (line 1) | evaluateTree_(t){const e=Q.default.getInstance();let r;o.Debugger.getI... method evaluateNodeList_ (line 1) | evaluateNodeList_(t,e,r,o,i,Q){if(!e.length)return[];const T=o||"",s=Q... method addLayout (line 1) | addLayout(t,e,r){const o=e.layout;o&&(o.match(/^begin/)?t.unshift(new ... method addPersonality_ (line 1) | addPersonality_(t,e,r,o){const i={};let Q=null;for(const t of T.person... method addExternalAttributes_ (line 1) | addExternalAttributes_(t,e){if(e.hasAttributes()){const r=e.attributes... method addRelativePersonality_ (line 1) | addRelativePersonality_(t,e){if(!t.personality)return t.personality=e,... method updateConstraint_ (line 1) | updateConstraint_(){const t=Q.default.getInstance().dynamicCstr,e=Q.de... method makeSet_ (line 1) | makeSet_(t,e){return e&&Object.keys(e).length?t.split(":"):[t]} method lookupRule (line 1) | lookupRule(t,e){if(!t||t.nodeType!==i.NodeType.ELEMENT_NODE&&t.nodeTyp... method lookupRules (line 1) | lookupRules(t,e){return this.trie.lookupRules(t,e.allProperties())} method pickMostConstraint_ (line 1) | pickMostConstraint_(t,e){const r=Q.default.getInstance().comparator;re... function m (line 1) | function m(t,e,r){if(r.match(/^[a-z]/i)&&e.match(/(^|[^\\])(\\\\)*\\[a-z... function y (line 1) | function y(t,e){for(;e>0;)t=t.trim().slice(1,-1),e--;return t.trim()} function H (line 1) | function H(t,e){for(var r=t.length,n=0,o="",i=0,Q=0,T=!0,s=!1;i!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function t (line 1) | function t(t){this._nodes=t} function e (line 1) | function e(e){for(var r=[],n=1;n!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.defa... function t (line 1) | function t(t,e,r){this._symbol=t,this._char=e,this._attributes=r} function t (line 1) | function t(t,e,r){void 0===r&&(r=[]),this._symbol=t,this._func=e,this._a... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function l (line 1) | function l(t){return void 0===t||t} method constructor (line 1) | constructor(){super("",(()=>!0)),this.kind=a.TrieNodeKind.ROOT} method constructor (line 1) | constructor(t){super(t),this.name="RuleError"} function t (line 1) | function t(t,e){this._name=t,this._parser=e,a.MapHandler.register(this)} function e (line 1) | function e(e,r,n){var o=t.call(this,e,r)||this;return o._regExp=n,o} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.map=... function e (line 1) | function e(e,r,n){var o,T,a=t.call(this,e,r)||this;try{for(var l=Q(Objec... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(e,r,n){var o,T,a=t.call(this,e,null)||this;try{for(var l=Q(Ob... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(e,r,n,o){var i=t.call(this,e,n,o)||this;return i.parser=r,i} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function t (line 1) | function t(){this.counter=0,this.allCounter=0,this.configuration=null,th... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function t (line 1) | function t(e,r){for(var n=[],o=2;o!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e){for(var r=[],n=1;ne===t)),this.kind=a.TrieNodeKind.DYNAMIC} method constructor (line 1) | constructor(t,e){super(t,e),this.preference=t instanceof a?t.preferenc... method match (line 1) | match(t){if(!(t instanceof a))return super.match(t);if("default"===t.g... method compare (line 1) | compare(t,e){const r=super.compare(t,e);if(0!==r)return r;const n=t in... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function y (line 1) | function y(t,e){var r=t.stack.env.font?{mathvariant:t.stack.env.font}:{}... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e,r){var n=t.call(this,e)||this;return n.global=r,n} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(e){var r=t.call(this,e)||this;return r.setProperty("name","\\... function e (line 1) | function e(e,r){var n=t.call(this,e)||this;return n.setProperty("delim",... function e (line 1) | function e(e,r,n){var o=t.call(this,e)||this;return o.setProperty("delim... function e (line 1) | function e(e,r,n){var o=t.call(this,e)||this;return o.setProperty("delim... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.rema... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.tabl... function e (line 1) | function e(e){for(var r=[],n=1;n!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(t,e){return t.string.substr(t.i,e.length)!==e||e.match(/\\[a-... function f (line 1) | function f(t,e){var r,o=t.parseOptions.options.require,i=t.parseOptions.... function L (line 1) | function L(t,e){var r=t.options.require,n=r.allow,o=("["===e.substr(0,1)... method constructor (line 1) | constructor(){this.trie=null,this.evaluators_={},this.trie=new f.Trie} method getInstance (line 1) | static getInstance(){return L.instance=L.instance||new L,L.instance} method debugSpeechRule (line 1) | static debugSpeechRule(t,e){const r=t.precondition,n=t.context.applyQu... method debugNamedSpeechRule (line 1) | static debugNamedSpeechRule(t,e){const r=L.getInstance().trie.collectR... method evaluateNode (line 1) | evaluateNode(t){(0,s.updateEvaluator)(t);const e=(new Date).getTime();... method toString (line 1) | toString(){return this.trie.collectRules().map((t=>t.toString())).join... method runInSetting (line 1) | runInSetting(t,e){const r=Q.default.getInstance(),n={};for(const e in ... method addStore (line 1) | addStore(t){const e=y(t);"abstract"!==e.kind&&e.getSpeechRules().forEa... method processGrammar (line 1) | processGrammar(t,e,r){const n={};for(const o in r){const i=r[o];n[o]="... method addEvaluator (line 1) | addEvaluator(t){const e=t.evaluateDefault.bind(t),r=this.evaluators_[t... method getEvaluator (line 1) | getEvaluator(t,e){const r=this.evaluators_[t]||this.evaluators_[u.Dyna... method enumerate (line 1) | enumerate(t){return this.trie.enumerate(t)} method evaluateNode_ (line 1) | evaluateNode_(t){return t?(this.updateConstraint_(),this.evaluateTree_... method evaluateTree_ (line 1) | evaluateTree_(t){const e=Q.default.getInstance();let r;o.Debugger.getI... method evaluateNodeList_ (line 1) | evaluateNodeList_(t,e,r,o,i,Q){if(!e.length)return[];const T=o||"",s=Q... method addLayout (line 1) | addLayout(t,e,r){const o=e.layout;o&&(o.match(/^begin/)?t.unshift(new ... method addPersonality_ (line 1) | addPersonality_(t,e,r,o){const i={};let Q=null;for(const t of T.person... method addExternalAttributes_ (line 1) | addExternalAttributes_(t,e){if(e.hasAttributes()){const r=e.attributes... method addRelativePersonality_ (line 1) | addRelativePersonality_(t,e){if(!t.personality)return t.personality=e,... method updateConstraint_ (line 1) | updateConstraint_(){const t=Q.default.getInstance().dynamicCstr,e=Q.de... method makeSet_ (line 1) | makeSet_(t,e){return e&&Object.keys(e).length?t.split(":"):[t]} method lookupRule (line 1) | lookupRule(t,e){if(!t||t.nodeType!==i.NodeType.ELEMENT_NODE&&t.nodeTyp... method lookupRules (line 1) | lookupRules(t,e){return this.trie.lookupRules(t,e.allProperties())} method pickMostConstraint_ (line 1) | pickMostConstraint_(t,e){const r=Q.default.getInstance().comparator;re... function t (line 1) | function t(t){var e,r,s,a;void 0===t&&(t=null),this.variant={},this.deli... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e,r,n){void 0===e&&(e=null),void 0===r&&(r=null),void 0===n&&... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function y (line 1) | function y(t,e){return t?e!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.jax=... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function n (line 1) | function n(){this.constructor=t} method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function r (line 1) | function r(){for(var e=[],r=0;r!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function n (line 1) | function n(){this.constructor=t} method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){for(var e=[],r=0;rt.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){for(var e=[],r=0;rt.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){for(var e=[],r=0;rt.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){for(var e=[],r=0;rt.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function r (line 1) | function r(){for(var e=[],r=0;r!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function n (line 1) | function n(){this.constructor=t} method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){for(var e=[],r=0;rt.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function n (line 1) | function n(){this.constructor=t} method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){for(var e,r,n=[],o=0;ot.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){for(var e=[],r=0;rt.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){for(var e=[],r=0;rt.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.UVQ=... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){for(var e=[],r=0;rt.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function n (line 1) | function n(){this.constructor=t} method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function n (line 1) | function n(){this.constructor=t} method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function n (line 1) | function n(){this.constructor=t} method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){for(var e=[],r=0;r!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){for(var e=[],r=0;rt.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function n (line 1) | function n(){this.constructor=t} method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function r (line 1) | function r(e){void 0===e&&(e=null);var r=t.call(this,e,s.SVGWrapperFacto... method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function t (line 1) | function t(t){this.cache=new Map,this.defs=null,this.localID="",this.nex... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.elem... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.jax=... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function l (line 1) | function l(t){return{left:function(t,e){return 0},center:function(t,e){r... method constructor (line 1) | constructor(){super("",(()=>!0)),this.kind=a.TrieNodeKind.ROOT} method constructor (line 1) | constructor(t){super(t),this.name="RuleError"} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dx=0,e} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e,r,n){void 0===n&&(n=null);var o=t.call(this,e,r,n)||this,i=... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e){var r,n;void 0===e&&(e=null);var o=t.call(this,e)||this,Q=... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.math... function t (line 1) | function t(t,e){void 0===e&&(e={});var r=this;this.settings=null,this.de... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function p (line 1) | function p(t){return function(t){function e(){return null!==t&&t.apply(t... function h (line 1) | function h(t){var e;return e=function(t){function e(){for(var e=[],r=0;r... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyQuery(t,t... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.opti... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function t (line 1) | function t(t){void 0===t&&(t={w:0,h:-n.BIGDIMEN,d:-n.BIGDIMEN}),this.w=t... function n (line 1) | function n(){this.constructor=t} method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function t (line 1) | function t(){this.bits=0} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function Q (line 1) | function Q(t,r){if("#"===r.charAt(0))return T(r.slice(1));if(e.entities[... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function T (line 1) | function T(t){var e="x"===t.charAt(0)?parseInt(t.slice(1),16):parseInt(t... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function T (line 1) | function T(i){return function(T){return function(i){if(r)throw new TypeE... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... function t (line 1) | function t(){for(var t=[],r=0;r"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function s (line 1) | function s(t){return Object.assign(Object.create(T.prototype),t)} method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... function a (line 1) | function a(t){return t?Object.keys(t).concat(Object.getOwnPropertySymbol... method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;n!0)),this.kind=a.TrieNodeKind.ROOT} method constructor (line 1) | constructor(t){super(t),this.name="RuleError"} function c (line 1) | function c(t,i,s){var u,p;void 0===s&&(s=!0);var h=function(r){if(s&&voi... method constructor (line 1) | constructor(t){super(t),this.fenced=null,this.fencedMml=null,this.fenc... method test (line 1) | static test(t){return!(!t.mathmlTree||!t.fencePointer||t.mathmlTree.ge... method makeEmptyNode_ (line 1) | static makeEmptyNode_(t){const e=n.createElement("mrow"),r=new o.Seman... method fencedMap_ (line 1) | static fencedMap_(t,e){e[t.id]=t.mathmlTree,t.embellished&&c.fencedMap... method getMathml (line 1) | getMathml(){this.getFenced_(),this.fencedMml=a.walkTree(this.fenced),t... method fencedElement (line 1) | fencedElement(t){return"fenced"===t.type||"matrix"===t.type||"vector"=... method getFenced_ (line 1) | getFenced_(){let t=this.semantic;for(;!this.fencedElement(t);)t=t.chil... method getFencedMml_ (line 1) | getFencedMml_(){let t=this.ofenceMml.nextSibling;for(t=t===this.fenced... method getFencesMml_ (line 1) | getFencesMml_(){let t=this.semantic;const e=Object.keys(this.ofenceMap... method rewrite_ (line 1) | rewrite_(){let t=this.semantic,e=null;const r=this.introduceNewLayer_(... method specialCase_ (line 1) | specialCase_(t,e){const r=n.tagName(e);let o,i=null;if("MSUBSUP"===r?(... method introduceNewLayer_ (line 1) | introduceNewLayer_(){const t=this.fullFence(this.ofenceMml),e=this.ful... method fullFence (line 1) | fullFence(t){const e=this.fencedMml.parentNode;let r=t;for(;r.parentNo... method cleanupParents_ (line 1) | cleanupParents_(){this.parentCleanup.forEach((function(t){const e=t.ch... method constructor (line 1) | constructor(t){super(t,(e=>e===t)),this.kind=a.TrieNodeKind.DYNAMIC} method constructor (line 1) | constructor(t,e){super(t,e),this.preference=t instanceof a?t.preferenc... method match (line 1) | match(t){if(!(t instanceof a))return super.match(t);if("default"===t.g... method compare (line 1) | compare(t,e){const r=super.compare(t,e);if(0!==r)return r;const n=t in... function u (line 1) | function u(t){for(var e,n,o=[],i=1;i{const r=this.nodeDict[t[0]];r.childN... method setParent (line 1) | setParent(t,e){const r=c.getBySemanticId(this.mathml,t),n=this.assembl... function t (line 1) | function t(){this.items=[],this.items=[]} function t (line 1) | function t(t){void 0===t&&(t=null),this.styles={},this.addStyles(t)} function T (line 1) | function T(t){for(var e=t.split(/((?:'[^']*'|"[^"]*"|,[\s\n]|[^\s\n])*)/... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... function s (line 1) | function s(t){var e,n,o=T(this.styles[t]);0===o.length&&o.push(""),1===o... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... function a (line 1) | function a(t){var e,n,o=y.connect[t].children,i=[];try{for(var Q=r(o),T=... method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;n!0)),this.kind=a.TrieNodeKind.ROOT} method constructor (line 1) | constructor(t){super(t),this.name="RuleError"} function c (line 1) | function c(t){var e,i,Q=o([],n(y.connect[t].children),!1),T=this.styles[... method constructor (line 1) | constructor(t){super(t),this.fenced=null,this.fencedMml=null,this.fenc... method test (line 1) | static test(t){return!(!t.mathmlTree||!t.fencePointer||t.mathmlTree.ge... method makeEmptyNode_ (line 1) | static makeEmptyNode_(t){const e=n.createElement("mrow"),r=new o.Seman... method fencedMap_ (line 1) | static fencedMap_(t,e){e[t.id]=t.mathmlTree,t.embellished&&c.fencedMap... method getMathml (line 1) | getMathml(){this.getFenced_(),this.fencedMml=a.walkTree(this.fenced),t... method fencedElement (line 1) | fencedElement(t){return"fenced"===t.type||"matrix"===t.type||"vector"=... method getFenced_ (line 1) | getFenced_(){let t=this.semantic;for(;!this.fencedElement(t);)t=t.chil... method getFencedMml_ (line 1) | getFencedMml_(){let t=this.ofenceMml.nextSibling;for(t=t===this.fenced... method getFencesMml_ (line 1) | getFencesMml_(){let t=this.semantic;const e=Object.keys(this.ofenceMap... method rewrite_ (line 1) | rewrite_(){let t=this.semantic,e=null;const r=this.introduceNewLayer_(... method specialCase_ (line 1) | specialCase_(t,e){const r=n.tagName(e);let o,i=null;if("MSUBSUP"===r?(... method introduceNewLayer_ (line 1) | introduceNewLayer_(){const t=this.fullFence(this.ofenceMml),e=this.ful... method fullFence (line 1) | fullFence(t){const e=this.fencedMml.parentNode;let r=t;for(;r.parentNo... method cleanupParents_ (line 1) | cleanupParents_(){this.parentCleanup.forEach((function(t){const e=t.ch... method constructor (line 1) | constructor(t){super(t,(e=>e===t)),this.kind=a.TrieNodeKind.DYNAMIC} method constructor (line 1) | constructor(t,e){super(t,e),this.preference=t instanceof a?t.preferenc... method match (line 1) | match(t){if(!(t instanceof a))return super.match(t);if("default"===t.g... method compare (line 1) | compare(t,e){const r=super.compare(t,e);if(0!==r)return r;const n=t in... function h (line 1) | function h(t){var e,n,o,i,Q={width:"",style:"",color:""};try{for(var s=r... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyQuery(t,t... function d (line 1) | function d(t){var e,n,o=[];try{for(var i=r(y.connect[t].children),Q=i.ne... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyConstrain... function L (line 1) | function L(t){var e,o,i,Q,s=T(this.styles[t]),a={style:"",variant:[],wei... method constructor (line 1) | constructor(){this.trie=null,this.evaluators_={},this.trie=new f.Trie} method getInstance (line 1) | static getInstance(){return L.instance=L.instance||new L,L.instance} method debugSpeechRule (line 1) | static debugSpeechRule(t,e){const r=t.precondition,n=t.context.applyQu... method debugNamedSpeechRule (line 1) | static debugNamedSpeechRule(t,e){const r=L.getInstance().trie.collectR... method evaluateNode (line 1) | evaluateNode(t){(0,s.updateEvaluator)(t);const e=(new Date).getTime();... method toString (line 1) | toString(){return this.trie.collectRules().map((t=>t.toString())).join... method runInSetting (line 1) | runInSetting(t,e){const r=Q.default.getInstance(),n={};for(const e in ... method addStore (line 1) | addStore(t){const e=y(t);"abstract"!==e.kind&&e.getSpeechRules().forEa... method processGrammar (line 1) | processGrammar(t,e,r){const n={};for(const o in r){const i=r[o];n[o]="... method addEvaluator (line 1) | addEvaluator(t){const e=t.evaluateDefault.bind(t),r=this.evaluators_[t... method getEvaluator (line 1) | getEvaluator(t,e){const r=this.evaluators_[t]||this.evaluators_[u.Dyna... method enumerate (line 1) | enumerate(t){return this.trie.enumerate(t)} method evaluateNode_ (line 1) | evaluateNode_(t){return t?(this.updateConstraint_(),this.evaluateTree_... method evaluateTree_ (line 1) | evaluateTree_(t){const e=Q.default.getInstance();let r;o.Debugger.getI... method evaluateNodeList_ (line 1) | evaluateNodeList_(t,e,r,o,i,Q){if(!e.length)return[];const T=o||"",s=Q... method addLayout (line 1) | addLayout(t,e,r){const o=e.layout;o&&(o.match(/^begin/)?t.unshift(new ... method addPersonality_ (line 1) | addPersonality_(t,e,r,o){const i={};let Q=null;for(const t of T.person... method addExternalAttributes_ (line 1) | addExternalAttributes_(t,e){if(e.hasAttributes()){const r=e.attributes... method addRelativePersonality_ (line 1) | addRelativePersonality_(t,e){if(!t.personality)return t.personality=e,... method updateConstraint_ (line 1) | updateConstraint_(){const t=Q.default.getInstance().dynamicCstr,e=Q.de... method makeSet_ (line 1) | makeSet_(t,e){return e&&Object.keys(e).length?t.split(":"):[t]} method lookupRule (line 1) | lookupRule(t,e){if(!t||t.nodeType!==i.NodeType.ELEMENT_NODE&&t.nodeTyp... method lookupRules (line 1) | lookupRules(t,e){return this.trie.lookupRules(t,e.allProperties())} method pickMostConstraint_ (line 1) | pickMostConstraint_(t,e){const r=Q.default.getInstance().comparator;re... function m (line 1) | function m(t){} function t (line 1) | function t(t){void 0===t&&(t=""),this.parse(t)} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e,r){var n=t.call(this)||this;return n._menu=e,n._type=r,n.cl... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e,r,n,o){var i=t.call(this,e,r)||this;return i._content=n,i.d... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.clas... function t (line 1) | function t(){this.bubble=!1} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.post... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e){var r=t.call(this)||this;return r.element=e,r.className=Q.... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e){var r=t.call(this)||this;return r.factory=e,r.id="",r.movi... function e (line 1) | function e(t){return"."+(n.HtmlClasses[t]||t)} function a (line 1) | function a(t){s||(l(i,t),s=!0)} method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;n!0)),this.kind=a.TrieNodeKind.ROOT} method constructor (line 1) | constructor(t){super(t),this.name="RuleError"} function r (line 1) | function r(t){return"CtxtMenu_"+t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function n (line 1) | function n(t){return r(t)} method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function o (line 1) | function o(t){return r(t)} method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e,r,n){var o=t.call(this)||this;return o.title=e,o.signature=... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e,r,n,o){var i=t.call(this,e,"checkbox",r,o)||this;return i.r... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e,r,n,o){var i=t.call(this,e,"combobox",r,o)||this;return i.r... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e,r,n,o){var i=t.call(this,e,"command",r,o)||this;return i.co... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e,r,n){return t.call(this,e,"label",r,n)||this} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e,r,n,o){var i=t.call(this,e,"radio",r,o)||this;return i.role... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e){var r=t.call(this,e,"rule")||this;return r.className=Q.Htm... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e,r,n,o){var i=t.call(this,e,"slider",r,o)||this;return i.rol... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e,r,n){var o=t.call(this,e,"submenu",r,n)||this;return o._sub... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(){return null!==t&&t.apply(this,arguments)||this} function t (line 1) | function t(t){this.menu=t,this.store=[],this._active=null,this.counter=0... function t (line 1) | function t(t){var e=this;void 0===t&&(t=[]),this._initList=[["command",T... function t (line 1) | function t(t){this._parser=new Map(t)} function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e){var r=t.call(this)||this;return r.anchor=e,r.className=T.H... function e (line 1) | function e(e,r,n,o){void 0===n&&(n="none"),void 0===o&&(o="vertical");va... function r (line 1) | function r(){this.constructor=t} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function e (line 1) | function e(e){var r=t.call(this)||this;return r._anchor=e,r.variablePool... function t (line 1) | function t(t,e,r){this._name=t,this.getter=e,this.setter=r,this.items=[]} function t (line 1) | function t(){this.pool={}} method constructor (line 1) | constructor(){this.separator_=" "} method setSeparator (line 1) | setSeparator(t){this.separator_=t} method getSeparator (line 1) | getSeparator(){return"braille"===n.default.getInstance().modality?"":thi... method error (line 1) | error(t){return null} method merge (line 1) | merge(t){let e="";const r=t.length-1;for(let n,o=0;n=t[o];o++)if(e+=n.sp... method finalize (line 1) | finalize(t){return t} method pauseValue (line 1) | pauseValue(t){let e;switch(t){case"long":e=750;break;case"medium":e=500;... class T (line 1) | class T extends Q.MarkupRenderer{markup(t){this.setScaleFunction(-2,2,0,... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... function Q (line 1) | function Q(t,e,r){return(r||function(r,n){return"number"==typeof r&&"num... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function a (line 1) | function a(t,e){const r=t[t.length-1];if(r){if(p(e)&&p(r)){if(void 0===r... method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;n!0)),this.kind=a.TrieNodeKind.ROOT} method constructor (line 1) | constructor(t){super(t),this.name="RuleError"} function c (line 1) | function c(t){return"object"==typeof t&&t.open} method constructor (line 1) | constructor(t){super(t),this.fenced=null,this.fencedMml=null,this.fenc... method test (line 1) | static test(t){return!(!t.mathmlTree||!t.fencePointer||t.mathmlTree.ge... method makeEmptyNode_ (line 1) | static makeEmptyNode_(t){const e=n.createElement("mrow"),r=new o.Seman... method fencedMap_ (line 1) | static fencedMap_(t,e){e[t.id]=t.mathmlTree,t.embellished&&c.fencedMap... method getMathml (line 1) | getMathml(){this.getFenced_(),this.fencedMml=a.walkTree(this.fenced),t... method fencedElement (line 1) | fencedElement(t){return"fenced"===t.type||"matrix"===t.type||"vector"=... method getFenced_ (line 1) | getFenced_(){let t=this.semantic;for(;!this.fencedElement(t);)t=t.chil... method getFencedMml_ (line 1) | getFencedMml_(){let t=this.ofenceMml.nextSibling;for(t=t===this.fenced... method getFencesMml_ (line 1) | getFencesMml_(){let t=this.semantic;const e=Object.keys(this.ofenceMap... method rewrite_ (line 1) | rewrite_(){let t=this.semantic,e=null;const r=this.introduceNewLayer_(... method specialCase_ (line 1) | specialCase_(t,e){const r=n.tagName(e);let o,i=null;if("MSUBSUP"===r?(... method introduceNewLayer_ (line 1) | introduceNewLayer_(){const t=this.fullFence(this.ofenceMml),e=this.ful... method fullFence (line 1) | fullFence(t){const e=this.fencedMml.parentNode;let r=t;for(;r.parentNo... method cleanupParents_ (line 1) | cleanupParents_(){this.parentCleanup.forEach((function(t){const e=t.ch... method constructor (line 1) | constructor(t){super(t,(e=>e===t)),this.kind=a.TrieNodeKind.DYNAMIC} method constructor (line 1) | constructor(t,e){super(t,e),this.preference=t instanceof a?t.preferenc... method match (line 1) | match(t){if(!(t instanceof a))return super.match(t);if("default"===t.g... method compare (line 1) | compare(t,e){const r=super.compare(t,e);if(0!==r)return r;const n=t in... function u (line 1) | function u(t){return"object"==typeof t&&1===Object.keys(t).length&&Objec... method constructor (line 1) | constructor(){super([Q.Axis.LOCALE,Q.Axis.MODALITY,Q.Axis.DOMAIN,Q.Axi... method parse (line 1) | parse(t){const e=super.parse(t);let r=e.getValue(Q.Axis.STYLE);const n... method fromPreference (line 1) | fromPreference(t){return a.fromPreference(t)} method toPreference (line 1) | toPreference(t){return a.toPreference(t)} method constructor (line 1) | constructor(t){this.mathml=t,this.factory=new Q.SemanticNodeFactory,th... method addAttributes (line 1) | static addAttributes(t,e,r){r&&1===e.childNodes.length&&e.childNodes[0... method textContent (line 1) | static textContent(t,e,r){if(!r&&e.textContent)return void(t.textConte... method isPunctuated (line 1) | static isPunctuated(t){return!s.SemanticSkeleton.simpleCollapseStructu... method getTree (line 1) | getTree(){return this.stree} method assembleTree (line 1) | assembleTree(t){const e=this.makeNode(t),r=c.splitAttribute(c.getAttri... method makeNode (line 1) | makeNode(t){const e=c.getAttribute(t,o.Attribute.TYPE),r=c.getAttribut... method makePunctuation (line 1) | makePunctuation(t){const e=this.createNode(t);return e.updateContent((... method makePunctuated (line 1) | makePunctuated(t,e,r){const n=this.createNode(e[0]);n.type="punctuated... method makeEmpty (line 1) | makeEmpty(t,e,r){const n=this.createNode(e);n.type="empty",n.embellish... method makeIndex (line 1) | makeIndex(t,e,r){if(u.isPunctuated(e))return this.makePunctuated(t,e,r... method postProcess (line 1) | postProcess(t,e){const r=s.SemanticSkeleton.fromString(e).array;if("su... method createNode (line 1) | createNode(t){const e=this.factory.makeNode(t);return this.nodeDict[t.... method collapsedChildren_ (line 1) | collapsedChildren_(t){const e=t=>{const r=this.nodeDict[t[0]];r.childN... method setParent (line 1) | setParent(t,e){const r=c.getBySemanticId(this.mathml,t),n=this.assembl... function p (line 1) | function p(t){const e=Object.keys(t);return"object"==typeof t&&(1===e.le... function h (line 1) | function h(t,e,r,n,T,s=!1){if(s){const s=t[t.length-1];let a;if(s&&(a=s[... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyQuery(t,t... function d (line 1) | function d(t,e){if(!e)return t;const r={};for(const n of o.personalityPr... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyConstrain... class i (line 1) | class i{constructor({context:t,text:e,userValue:r,annotation:n,attribute... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... class s (line 1) | class s extends T.XmlRenderer{finalize(t){return function(t){a="";const ... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... function c (line 1) | function c(t){const e=o.tagName(t),r=l[e];return r?r(t):t.textContent} method constructor (line 1) | constructor(t){super(t),this.fenced=null,this.fencedMml=null,this.fenc... method test (line 1) | static test(t){return!(!t.mathmlTree||!t.fencePointer||t.mathmlTree.ge... method makeEmptyNode_ (line 1) | static makeEmptyNode_(t){const e=n.createElement("mrow"),r=new o.Seman... method fencedMap_ (line 1) | static fencedMap_(t,e){e[t.id]=t.mathmlTree,t.embellished&&c.fencedMap... method getMathml (line 1) | getMathml(){this.getFenced_(),this.fencedMml=a.walkTree(this.fenced),t... method fencedElement (line 1) | fencedElement(t){return"fenced"===t.type||"matrix"===t.type||"vector"=... method getFenced_ (line 1) | getFenced_(){let t=this.semantic;for(;!this.fencedElement(t);)t=t.chil... method getFencedMml_ (line 1) | getFencedMml_(){let t=this.ofenceMml.nextSibling;for(t=t===this.fenced... method getFencesMml_ (line 1) | getFencesMml_(){let t=this.semantic;const e=Object.keys(this.ofenceMap... method rewrite_ (line 1) | rewrite_(){let t=this.semantic,e=null;const r=this.introduceNewLayer_(... method specialCase_ (line 1) | specialCase_(t,e){const r=n.tagName(e);let o,i=null;if("MSUBSUP"===r?(... method introduceNewLayer_ (line 1) | introduceNewLayer_(){const t=this.fullFence(this.ofenceMml),e=this.ful... method fullFence (line 1) | fullFence(t){const e=this.fencedMml.parentNode;let r=t;for(;r.parentNo... method cleanupParents_ (line 1) | cleanupParents_(){this.parentCleanup.forEach((function(t){const e=t.ch... method constructor (line 1) | constructor(t){super(t,(e=>e===t)),this.kind=a.TrieNodeKind.DYNAMIC} method constructor (line 1) | constructor(t,e){super(t,e),this.preference=t instanceof a?t.preferenc... method match (line 1) | match(t){if(!(t instanceof a))return super.match(t);if("default"===t.g... method compare (line 1) | compare(t,e){const r=super.compare(t,e);if(0!==r)return r;const n=t in... function u (line 1) | function u(t,e){if(!t||!e)return t+e;const r=h(t),n=h(e),o=r-n;t=o<0?f(t... method constructor (line 1) | constructor(){super([Q.Axis.LOCALE,Q.Axis.MODALITY,Q.Axis.DOMAIN,Q.Axi... method parse (line 1) | parse(t){const e=super.parse(t);let r=e.getValue(Q.Axis.STYLE);const n... method fromPreference (line 1) | fromPreference(t){return a.fromPreference(t)} method toPreference (line 1) | toPreference(t){return a.toPreference(t)} method constructor (line 1) | constructor(t){this.mathml=t,this.factory=new Q.SemanticNodeFactory,th... method addAttributes (line 1) | static addAttributes(t,e,r){r&&1===e.childNodes.length&&e.childNodes[0... method textContent (line 1) | static textContent(t,e,r){if(!r&&e.textContent)return void(t.textConte... method isPunctuated (line 1) | static isPunctuated(t){return!s.SemanticSkeleton.simpleCollapseStructu... method getTree (line 1) | getTree(){return this.stree} method assembleTree (line 1) | assembleTree(t){const e=this.makeNode(t),r=c.splitAttribute(c.getAttri... method makeNode (line 1) | makeNode(t){const e=c.getAttribute(t,o.Attribute.TYPE),r=c.getAttribut... method makePunctuation (line 1) | makePunctuation(t){const e=this.createNode(t);return e.updateContent((... method makePunctuated (line 1) | makePunctuated(t,e,r){const n=this.createNode(e[0]);n.type="punctuated... method makeEmpty (line 1) | makeEmpty(t,e,r){const n=this.createNode(e);n.type="empty",n.embellish... method makeIndex (line 1) | makeIndex(t,e,r){if(u.isPunctuated(e))return this.makePunctuated(t,e,r... method postProcess (line 1) | postProcess(t,e){const r=s.SemanticSkeleton.fromString(e).array;if("su... method createNode (line 1) | createNode(t){const e=this.factory.makeNode(t);return this.nodeDict[t.... method collapsedChildren_ (line 1) | collapsedChildren_(t){const e=t=>{const r=this.nodeDict[t[0]];r.childN... method setParent (line 1) | setParent(t,e){const r=c.getBySemanticId(this.mathml,t),n=this.assembl... function p (line 1) | function p(t){let e="";for(const r of Array.from(t.childNodes))e=r.nodeT... function h (line 1) | function h(t){return t.split(/\r\n|\r|\n/).length} method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyQuery(t,t... function d (line 1) | function d(t){return t.split(/\r\n|\r|\n/).reduce(((t,e)=>Math.max(e.len... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyConstrain... function f (line 1) | function f(t,e,r){return t=function(t,e){const r=e-h(t);return t+(r>0?ne... function L (line 1) | function L(t){const e=Array.from(t.childNodes),r=[];for(const t of e)t.n... method constructor (line 1) | constructor(){this.trie=null,this.evaluators_={},this.trie=new f.Trie} method getInstance (line 1) | static getInstance(){return L.instance=L.instance||new L,L.instance} method debugSpeechRule (line 1) | static debugSpeechRule(t,e){const r=t.precondition,n=t.context.applyQu... method debugNamedSpeechRule (line 1) | static debugNamedSpeechRule(t,e){const r=L.getInstance().trie.collectR... method evaluateNode (line 1) | evaluateNode(t){(0,s.updateEvaluator)(t);const e=(new Date).getTime();... method toString (line 1) | toString(){return this.trie.collectRules().map((t=>t.toString())).join... method runInSetting (line 1) | runInSetting(t,e){const r=Q.default.getInstance(),n={};for(const e in ... method addStore (line 1) | addStore(t){const e=y(t);"abstract"!==e.kind&&e.getSpeechRules().forEa... method processGrammar (line 1) | processGrammar(t,e,r){const n={};for(const o in r){const i=r[o];n[o]="... method addEvaluator (line 1) | addEvaluator(t){const e=t.evaluateDefault.bind(t),r=this.evaluators_[t... method getEvaluator (line 1) | getEvaluator(t,e){const r=this.evaluators_[t]||this.evaluators_[u.Dyna... method enumerate (line 1) | enumerate(t){return this.trie.enumerate(t)} method evaluateNode_ (line 1) | evaluateNode_(t){return t?(this.updateConstraint_(),this.evaluateTree_... method evaluateTree_ (line 1) | evaluateTree_(t){const e=Q.default.getInstance();let r;o.Debugger.getI... method evaluateNodeList_ (line 1) | evaluateNodeList_(t,e,r,o,i,Q){if(!e.length)return[];const T=o||"",s=Q... method addLayout (line 1) | addLayout(t,e,r){const o=e.layout;o&&(o.match(/^begin/)?t.unshift(new ... method addPersonality_ (line 1) | addPersonality_(t,e,r,o){const i={};let Q=null;for(const t of T.person... method addExternalAttributes_ (line 1) | addExternalAttributes_(t,e){if(e.hasAttributes()){const r=e.attributes... method addRelativePersonality_ (line 1) | addRelativePersonality_(t,e){if(!t.personality)return t.personality=e,... method updateConstraint_ (line 1) | updateConstraint_(){const t=Q.default.getInstance().dynamicCstr,e=Q.de... method makeSet_ (line 1) | makeSet_(t,e){return e&&Object.keys(e).length?t.split(":"):[t]} method lookupRule (line 1) | lookupRule(t,e){if(!t||t.nodeType!==i.NodeType.ELEMENT_NODE&&t.nodeTyp... method lookupRules (line 1) | lookupRules(t,e){return this.trie.lookupRules(t,e.allProperties())} method pickMostConstraint_ (line 1) | pickMostConstraint_(t,e){const r=Q.default.getInstance().comparator;re... function m (line 1) | function m(t){const e=t.reduce(((t,e)=>Math.max(e.height,t)),0),r=[];for... function y (line 1) | function y(t,e){const r=[];for(const n of t){if(0===n.height)continue;co... function H (line 1) | function H(t,e){if(1===e)return t.map((t=>t.lfence+t.cells.join(t.sep)+t... function g (line 1) | function g(t,e){let r="";for(;e;)r+=t+"\n",e--;return r.slice(0,-1)} method constructor (line 1) | constructor(t,e,r,n){this.node=t,this.generator=e,this.highlighter=r,t... method getXml (line 1) | getXml(){return this.xml_||(this.xml_=i.parseInput(this.xmlString_)),t... method getRebuilt (line 1) | getRebuilt(){return this.rebuilt_||this.rebuildStree(),this.rebuilt_} method isActive (line 1) | isActive(){return this.active_} method activate (line 1) | activate(){this.isActive()||(this.generator.start(),this.toggleActive_... method deactivate (line 1) | deactivate(){this.isActive()&&(m.WalkerState.setState(this.id,this.pri... method getFocus (line 1) | getFocus(t=!1){return this.focus_||(this.focus_=this.singletonFocus(th... method setFocus (line 1) | setFocus(t){this.focus_=t} method getDepth (line 1) | getDepth(){return this.levels.depth()-1} method isSpeech (line 1) | isSpeech(){return this.generator.modality===a.Attribute.SPEECH} method focusDomNodes (line 1) | focusDomNodes(){return this.getFocus().getDomNodes()} method focusSemanticNodes (line 1) | focusSemanticNodes(){return this.getFocus().getSemanticNodes()} method speech (line 1) | speech(){const t=this.focusDomNodes();if(!t.length)return"";const e=th... method move (line 1) | move(t){const e=this.keyMapping.get(t);if(!e)return null;const r=e();r... method up (line 1) | up(){return this.moved=m.WalkerMoves.UP,this.getFocus()} method down (line 1) | down(){return this.moved=m.WalkerMoves.DOWN,this.getFocus()} method left (line 1) | left(){return this.moved=m.WalkerMoves.LEFT,this.getFocus()} method right (line 1) | right(){return this.moved=m.WalkerMoves.RIGHT,this.getFocus()} method repeat (line 1) | repeat(){return this.moved=m.WalkerMoves.REPEAT,this.getFocus().clone()} method depth (line 1) | depth(){return this.moved=this.isSpeech()?m.WalkerMoves.DEPTH:m.Walker... method home (line 1) | home(){this.moved=m.WalkerMoves.HOME;return this.singletonFocus(this.r... method getBySemanticId (line 1) | getBySemanticId(t){return y.getBySemanticId(this.node,t)} method primaryId (line 1) | primaryId(){return this.getFocus().getSemanticPrimary().id.toString()} method expand (line 1) | expand(){const t=this.getFocus().getDomPrimary(),e=this.actionable_(t)... method expandable (line 1) | expandable(t){return!!this.actionable_(t)&&0===t.childNodes.length} method collapsible (line 1) | collapsible(t){return!!this.actionable_(t)&&t.childNodes.length>0} method restoreState (line 1) | restoreState(){if(!this.highlighter)return;const t=m.WalkerState.getSt... method updateFocus (line 1) | updateFocus(){this.setFocus(f.Focus.factory(this.getFocus().getSemanti... method rebuildStree (line 1) | rebuildStree(){this.rebuilt_=new L.RebuildStree(this.getXml()),this.ro... method previousLevel (line 1) | previousLevel(){const t=this.getFocus().getDomPrimary();return t?y.get... method nextLevel (line 1) | nextLevel(){const t=this.getFocus().getDomPrimary();let e,r;if(t){e=y.... method singletonFocus (line 1) | singletonFocus(t){this.getRebuilt();const e=this.retrieveVisuals(t);re... method retrieveVisuals (line 1) | retrieveVisuals(t){if(!this.skeleton)return[t];const e=parseInt(t,10),... method subtreeIds (line 1) | subtreeIds(t,e){const r=H.evalXPath(`//*[@data-semantic-id="${t}"]`,th... method focusFromId (line 1) | focusFromId(t,e){return f.Focus.factory(t,e,this.getRebuilt(),this.node)} method summary (line 1) | summary(){return this.moved=this.isSpeech()?m.WalkerMoves.SUMMARY:m.Wa... method detail (line 1) | detail(){return this.moved=this.isSpeech()?m.WalkerMoves.DETAIL:m.Walk... method specialMove (line 1) | specialMove(){return null} method virtualize (line 1) | virtualize(t){return this.cursors.push({focus:this.getFocus(),levels:t... method previous (line 1) | previous(){const t=this.cursors.pop();return t?(this.levels=t.levels,t... method undo (line 1) | undo(){let t;do{t=this.cursors.pop()}while(t&&!t.undo);return t?(this.... method update (line 1) | update(t){this.generator.setOptions(t),(0,T.setup)(t).then((()=>p.gene... method nextRules (line 1) | nextRules(){const t=this.generator.getOptions();return"speech"!==t.mod... method nextStyle (line 1) | nextStyle(t,e){if("mathspeak"===t){const t=["default","brief","sbrief"... method previousRules (line 1) | previousRules(){const t=this.generator.getOptions();return"speech"!==t... method refocus (line 1) | refocus(){let t,e=this.getFocus();for(;!e.getNodes().length;){t=this.l... method toggleActive_ (line 1) | toggleActive_(){this.active_=!this.active_} method mergePrefix_ (line 1) | mergePrefix_(t,e=[]){const r=this.isSpeech()?this.prefix_():"";r&&t.un... method prefix_ (line 1) | prefix_(){const t=this.getFocus().getDomNodes(),e=this.getFocus().getS... method postfix_ (line 1) | postfix_(){const t=this.getFocus().getDomNodes();return t[0]?y.getAttr... method depth_ (line 1) | depth_(){const t=c.Grammar.getInstance().getParameter("depth");c.Gramm... method actionable_ (line 1) | actionable_(t){const e=null==t?void 0:t.parentNode;return e&&this.high... method summary_ (line 1) | summary_(){const t=this.getFocus().getSemanticPrimary().id.toString(),... method detail_ (line 1) | detail_(){const t=this.getFocus().getSemanticPrimary().id.toString(),e... function b (line 1) | function b(t){return t.nodeType===o.NodeType.ELEMENT_NODE&&"FENCE"===o.t... function v (line 1) | function v(t){const e=Array.from(t.childNodes),r=b(e[0]),n=b(e[e.length-... function M (line 1) | function M(t,e){const r=(e-d(t))/2,[n,o]=Math.floor(r)===r?[r,r]:[Math.f... function _ (line 1) | function _(t){const e=t.firstChild,r=p(t);if(e&&e.nodeType===o.NodeType.... class i (line 1) | class i extends o.AbstractAudioRenderer{constructor(){super(...arguments... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... class Q (line 1) | class Q extends o.AbstractAudioRenderer{markup(t){const e=i.personalityM... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} class i (line 1) | class i extends o.XmlRenderer{finalize(t){return'{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... method constructor (line 1) | constructor(t,e){this.speech=t,this.attributes=e} class Q (line 1) | class Q extends i.XmlRenderer{finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} class o (line 1) | class o extends n.SsmlRenderer{markup(t){return o.MARKS={},super.markup(... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... class i (line 1) | class i extends n.AbstractAudioRenderer{markup(t){let e="";const r=(0,o.... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... class Q (line 1) | class Q extends i.MarkupRenderer{markup(t){this.setScaleFunction(-2,2,-1... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function r (line 1) | function r(t,e){return t?e?t.filter((t=>e.indexOf(t)<0)):t:[]} method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function i (line 1) | function i(t){s(n.default.WGXpath),Q(t)} method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... function Q (line 1) | function Q(t,e){let r=e||1;"undefined"==typeof wgxpath&&r<10?setTimeout(... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function T (line 1) | function T(){s(n.default.mathmapsIePath)} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... function s (line 1) | function s(t){const e=n.default.document.createElement("script");e.type=... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... class o (line 1) | class o{constructor(){this.isActive_=!1,this.outputFunction_=console.inf... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... function T (line 1) | function T(t){const e=[];for(let r=0,n=t.length;re.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... function s (line 1) | function s(t){return(t=t.replace(/ /g,"\xa0")).replace(/>[ \f\n\r\t... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... function a (line 1) | function a(t,e){if(!e)return[!1,""];const r=t.match(/^<([^> ]+).*>/),n=e... method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;ne.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... class s (line 1) | class s{constructor(){this.customLoader=null,this.parsers={},this.compar... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... class a (line 1) | class a{static get(t=s.getInstance().locale){return a.promises[t]||Promi... method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;n"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function T (line 1) | function T(t){try{s(n.throw(t))}catch(t){i(t)}} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... function s (line 1) | function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r(... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... method constructor (line 1) | constructor(t,e,r){this.src=t,this.type=e,this.callback=r} method add (line 1) | add(){this.src.addEventListener(this.type,this.callback)} method remove (line 1) | remove(){this.src.removeEventListener(this.type,this.callback)} function o (line 1) | function o(t){return t.match("/$")?t:t+"/"} method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... class o (line 1) | class o{constructor(t,e){this.name=t,this.process=e.processor,this.postp... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... class i (line 1) | class i extends o{constructor(t,e){super(t,e),this.key=e.key||i.getKey_}... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... function m (line 1) | function m(t){L.set(t.name,t)} function y (line 1) | function y(t){const e=L.get(t);if(!e)throw new p.SREError("Unknown proce... function H (line 1) | function H(t,e){const r=y(t);try{return r.processor(e)}catch(t){throw ne... function g (line 1) | function g(t,e){const r=y(t);return p.default.getInstance().pprint?r.ppr... method constructor (line 1) | constructor(t,e,r,n){this.node=t,this.generator=e,this.highlighter=r,t... method getXml (line 1) | getXml(){return this.xml_||(this.xml_=i.parseInput(this.xmlString_)),t... method getRebuilt (line 1) | getRebuilt(){return this.rebuilt_||this.rebuildStree(),this.rebuilt_} method isActive (line 1) | isActive(){return this.active_} method activate (line 1) | activate(){this.isActive()||(this.generator.start(),this.toggleActive_... method deactivate (line 1) | deactivate(){this.isActive()&&(m.WalkerState.setState(this.id,this.pri... method getFocus (line 1) | getFocus(t=!1){return this.focus_||(this.focus_=this.singletonFocus(th... method setFocus (line 1) | setFocus(t){this.focus_=t} method getDepth (line 1) | getDepth(){return this.levels.depth()-1} method isSpeech (line 1) | isSpeech(){return this.generator.modality===a.Attribute.SPEECH} method focusDomNodes (line 1) | focusDomNodes(){return this.getFocus().getDomNodes()} method focusSemanticNodes (line 1) | focusSemanticNodes(){return this.getFocus().getSemanticNodes()} method speech (line 1) | speech(){const t=this.focusDomNodes();if(!t.length)return"";const e=th... method move (line 1) | move(t){const e=this.keyMapping.get(t);if(!e)return null;const r=e();r... method up (line 1) | up(){return this.moved=m.WalkerMoves.UP,this.getFocus()} method down (line 1) | down(){return this.moved=m.WalkerMoves.DOWN,this.getFocus()} method left (line 1) | left(){return this.moved=m.WalkerMoves.LEFT,this.getFocus()} method right (line 1) | right(){return this.moved=m.WalkerMoves.RIGHT,this.getFocus()} method repeat (line 1) | repeat(){return this.moved=m.WalkerMoves.REPEAT,this.getFocus().clone()} method depth (line 1) | depth(){return this.moved=this.isSpeech()?m.WalkerMoves.DEPTH:m.Walker... method home (line 1) | home(){this.moved=m.WalkerMoves.HOME;return this.singletonFocus(this.r... method getBySemanticId (line 1) | getBySemanticId(t){return y.getBySemanticId(this.node,t)} method primaryId (line 1) | primaryId(){return this.getFocus().getSemanticPrimary().id.toString()} method expand (line 1) | expand(){const t=this.getFocus().getDomPrimary(),e=this.actionable_(t)... method expandable (line 1) | expandable(t){return!!this.actionable_(t)&&0===t.childNodes.length} method collapsible (line 1) | collapsible(t){return!!this.actionable_(t)&&t.childNodes.length>0} method restoreState (line 1) | restoreState(){if(!this.highlighter)return;const t=m.WalkerState.getSt... method updateFocus (line 1) | updateFocus(){this.setFocus(f.Focus.factory(this.getFocus().getSemanti... method rebuildStree (line 1) | rebuildStree(){this.rebuilt_=new L.RebuildStree(this.getXml()),this.ro... method previousLevel (line 1) | previousLevel(){const t=this.getFocus().getDomPrimary();return t?y.get... method nextLevel (line 1) | nextLevel(){const t=this.getFocus().getDomPrimary();let e,r;if(t){e=y.... method singletonFocus (line 1) | singletonFocus(t){this.getRebuilt();const e=this.retrieveVisuals(t);re... method retrieveVisuals (line 1) | retrieveVisuals(t){if(!this.skeleton)return[t];const e=parseInt(t,10),... method subtreeIds (line 1) | subtreeIds(t,e){const r=H.evalXPath(`//*[@data-semantic-id="${t}"]`,th... method focusFromId (line 1) | focusFromId(t,e){return f.Focus.factory(t,e,this.getRebuilt(),this.node)} method summary (line 1) | summary(){return this.moved=this.isSpeech()?m.WalkerMoves.SUMMARY:m.Wa... method detail (line 1) | detail(){return this.moved=this.isSpeech()?m.WalkerMoves.DETAIL:m.Walk... method specialMove (line 1) | specialMove(){return null} method virtualize (line 1) | virtualize(t){return this.cursors.push({focus:this.getFocus(),levels:t... method previous (line 1) | previous(){const t=this.cursors.pop();return t?(this.levels=t.levels,t... method undo (line 1) | undo(){let t;do{t=this.cursors.pop()}while(t&&!t.undo);return t?(this.... method update (line 1) | update(t){this.generator.setOptions(t),(0,T.setup)(t).then((()=>p.gene... method nextRules (line 1) | nextRules(){const t=this.generator.getOptions();return"speech"!==t.mod... method nextStyle (line 1) | nextStyle(t,e){if("mathspeak"===t){const t=["default","brief","sbrief"... method previousRules (line 1) | previousRules(){const t=this.generator.getOptions();return"speech"!==t... method refocus (line 1) | refocus(){let t,e=this.getFocus();for(;!e.getNodes().length;){t=this.l... method toggleActive_ (line 1) | toggleActive_(){this.active_=!this.active_} method mergePrefix_ (line 1) | mergePrefix_(t,e=[]){const r=this.isSpeech()?this.prefix_():"";r&&t.un... method prefix_ (line 1) | prefix_(){const t=this.getFocus().getDomNodes(),e=this.getFocus().getS... method postfix_ (line 1) | postfix_(){const t=this.getFocus().getDomNodes();return t[0]?y.getAttr... method depth_ (line 1) | depth_(){const t=c.Grammar.getInstance().getParameter("depth");c.Gramm... method actionable_ (line 1) | actionable_(t){const e=null==t?void 0:t.parentNode;return e&&this.high... method summary_ (line 1) | summary_(){const t=this.getFocus().getSemanticPrimary().id.toString(),... method detail_ (line 1) | detail_(){const t=this.getFocus().getSemanticPrimary().id.toString(),e... function Q (line 1) | function Q(t){try{s(n.next(t))}catch(t){i(t)}} method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function T (line 1) | function T(t){try{s(n.throw(t))}catch(t){i(t)}} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... function s (line 1) | function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r(... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... function u (line 1) | function u(t){return n(this,void 0,void 0,(function*(){return(0,i.setup)... method constructor (line 1) | constructor(){super([Q.Axis.LOCALE,Q.Axis.MODALITY,Q.Axis.DOMAIN,Q.Axi... method parse (line 1) | parse(t){const e=super.parse(t);let r=e.getValue(Q.Axis.STYLE);const n... method fromPreference (line 1) | fromPreference(t){return a.fromPreference(t)} method toPreference (line 1) | toPreference(t){return a.toPreference(t)} method constructor (line 1) | constructor(t){this.mathml=t,this.factory=new Q.SemanticNodeFactory,th... method addAttributes (line 1) | static addAttributes(t,e,r){r&&1===e.childNodes.length&&e.childNodes[0... method textContent (line 1) | static textContent(t,e,r){if(!r&&e.textContent)return void(t.textConte... method isPunctuated (line 1) | static isPunctuated(t){return!s.SemanticSkeleton.simpleCollapseStructu... method getTree (line 1) | getTree(){return this.stree} method assembleTree (line 1) | assembleTree(t){const e=this.makeNode(t),r=c.splitAttribute(c.getAttri... method makeNode (line 1) | makeNode(t){const e=c.getAttribute(t,o.Attribute.TYPE),r=c.getAttribut... method makePunctuation (line 1) | makePunctuation(t){const e=this.createNode(t);return e.updateContent((... method makePunctuated (line 1) | makePunctuated(t,e,r){const n=this.createNode(e[0]);n.type="punctuated... method makeEmpty (line 1) | makeEmpty(t,e,r){const n=this.createNode(e);n.type="empty",n.embellish... method makeIndex (line 1) | makeIndex(t,e,r){if(u.isPunctuated(e))return this.makePunctuated(t,e,r... method postProcess (line 1) | postProcess(t,e){const r=s.SemanticSkeleton.fromString(e).array;if("su... method createNode (line 1) | createNode(t){const e=this.factory.makeNode(t);return this.nodeDict[t.... method collapsedChildren_ (line 1) | collapsedChildren_(t){const e=t=>{const r=this.nodeDict[t[0]];r.childN... method setParent (line 1) | setParent(t,e){const r=c.getBySemanticId(this.mathml,t),n=this.assembl... function p (line 1) | function p(t,e){return s.process(t,e)} function h (line 1) | function h(t,e,r){switch(o.default.getInstance().mode){case Q.Mode.ASYNC... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyQuery(t,t... class SystemExternal (line 1) | class SystemExternal{static extRequire(library){if("undefined"!=typeof p... method extRequire (line 1) | static extRequire(library){if("undefined"!=typeof process){const nodeR... class r (line 1) | class r{static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.erro... method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function Q (line 1) | function Q(){return"undefined"!=typeof XPathResult} method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function s (line 1) | function s(t){return T[t]||null} method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... class a (line 1) | class a{constructor(){this.lookupNamespaceURI=s}} method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;n!0)),this.kind=a.TrieNodeKind.ROOT} method constructor (line 1) | constructor(t){super(t),this.name="RuleError"} function c (line 1) | function c(t,r){let n;try{n=l(t,r,e.xpath.result.ORDERED_NODE_ITERATOR_T... method constructor (line 1) | constructor(t){super(t),this.fenced=null,this.fencedMml=null,this.fenc... method test (line 1) | static test(t){return!(!t.mathmlTree||!t.fencePointer||t.mathmlTree.ge... method makeEmptyNode_ (line 1) | static makeEmptyNode_(t){const e=n.createElement("mrow"),r=new o.Seman... method fencedMap_ (line 1) | static fencedMap_(t,e){e[t.id]=t.mathmlTree,t.embellished&&c.fencedMap... method getMathml (line 1) | getMathml(){this.getFenced_(),this.fencedMml=a.walkTree(this.fenced),t... method fencedElement (line 1) | fencedElement(t){return"fenced"===t.type||"matrix"===t.type||"vector"=... method getFenced_ (line 1) | getFenced_(){let t=this.semantic;for(;!this.fencedElement(t);)t=t.chil... method getFencedMml_ (line 1) | getFencedMml_(){let t=this.ofenceMml.nextSibling;for(t=t===this.fenced... method getFencesMml_ (line 1) | getFencesMml_(){let t=this.semantic;const e=Object.keys(this.ofenceMap... method rewrite_ (line 1) | rewrite_(){let t=this.semantic,e=null;const r=this.introduceNewLayer_(... method specialCase_ (line 1) | specialCase_(t,e){const r=n.tagName(e);let o,i=null;if("MSUBSUP"===r?(... method introduceNewLayer_ (line 1) | introduceNewLayer_(){const t=this.fullFence(this.ofenceMml),e=this.ful... method fullFence (line 1) | fullFence(t){const e=this.fencedMml.parentNode;let r=t;for(;r.parentNo... method cleanupParents_ (line 1) | cleanupParents_(){this.parentCleanup.forEach((function(t){const e=t.ch... method constructor (line 1) | constructor(t){super(t,(e=>e===t)),this.kind=a.TrieNodeKind.DYNAMIC} method constructor (line 1) | constructor(t,e){super(t,e),this.preference=t instanceof a?t.preferenc... method match (line 1) | match(t){if(!(t instanceof a))return super.match(t);if("default"===t.g... method compare (line 1) | compare(t,e){const r=super.compare(t,e);if(0!==r)return r;const n=t in... method constructor (line 1) | constructor(t){this.semantic=t} class T (line 1) | class T extends o.AbstractEnrichCase{constructor(t){super(t),this.mml=t.... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... class T (line 1) | class T extends o.AbstractEnrichCase{constructor(t){super(t),this.mml=t.... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... class c (line 1) | class c extends i.AbstractEnrichCase{constructor(t){super(t),this.fenced... method constructor (line 1) | constructor(t){super(t),this.fenced=null,this.fencedMml=null,this.fenc... method test (line 1) | static test(t){return!(!t.mathmlTree||!t.fencePointer||t.mathmlTree.ge... method makeEmptyNode_ (line 1) | static makeEmptyNode_(t){const e=n.createElement("mrow"),r=new o.Seman... method fencedMap_ (line 1) | static fencedMap_(t,e){e[t.id]=t.mathmlTree,t.embellished&&c.fencedMap... method getMathml (line 1) | getMathml(){this.getFenced_(),this.fencedMml=a.walkTree(this.fenced),t... method fencedElement (line 1) | fencedElement(t){return"fenced"===t.type||"matrix"===t.type||"vector"=... method getFenced_ (line 1) | getFenced_(){let t=this.semantic;for(;!this.fencedElement(t);)t=t.chil... method getFencedMml_ (line 1) | getFencedMml_(){let t=this.ofenceMml.nextSibling;for(t=t===this.fenced... method getFencesMml_ (line 1) | getFencesMml_(){let t=this.semantic;const e=Object.keys(this.ofenceMap... method rewrite_ (line 1) | rewrite_(){let t=this.semantic,e=null;const r=this.introduceNewLayer_(... method specialCase_ (line 1) | specialCase_(t,e){const r=n.tagName(e);let o,i=null;if("MSUBSUP"===r?(... method introduceNewLayer_ (line 1) | introduceNewLayer_(){const t=this.fullFence(this.ofenceMml),e=this.ful... method fullFence (line 1) | fullFence(t){const e=this.fencedMml.parentNode;let r=t;for(;r.parentNo... method cleanupParents_ (line 1) | cleanupParents_(){this.parentCleanup.forEach((function(t){const e=t.ch... method constructor (line 1) | constructor(t){super(t,(e=>e===t)),this.kind=a.TrieNodeKind.DYNAMIC} method constructor (line 1) | constructor(t,e){super(t,e),this.preference=t instanceof a?t.preferenc... method match (line 1) | match(t){if(!(t instanceof a))return super.match(t);if("default"===t.g... method compare (line 1) | compare(t,e){const r=super.compare(t,e);if(0!==r)return r;const n=t in... class T (line 1) | class T extends o.AbstractEnrichCase{constructor(t){super(t),this.mml=t.... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... class Q (line 1) | class Q extends n.AbstractEnrichCase{constructor(t){super(t),this.mml=t.... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} class T (line 1) | class T extends o.AbstractEnrichCase{constructor(t){super(t),this.mml=t.... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... class s (line 1) | class s extends i.CaseMultiindex{static test(t){if(!t.mathmlTree)return!... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... class Q (line 1) | class Q extends n.AbstractEnrichCase{constructor(t){super(t),this.mml=t.... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} class T (line 1) | class T extends o.AbstractEnrichCase{constructor(t){super(t),this.inner=... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... class T (line 1) | class T extends o.CaseMultiindex{static test(t){return!!t.mathmlTree&&"t... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... class Q (line 1) | class Q extends n.AbstractEnrichCase{constructor(t){super(t),this.mml=t.... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function a (line 1) | function a(t){const e=o.cloneNode(t),r=Q.getTree(e);return T.enrich(e,r)} method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;n!0)),this.kind=a.TrieNodeKind.ROOT} method constructor (line 1) | constructor(t){super(t),this.name="RuleError"} function c (line 1) | function c(t){return t.match(/^$... method constructor (line 1) | constructor(t){super(t),this.fenced=null,this.fencedMml=null,this.fenc... method test (line 1) | static test(t){return!(!t.mathmlTree||!t.fencePointer||t.mathmlTree.ge... method makeEmptyNode_ (line 1) | static makeEmptyNode_(t){const e=n.createElement("mrow"),r=new o.Seman... method fencedMap_ (line 1) | static fencedMap_(t,e){e[t.id]=t.mathmlTree,t.embellished&&c.fencedMap... method getMathml (line 1) | getMathml(){this.getFenced_(),this.fencedMml=a.walkTree(this.fenced),t... method fencedElement (line 1) | fencedElement(t){return"fenced"===t.type||"matrix"===t.type||"vector"=... method getFenced_ (line 1) | getFenced_(){let t=this.semantic;for(;!this.fencedElement(t);)t=t.chil... method getFencedMml_ (line 1) | getFencedMml_(){let t=this.ofenceMml.nextSibling;for(t=t===this.fenced... method getFencesMml_ (line 1) | getFencesMml_(){let t=this.semantic;const e=Object.keys(this.ofenceMap... method rewrite_ (line 1) | rewrite_(){let t=this.semantic,e=null;const r=this.introduceNewLayer_(... method specialCase_ (line 1) | specialCase_(t,e){const r=n.tagName(e);let o,i=null;if("MSUBSUP"===r?(... method introduceNewLayer_ (line 1) | introduceNewLayer_(){const t=this.fullFence(this.ofenceMml),e=this.ful... method fullFence (line 1) | fullFence(t){const e=this.fencedMml.parentNode;let r=t;for(;r.parentNo... method cleanupParents_ (line 1) | cleanupParents_(){this.parentCleanup.forEach((function(t){const e=t.ch... method constructor (line 1) | constructor(t){super(t,(e=>e===t)),this.kind=a.TrieNodeKind.DYNAMIC} method constructor (line 1) | constructor(t,e){super(t,e),this.preference=t instanceof a?t.preferenc... method match (line 1) | match(t){if(!(t instanceof a))return super.match(t);if("default"===t.g... method compare (line 1) | compare(t,e){const r=super.compare(t,e);if(0!==r)return r;const n=t in... function n (line 1) | function n(t){return t.map((function(t){return t.id})).join(",")} method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function o (line 1) | function o(t,e){const n=[];"mglyph"===e.role&&n.push("image"),e.attribut... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... function u (line 1) | function u(t){const e=(0,c.getCase)(t);let r;if(e)return r=e.getMathml()... method constructor (line 1) | constructor(){super([Q.Axis.LOCALE,Q.Axis.MODALITY,Q.Axis.DOMAIN,Q.Axi... method parse (line 1) | parse(t){const e=super.parse(t);let r=e.getValue(Q.Axis.STYLE);const n... method fromPreference (line 1) | fromPreference(t){return a.fromPreference(t)} method toPreference (line 1) | toPreference(t){return a.toPreference(t)} method constructor (line 1) | constructor(t){this.mathml=t,this.factory=new Q.SemanticNodeFactory,th... method addAttributes (line 1) | static addAttributes(t,e,r){r&&1===e.childNodes.length&&e.childNodes[0... method textContent (line 1) | static textContent(t,e,r){if(!r&&e.textContent)return void(t.textConte... method isPunctuated (line 1) | static isPunctuated(t){return!s.SemanticSkeleton.simpleCollapseStructu... method getTree (line 1) | getTree(){return this.stree} method assembleTree (line 1) | assembleTree(t){const e=this.makeNode(t),r=c.splitAttribute(c.getAttri... method makeNode (line 1) | makeNode(t){const e=c.getAttribute(t,o.Attribute.TYPE),r=c.getAttribut... method makePunctuation (line 1) | makePunctuation(t){const e=this.createNode(t);return e.updateContent((... method makePunctuated (line 1) | makePunctuated(t,e,r){const n=this.createNode(e[0]);n.type="punctuated... method makeEmpty (line 1) | makeEmpty(t,e,r){const n=this.createNode(e);n.type="empty",n.embellish... method makeIndex (line 1) | makeIndex(t,e,r){if(u.isPunctuated(e))return this.makePunctuated(t,e,r... method postProcess (line 1) | postProcess(t,e){const r=s.SemanticSkeleton.fromString(e).array;if("su... method createNode (line 1) | createNode(t){const e=this.factory.makeNode(t);return this.nodeDict[t.... method collapsedChildren_ (line 1) | collapsedChildren_(t){const e=t=>{const r=this.nodeDict[t[0]];r.childN... method setParent (line 1) | setParent(t,e){const r=c.getBySemanticId(this.mathml,t),n=this.assembl... function p (line 1) | function p(t,e){const r=M(t);let i=r.node;const Q=r.type;if(Q!==v.VALID|... function h (line 1) | function h(t,e,r){let i=x(e);if(a.hasMathTag(i)){n.Debugger.getInstance(... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyQuery(t,t... function d (line 1) | function d(t,e){for(const r of l.EnrichAttributes)t.hasAttribute(r)&&(e.... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyConstrain... function f (line 1) | function f(t,e){const r=o.toArray(t.childNodes);let n=1/0,i=-1/0;return ... function L (line 1) | function L(t,e,r){const n=[];let i=o.toArray(t.childNodes),Q=!1;for(;i.l... method constructor (line 1) | constructor(){this.trie=null,this.evaluators_={},this.trie=new f.Trie} method getInstance (line 1) | static getInstance(){return L.instance=L.instance||new L,L.instance} method debugSpeechRule (line 1) | static debugSpeechRule(t,e){const r=t.precondition,n=t.context.applyQu... method debugNamedSpeechRule (line 1) | static debugNamedSpeechRule(t,e){const r=L.getInstance().trie.collectR... method evaluateNode (line 1) | evaluateNode(t){(0,s.updateEvaluator)(t);const e=(new Date).getTime();... method toString (line 1) | toString(){return this.trie.collectRules().map((t=>t.toString())).join... method runInSetting (line 1) | runInSetting(t,e){const r=Q.default.getInstance(),n={};for(const e in ... method addStore (line 1) | addStore(t){const e=y(t);"abstract"!==e.kind&&e.getSpeechRules().forEa... method processGrammar (line 1) | processGrammar(t,e,r){const n={};for(const o in r){const i=r[o];n[o]="... method addEvaluator (line 1) | addEvaluator(t){const e=t.evaluateDefault.bind(t),r=this.evaluators_[t... method getEvaluator (line 1) | getEvaluator(t,e){const r=this.evaluators_[t]||this.evaluators_[u.Dyna... method enumerate (line 1) | enumerate(t){return this.trie.enumerate(t)} method evaluateNode_ (line 1) | evaluateNode_(t){return t?(this.updateConstraint_(),this.evaluateTree_... method evaluateTree_ (line 1) | evaluateTree_(t){const e=Q.default.getInstance();let r;o.Debugger.getI... method evaluateNodeList_ (line 1) | evaluateNodeList_(t,e,r,o,i,Q){if(!e.length)return[];const T=o||"",s=Q... method addLayout (line 1) | addLayout(t,e,r){const o=e.layout;o&&(o.match(/^begin/)?t.unshift(new ... method addPersonality_ (line 1) | addPersonality_(t,e,r,o){const i={};let Q=null;for(const t of T.person... method addExternalAttributes_ (line 1) | addExternalAttributes_(t,e){if(e.hasAttributes()){const r=e.attributes... method addRelativePersonality_ (line 1) | addRelativePersonality_(t,e){if(!t.personality)return t.personality=e,... method updateConstraint_ (line 1) | updateConstraint_(){const t=Q.default.getInstance().dynamicCstr,e=Q.de... method makeSet_ (line 1) | makeSet_(t,e){return e&&Object.keys(e).length?t.split(":"):[t]} method lookupRule (line 1) | lookupRule(t,e){if(!t||t.nodeType!==i.NodeType.ELEMENT_NODE&&t.nodeTyp... method lookupRules (line 1) | lookupRules(t,e){return this.trie.lookupRules(t,e.allProperties())} method pickMostConstraint_ (line 1) | pickMostConstraint_(t,e){const r=Q.default.getInstance().comparator;re... function m (line 1) | function m(t){const e=[];let r=o.toArray(t.childNodes);for(;r.length;){c... function y (line 1) | function y(t,e,r){const n="implicit"===r.role&&T.flags.combine_juxtaposi... function H (line 1) | function H(t,e,r){if(!e)return void t.insertBefore(r,null);let n=e,o=N(n... function g (line 1) | function g(t,e){if(!t)return!1;do{if((t=t.parentNode)===e)return!0}while... method constructor (line 1) | constructor(t,e,r,n){this.node=t,this.generator=e,this.highlighter=r,t... method getXml (line 1) | getXml(){return this.xml_||(this.xml_=i.parseInput(this.xmlString_)),t... method getRebuilt (line 1) | getRebuilt(){return this.rebuilt_||this.rebuildStree(),this.rebuilt_} method isActive (line 1) | isActive(){return this.active_} method activate (line 1) | activate(){this.isActive()||(this.generator.start(),this.toggleActive_... method deactivate (line 1) | deactivate(){this.isActive()&&(m.WalkerState.setState(this.id,this.pri... method getFocus (line 1) | getFocus(t=!1){return this.focus_||(this.focus_=this.singletonFocus(th... method setFocus (line 1) | setFocus(t){this.focus_=t} method getDepth (line 1) | getDepth(){return this.levels.depth()-1} method isSpeech (line 1) | isSpeech(){return this.generator.modality===a.Attribute.SPEECH} method focusDomNodes (line 1) | focusDomNodes(){return this.getFocus().getDomNodes()} method focusSemanticNodes (line 1) | focusSemanticNodes(){return this.getFocus().getSemanticNodes()} method speech (line 1) | speech(){const t=this.focusDomNodes();if(!t.length)return"";const e=th... method move (line 1) | move(t){const e=this.keyMapping.get(t);if(!e)return null;const r=e();r... method up (line 1) | up(){return this.moved=m.WalkerMoves.UP,this.getFocus()} method down (line 1) | down(){return this.moved=m.WalkerMoves.DOWN,this.getFocus()} method left (line 1) | left(){return this.moved=m.WalkerMoves.LEFT,this.getFocus()} method right (line 1) | right(){return this.moved=m.WalkerMoves.RIGHT,this.getFocus()} method repeat (line 1) | repeat(){return this.moved=m.WalkerMoves.REPEAT,this.getFocus().clone()} method depth (line 1) | depth(){return this.moved=this.isSpeech()?m.WalkerMoves.DEPTH:m.Walker... method home (line 1) | home(){this.moved=m.WalkerMoves.HOME;return this.singletonFocus(this.r... method getBySemanticId (line 1) | getBySemanticId(t){return y.getBySemanticId(this.node,t)} method primaryId (line 1) | primaryId(){return this.getFocus().getSemanticPrimary().id.toString()} method expand (line 1) | expand(){const t=this.getFocus().getDomPrimary(),e=this.actionable_(t)... method expandable (line 1) | expandable(t){return!!this.actionable_(t)&&0===t.childNodes.length} method collapsible (line 1) | collapsible(t){return!!this.actionable_(t)&&t.childNodes.length>0} method restoreState (line 1) | restoreState(){if(!this.highlighter)return;const t=m.WalkerState.getSt... method updateFocus (line 1) | updateFocus(){this.setFocus(f.Focus.factory(this.getFocus().getSemanti... method rebuildStree (line 1) | rebuildStree(){this.rebuilt_=new L.RebuildStree(this.getXml()),this.ro... method previousLevel (line 1) | previousLevel(){const t=this.getFocus().getDomPrimary();return t?y.get... method nextLevel (line 1) | nextLevel(){const t=this.getFocus().getDomPrimary();let e,r;if(t){e=y.... method singletonFocus (line 1) | singletonFocus(t){this.getRebuilt();const e=this.retrieveVisuals(t);re... method retrieveVisuals (line 1) | retrieveVisuals(t){if(!this.skeleton)return[t];const e=parseInt(t,10),... method subtreeIds (line 1) | subtreeIds(t,e){const r=H.evalXPath(`//*[@data-semantic-id="${t}"]`,th... method focusFromId (line 1) | focusFromId(t,e){return f.Focus.factory(t,e,this.getRebuilt(),this.node)} method summary (line 1) | summary(){return this.moved=this.isSpeech()?m.WalkerMoves.SUMMARY:m.Wa... method detail (line 1) | detail(){return this.moved=this.isSpeech()?m.WalkerMoves.DETAIL:m.Walk... method specialMove (line 1) | specialMove(){return null} method virtualize (line 1) | virtualize(t){return this.cursors.push({focus:this.getFocus(),levels:t... method previous (line 1) | previous(){const t=this.cursors.pop();return t?(this.levels=t.levels,t... method undo (line 1) | undo(){let t;do{t=this.cursors.pop()}while(t&&!t.undo);return t?(this.... method update (line 1) | update(t){this.generator.setOptions(t),(0,T.setup)(t).then((()=>p.gene... method nextRules (line 1) | nextRules(){const t=this.generator.getOptions();return"speech"!==t.mod... method nextStyle (line 1) | nextStyle(t,e){if("mathspeak"===t){const t=["default","brief","sbrief"... method previousRules (line 1) | previousRules(){const t=this.generator.getOptions();return"speech"!==t... method refocus (line 1) | refocus(){let t,e=this.getFocus();for(;!e.getNodes().length;){t=this.l... method toggleActive_ (line 1) | toggleActive_(){this.active_=!this.active_} method mergePrefix_ (line 1) | mergePrefix_(t,e=[]){const r=this.isSpeech()?this.prefix_():"";r&&t.un... method prefix_ (line 1) | prefix_(){const t=this.getFocus().getDomNodes(),e=this.getFocus().getS... method postfix_ (line 1) | postfix_(){const t=this.getFocus().getDomNodes();return t[0]?y.getAttr... method depth_ (line 1) | depth_(){const t=c.Grammar.getInstance().getParameter("depth");c.Gramm... method actionable_ (line 1) | actionable_(t){const e=null==t?void 0:t.parentNode;return e&&this.high... method summary_ (line 1) | summary_(){const t=this.getFocus().getSemanticPrimary().id.toString(),... method detail_ (line 1) | detail_(){const t=this.getFocus().getSemanticPrimary().id.toString(),e... function b (line 1) | function b(t,e){const r=Q.functionApplication();if(t&&e&&t.textContent&&... function M (line 1) | function M(t){const e=V(t);if(!e)return{type:v.INVALID,node:null};const ... function _ (line 1) | function _(t,e){let r=0;for(;t[r]&&-1===e.indexOf(t[r]);)r++;return t.sl... function V (line 1) | function V(t){let e=0,r=null;for(;!r&&e!1),n=[t];for(;!r(t)&&!a.hasMathTag(t)&&t... function S (line 1) | function S(t,e){return!(!t||!e||t.previousSibling||e.nextSibling)} function E (line 1) | function E(t){for(;!a.hasMathTag(t)&&A(t);)t=N(t);return t} function x (line 1) | function x(t){const e=o.toArray(t.childNodes);if(!e)return t;const r=e.f... function A (line 1) | function A(t){const e=N(t);return!(!e||!a.hasEmptyTag(e))&&o.toArray(e.c... function C (line 1) | function C(t){if(t.nodeType!==o.NodeType.ELEMENT_NODE)return!0;if(!t||a.... function N (line 1) | function N(t){return t.parentNode} function w (line 1) | function w(t){if(t.mathml.length)return u(t);const r=e.SETTINGS.implicit... function P (line 1) | function P(t){if("MFENCED"!==o.tagName(t))return t;const e=o.createEleme... function I (line 1) | function I(t){const e=o.createElement("mo"),r=o.createTextNode(t.textCon... function k (line 1) | function k(t,e){const r=t.type+(t.textContent?","+t.textContent:"");e.fo... function R (line 1) | function R(t){const e=o.toArray(t.childNodes);if(!e)return t;const r=e.f... function D (line 1) | function D(t,e,r,n){const o=n||!1;j(t,"Original MathML",o),j(r,"Semantic... function j (line 1) | function j(t,e,r){const n=o.formatXml(t.toString());r?console.info(e+":\... class i (line 1) | class i{constructor(){this.color=null,this.mactionName="",this.currentHi... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... class o (line 1) | class o extends n.CssHighlighter{constructor(){super()}isMactionNode(t){... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... function n (line 1) | function n(t,e){const n=t||{color:e};let o=Object.prototype.hasOwnProper... method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... class o (line 1) | class o{constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... method constructor (line 1) | constructor(){this.hue=10,this.sat=100,this.light=50,this.incr=50} method generate (line 1) | generate(){return e=function(t,e,r){e=e>1?e/100:e,r=r>1?r/100:r;const n=... method increment (line 1) | increment(){this.hue=(this.hue+this.incr)%360} class o (line 1) | class o extends n.AbstractHighlighter{constructor(){super(),this.maction... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... class i (line 1) | class i extends o.AbstractHighlighter{constructor(){super(),this.maction... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... class o (line 1) | class o extends n.CssHighlighter{constructor(){super(),this.mactionName=... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... class o (line 1) | class o extends n.AbstractHighlighter{constructor(){super(),this.maction... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... class i (line 1) | class i extends o.AbstractHighlighter{constructor(){super(),this.maction... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... class s (line 1) | class s extends T.SvgHighlighter{constructor(){super(),this.mactionName=... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... class i (line 1) | class i{constructor(t,e){this.constraint=t,this.test=e,this.children_={}... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... method constructor (line 1) | constructor(t,e){super(t,e),this.rule_=null,this.kind=o.TrieNodeKind.STA... method getRule (line 1) | getRule(){return this.rule_} method setRule (line 1) | setRule(t){this.rule_&&n.Debugger.getInstance().output("Replacing rule "... method toString (line 1) | toString(){return this.getRule()?this.constraint+"\n==> "+this.getRule()... class i (line 1) | class i{constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",nul... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... class l (line 1) | class l extends T.AbstractTrieNode{constructor(){super("",(()=>!0)),this... method constructor (line 1) | constructor(){super("",(()=>!0)),this.kind=a.TrieNodeKind.ROOT} method constructor (line 1) | constructor(t){super(t),this.name="RuleError"} class c (line 1) | class c extends T.AbstractTrieNode{constructor(t){super(t,(e=>e===t)),th... method constructor (line 1) | constructor(t){super(t),this.fenced=null,this.fencedMml=null,this.fenc... method test (line 1) | static test(t){return!(!t.mathmlTree||!t.fencePointer||t.mathmlTree.ge... method makeEmptyNode_ (line 1) | static makeEmptyNode_(t){const e=n.createElement("mrow"),r=new o.Seman... method fencedMap_ (line 1) | static fencedMap_(t,e){e[t.id]=t.mathmlTree,t.embellished&&c.fencedMap... method getMathml (line 1) | getMathml(){this.getFenced_(),this.fencedMml=a.walkTree(this.fenced),t... method fencedElement (line 1) | fencedElement(t){return"fenced"===t.type||"matrix"===t.type||"vector"=... method getFenced_ (line 1) | getFenced_(){let t=this.semantic;for(;!this.fencedElement(t);)t=t.chil... method getFencedMml_ (line 1) | getFencedMml_(){let t=this.ofenceMml.nextSibling;for(t=t===this.fenced... method getFencesMml_ (line 1) | getFencesMml_(){let t=this.semantic;const e=Object.keys(this.ofenceMap... method rewrite_ (line 1) | rewrite_(){let t=this.semantic,e=null;const r=this.introduceNewLayer_(... method specialCase_ (line 1) | specialCase_(t,e){const r=n.tagName(e);let o,i=null;if("MSUBSUP"===r?(... method introduceNewLayer_ (line 1) | introduceNewLayer_(){const t=this.fullFence(this.ofenceMml),e=this.ful... method fullFence (line 1) | fullFence(t){const e=this.fencedMml.parentNode;let r=t;for(;r.parentNo... method cleanupParents_ (line 1) | cleanupParents_(){this.parentCleanup.forEach((function(t){const e=t.ch... method constructor (line 1) | constructor(t){super(t,(e=>e===t)),this.kind=a.TrieNodeKind.DYNAMIC} method constructor (line 1) | constructor(t,e){super(t,e),this.preference=t instanceof a?t.preferenc... method match (line 1) | match(t){if(!(t instanceof a))return super.match(t);if("default"===t.g... method compare (line 1) | compare(t,e){const r=super.compare(t,e);if(0!==r)return r;const n=t in... function p (line 1) | function p(t){if(t.match(/^self::\*$/))return t=>!0;if(t.match(/^self::\... class h (line 1) | class h extends s.StaticTrieNode{constructor(t,e){super(t,p(t)),this.con... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyQuery(t,t... class d (line 1) | class d extends s.StaticTrieNode{constructor(t,e){super(t,p(t)),this.con... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyConstrain... function y (line 1) | function y(){const t=o.Variables.ensureLocale(n.default.getInstance().lo... function o (line 1) | function o(){return{FUNCTIONS:(0,n.FUNCTIONS)(),MESSAGES:(0,n.MESSAGES)(... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... function i (line 1) | function i(t,e){return void 0===t?e:"string"==typeof t?t:t[0]} method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... function o (line 1) | function o(t){const e=t%1e3,r=Math.floor(e/100),n=r?1===r?"cent":T.ones[... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... function i (line 1) | function i(t){if(0===t)return T.zero;if(t>=Math.pow(10,36))return t.toSt... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... function Q (line 1) | function Q(t){const e=n.Grammar.getInstance().getParameter("gender");ret... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function n (line 1) | function n(t,e=!1){return t===T.ones[1]?e?"et":"en":t} method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function o (line 1) | function o(t,e=!1){let r=t%1e3,o="",i=T.ones[Math.floor(r/100)];if(o+=i?... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... function i (line 1) | function i(t,e=!1){if(0===t)return T.zero;if(t>=Math.pow(10,36))return t... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... function Q (line 1) | function Q(t){if(t%100)return i(t,!0);const e=i(t);return e.match(/e$/)?... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function n (line 1) | function n(t,e=!1){return t===T.ones[1]?e?"eine":"ein":t} method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function o (line 1) | function o(t){let e=t%1e3,r="",o=T.ones[Math.floor(e/100)];if(r+=o?n(o)+... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... function i (line 1) | function i(t){if(0===t)return T.zero;if(t>=Math.pow(10,36))return t.toSt... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... function Q (line 1) | function Q(t){if(1===t)return"erste";if(3===t)return"dritte";if(7===t)re... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function n (line 1) | function n(t){let e=t%1e3,r="";return r+=Q.ones[Math.floor(e/100)]?Q.one... method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function o (line 1) | function o(t){if(0===t)return Q.zero;if(t>=Math.pow(10,36))return t.toSt... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... function i (line 1) | function i(t){let e=o(t);return e.match(/one$/)?e=e.slice(0,-3)+"first":... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... function o (line 1) | function o(t){const e=t%1e3,r=Math.floor(e/100),n=i.special.hundreds[r],... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... function Q (line 1) | function Q(t){let e=t%1e3,r="";if(r+=l.ones[Math.floor(e/100)]?l.ones[Ma... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function T (line 1) | function T(t){if(0===t)return l.zero;if(t>=Math.pow(10,36))return t.toSt... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... function a (line 1) | function a(t){if(1===t)return"premi\xe8re";let e=T(t);return e.match(/^n... method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;n=Math.pow(10,32))return t.toSt... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... function i (line 1) | function i(t){const e=n.Grammar.getInstance().getParameter("gender");if(... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... function o (line 1) | function o(t){let e=t%1e3,r="";if(r+=T.ones[Math.floor(e/100)]?T.ones[Ma... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... function i (line 1) | function i(t){if(0===t)return T.zero;if(t>=Math.pow(10,36))return t.toSt... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... function Q (line 1) | function Q(t){const e="m"===n.Grammar.getInstance().getParameter("gender... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function n (line 1) | function n(t){return t.toString().split("").map((function(t){return o.on... method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function o (line 1) | function o(t,e=!1){let r=t%1e3,n="";const o=Math.floor(r/100),Q=T.ones[o... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... function i (line 1) | function i(t){const e=T.special.endOrdinal[0];return"a"===e&&t.match(/en... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... function Q (line 1) | function Q(t){return l(t,!0)} method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function s (line 1) | function s(t,e=!1){return t===T.ones[1]?"ein"===t?"eitt ":e?"et":"ett":t} method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... function a (line 1) | function a(t,e=!1){let r=t%1e3,n="",o=T.ones[Math.floor(r/100)];if(n+=o?... method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;n!0)),this.kind=a.TrieNodeKind.ROOT} method constructor (line 1) | constructor(t){super(t),this.name="RuleError"} function n (line 1) | function n(t){let e=t%1e3,r="";const n=Math.floor(e/100);return r+=Q.one... method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function o (line 1) | function o(t,e=!1){if(0===t)return Q.zero;if(t>=Math.pow(10,36))return t... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... function i (line 1) | function i(t){let e=o(t,!0);return e.match(/^noll$/)?e="nollte":e.match(... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... function r (line 1) | function r(t,e=""){if(!t.childNodes||!t.childNodes[0]||!t.childNodes[0].... method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} class T (line 1) | class T{constructor(){this.context=new Q.SpeechRuleContext,this.parseOrd... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... class s (line 1) | class s{constructor(t,e){this.base=t,this._conditions=[],this.constraint... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... class i (line 1) | class i extends o.MathStore{constructor(){super(...arguments),this.modal... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... class n (line 1) | class n{constructor(t,e=Object.keys(t)){this.properties=t,this.order=e}s... method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... class o (line 1) | class o extends n{constructor(t,e){const r={};for(const[e,n]of Object.en... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... method constructor (line 1) | constructor(t){this.order=t} method parse (line 1) | parse(t){const e=t.split("."),r={};if(e.length>this.order.length)throw n... method constructor (line 1) | constructor(t,e=new n(t.getProperties(),t.getOrder())){this.reference=t,... method getReference (line 1) | getReference(){return this.reference} method setReference (line 1) | setReference(t,e){this.reference=t,this.fallback=e||new n(t.getPropertie... method match (line 1) | match(t){const e=t.getAxes();return e.length===this.reference.getAxes().... method compare (line 1) | compare(t,e){let r=!1;for(let n,o=0;n=this.order[o];o++){const o=t.getVa... method toString (line 1) | toString(){return this.reference.toString()+"\n"+this.fallback.toString()} class T (line 1) | class T{constructor(){this.currentFlags={},this.parameters_={},this.corr... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... function s (line 1) | function s(t,e){if(!e||!t)return t;const r=Q.LOCALE.FUNCTIONS.fontRegexp... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... function a (line 1) | function a(t){return t.match(/\d+/)?Q.LOCALE.NUMBERS.numberToWords(parse... method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;n{const r=this.nodeDict[t[0]];r.childN... method setParent (line 1) | setParent(t,e){const r=c.getBySemanticId(this.mathml,t),n=this.assembl... function p (line 1) | function p(t){if(y(t))return;const e=t.names,r=t.mappings,n=t.category;f... function h (line 1) | function h(t){for(const e of Object.keys(l)){const r=Object.assign({},t)... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyQuery(t,t... function d (line 1) | function d(t,e){const r=c[t];return r?r.lookupRule(null,e):null} method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyConstrain... function f (line 1) | function f(t,e){const r=d(t,e);return r?r.action:null} function L (line 1) | function L(t,e){return e=e||{},t.length?(e[t[0]]=L(t.slice(1),e[t[0]]),e... method constructor (line 1) | constructor(){this.trie=null,this.evaluators_={},this.trie=new f.Trie} method getInstance (line 1) | static getInstance(){return L.instance=L.instance||new L,L.instance} method debugSpeechRule (line 1) | static debugSpeechRule(t,e){const r=t.precondition,n=t.context.applyQu... method debugNamedSpeechRule (line 1) | static debugNamedSpeechRule(t,e){const r=L.getInstance().trie.collectR... method evaluateNode (line 1) | evaluateNode(t){(0,s.updateEvaluator)(t);const e=(new Date).getTime();... method toString (line 1) | toString(){return this.trie.collectRules().map((t=>t.toString())).join... method runInSetting (line 1) | runInSetting(t,e){const r=Q.default.getInstance(),n={};for(const e in ... method addStore (line 1) | addStore(t){const e=y(t);"abstract"!==e.kind&&e.getSpeechRules().forEa... method processGrammar (line 1) | processGrammar(t,e,r){const n={};for(const o in r){const i=r[o];n[o]="... method addEvaluator (line 1) | addEvaluator(t){const e=t.evaluateDefault.bind(t),r=this.evaluators_[t... method getEvaluator (line 1) | getEvaluator(t,e){const r=this.evaluators_[t]||this.evaluators_[u.Dyna... method enumerate (line 1) | enumerate(t){return this.trie.enumerate(t)} method evaluateNode_ (line 1) | evaluateNode_(t){return t?(this.updateConstraint_(),this.evaluateTree_... method evaluateTree_ (line 1) | evaluateTree_(t){const e=Q.default.getInstance();let r;o.Debugger.getI... method evaluateNodeList_ (line 1) | evaluateNodeList_(t,e,r,o,i,Q){if(!e.length)return[];const T=o||"",s=Q... method addLayout (line 1) | addLayout(t,e,r){const o=e.layout;o&&(o.match(/^begin/)?t.unshift(new ... method addPersonality_ (line 1) | addPersonality_(t,e,r,o){const i={};let Q=null;for(const t of T.person... method addExternalAttributes_ (line 1) | addExternalAttributes_(t,e){if(e.hasAttributes()){const r=e.attributes... method addRelativePersonality_ (line 1) | addRelativePersonality_(t,e){if(!t.personality)return t.personality=e,... method updateConstraint_ (line 1) | updateConstraint_(){const t=Q.default.getInstance().dynamicCstr,e=Q.de... method makeSet_ (line 1) | makeSet_(t,e){return e&&Object.keys(e).length?t.split(":"):[t]} method lookupRule (line 1) | lookupRule(t,e){if(!t||t.nodeType!==i.NodeType.ELEMENT_NODE&&t.nodeTyp... method lookupRules (line 1) | lookupRules(t,e){return this.trie.lookupRules(t,e.allProperties())} method pickMostConstraint_ (line 1) | pickMostConstraint_(t,e){const r=Q.default.getInstance().comparator;re... function m (line 1) | function m(t){const e=t.names;e&&(t.names=e.map((function(t){return t+":... function y (line 1) | function y(t){return!(!t.locale&&!t.modality)&&(s=t.locale||s,a=t.modali... function H (line 1) | function H(t){let e=c[t];return e?(n.Debugger.getInstance().output("Stor... function g (line 1) | function g(t,e){e&&(t.category=e)} method constructor (line 1) | constructor(t,e,r,n){this.node=t,this.generator=e,this.highlighter=r,t... method getXml (line 1) | getXml(){return this.xml_||(this.xml_=i.parseInput(this.xmlString_)),t... method getRebuilt (line 1) | getRebuilt(){return this.rebuilt_||this.rebuildStree(),this.rebuilt_} method isActive (line 1) | isActive(){return this.active_} method activate (line 1) | activate(){this.isActive()||(this.generator.start(),this.toggleActive_... method deactivate (line 1) | deactivate(){this.isActive()&&(m.WalkerState.setState(this.id,this.pri... method getFocus (line 1) | getFocus(t=!1){return this.focus_||(this.focus_=this.singletonFocus(th... method setFocus (line 1) | setFocus(t){this.focus_=t} method getDepth (line 1) | getDepth(){return this.levels.depth()-1} method isSpeech (line 1) | isSpeech(){return this.generator.modality===a.Attribute.SPEECH} method focusDomNodes (line 1) | focusDomNodes(){return this.getFocus().getDomNodes()} method focusSemanticNodes (line 1) | focusSemanticNodes(){return this.getFocus().getSemanticNodes()} method speech (line 1) | speech(){const t=this.focusDomNodes();if(!t.length)return"";const e=th... method move (line 1) | move(t){const e=this.keyMapping.get(t);if(!e)return null;const r=e();r... method up (line 1) | up(){return this.moved=m.WalkerMoves.UP,this.getFocus()} method down (line 1) | down(){return this.moved=m.WalkerMoves.DOWN,this.getFocus()} method left (line 1) | left(){return this.moved=m.WalkerMoves.LEFT,this.getFocus()} method right (line 1) | right(){return this.moved=m.WalkerMoves.RIGHT,this.getFocus()} method repeat (line 1) | repeat(){return this.moved=m.WalkerMoves.REPEAT,this.getFocus().clone()} method depth (line 1) | depth(){return this.moved=this.isSpeech()?m.WalkerMoves.DEPTH:m.Walker... method home (line 1) | home(){this.moved=m.WalkerMoves.HOME;return this.singletonFocus(this.r... method getBySemanticId (line 1) | getBySemanticId(t){return y.getBySemanticId(this.node,t)} method primaryId (line 1) | primaryId(){return this.getFocus().getSemanticPrimary().id.toString()} method expand (line 1) | expand(){const t=this.getFocus().getDomPrimary(),e=this.actionable_(t)... method expandable (line 1) | expandable(t){return!!this.actionable_(t)&&0===t.childNodes.length} method collapsible (line 1) | collapsible(t){return!!this.actionable_(t)&&t.childNodes.length>0} method restoreState (line 1) | restoreState(){if(!this.highlighter)return;const t=m.WalkerState.getSt... method updateFocus (line 1) | updateFocus(){this.setFocus(f.Focus.factory(this.getFocus().getSemanti... method rebuildStree (line 1) | rebuildStree(){this.rebuilt_=new L.RebuildStree(this.getXml()),this.ro... method previousLevel (line 1) | previousLevel(){const t=this.getFocus().getDomPrimary();return t?y.get... method nextLevel (line 1) | nextLevel(){const t=this.getFocus().getDomPrimary();let e,r;if(t){e=y.... method singletonFocus (line 1) | singletonFocus(t){this.getRebuilt();const e=this.retrieveVisuals(t);re... method retrieveVisuals (line 1) | retrieveVisuals(t){if(!this.skeleton)return[t];const e=parseInt(t,10),... method subtreeIds (line 1) | subtreeIds(t,e){const r=H.evalXPath(`//*[@data-semantic-id="${t}"]`,th... method focusFromId (line 1) | focusFromId(t,e){return f.Focus.factory(t,e,this.getRebuilt(),this.node)} method summary (line 1) | summary(){return this.moved=this.isSpeech()?m.WalkerMoves.SUMMARY:m.Wa... method detail (line 1) | detail(){return this.moved=this.isSpeech()?m.WalkerMoves.DETAIL:m.Walk... method specialMove (line 1) | specialMove(){return null} method virtualize (line 1) | virtualize(t){return this.cursors.push({focus:this.getFocus(),levels:t... method previous (line 1) | previous(){const t=this.cursors.pop();return t?(this.levels=t.levels,t... method undo (line 1) | undo(){let t;do{t=this.cursors.pop()}while(t&&!t.undo);return t?(this.... method update (line 1) | update(t){this.generator.setOptions(t),(0,T.setup)(t).then((()=>p.gene... method nextRules (line 1) | nextRules(){const t=this.generator.getOptions();return"speech"!==t.mod... method nextStyle (line 1) | nextStyle(t,e){if("mathspeak"===t){const t=["default","brief","sbrief"... method previousRules (line 1) | previousRules(){const t=this.generator.getOptions();return"speech"!==t... method refocus (line 1) | refocus(){let t,e=this.getFocus();for(;!e.getNodes().length;){t=this.l... method toggleActive_ (line 1) | toggleActive_(){this.active_=!this.active_} method mergePrefix_ (line 1) | mergePrefix_(t,e=[]){const r=this.isSpeech()?this.prefix_():"";r&&t.un... method prefix_ (line 1) | prefix_(){const t=this.getFocus().getDomNodes(),e=this.getFocus().getS... method postfix_ (line 1) | postfix_(){const t=this.getFocus().getDomNodes();return t[0]?y.getAttr... method depth_ (line 1) | depth_(){const t=c.Grammar.getInstance().getParameter("depth");c.Gramm... method actionable_ (line 1) | actionable_(t){const e=null==t?void 0:t.parentNode;return e&&this.high... method summary_ (line 1) | summary_(){const t=this.getFocus().getSemanticPrimary().id.toString(),... method detail_ (line 1) | detail_(){const t=this.getFocus().getSemanticPrimary().id.toString(),e... class i (line 1) | class i{constructor(){this.category="",this.rules=new Map}static parseUn... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... class s (line 1) | class s extends Q.BaseRuleStore{constructor(){super(),this.annotators=[]... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... function Q (line 1) | function Q(t){switch(t){case"[n]":return i.NODE;case"[m]":return i.MULTI... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} method constructor (line 1) | constructor(t,e,r,n){this.name=t,this.dynamicCstr=e,this.precondition=r,... method toString (line 1) | toString(){return this.name+" | "+this.dynamicCstr.toString()+" | "+this... class T (line 1) | class T{constructor({type:t,content:e,attributes:r,grammar:n}){this.type... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... class s (line 1) | class s{constructor(t){this.components=t}static fromString(t){const e=c(... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... class a (line 1) | class a{constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=t... method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;n!0)),this.kind=a.TrieNodeKind.ROOT} method constructor (line 1) | constructor(t){super(t),this.name="RuleError"} function c (line 1) | function c(t,e){const r=[];let n="";for(;""!==t;){const o=t.search(e);if... method constructor (line 1) | constructor(t){super(t),this.fenced=null,this.fencedMml=null,this.fenc... method test (line 1) | static test(t){return!(!t.mathmlTree||!t.fencePointer||t.mathmlTree.ge... method makeEmptyNode_ (line 1) | static makeEmptyNode_(t){const e=n.createElement("mrow"),r=new o.Seman... method fencedMap_ (line 1) | static fencedMap_(t,e){e[t.id]=t.mathmlTree,t.embellished&&c.fencedMap... method getMathml (line 1) | getMathml(){this.getFenced_(),this.fencedMml=a.walkTree(this.fenced),t... method fencedElement (line 1) | fencedElement(t){return"fenced"===t.type||"matrix"===t.type||"vector"=... method getFenced_ (line 1) | getFenced_(){let t=this.semantic;for(;!this.fencedElement(t);)t=t.chil... method getFencedMml_ (line 1) | getFencedMml_(){let t=this.ofenceMml.nextSibling;for(t=t===this.fenced... method getFencesMml_ (line 1) | getFencesMml_(){let t=this.semantic;const e=Object.keys(this.ofenceMap... method rewrite_ (line 1) | rewrite_(){let t=this.semantic,e=null;const r=this.introduceNewLayer_(... method specialCase_ (line 1) | specialCase_(t,e){const r=n.tagName(e);let o,i=null;if("MSUBSUP"===r?(... method introduceNewLayer_ (line 1) | introduceNewLayer_(){const t=this.fullFence(this.ofenceMml),e=this.ful... method fullFence (line 1) | fullFence(t){const e=this.fencedMml.parentNode;let r=t;for(;r.parentNo... method cleanupParents_ (line 1) | cleanupParents_(){this.parentCleanup.forEach((function(t){const e=t.ch... method constructor (line 1) | constructor(t){super(t,(e=>e===t)),this.kind=a.TrieNodeKind.DYNAMIC} method constructor (line 1) | constructor(t,e){super(t,e),this.preference=t instanceof a?t.preferenc... method match (line 1) | match(t){if(!(t instanceof a))return super.match(t);if("default"===t.g... method compare (line 1) | compare(t,e){const r=super.compare(t,e);if(0!==r)return r;const n=t in... method constructor (line 1) | constructor(){this.customQueries=new o.CustomQueries,this.customStrings=... method applyCustomQuery (line 1) | applyCustomQuery(t,e){const r=this.customQueries.lookup(e);return r?r(t)... method applySelector (line 1) | applySelector(t,e){return this.applyCustomQuery(t,e)||n.evalXPath(e,t)} method applyQuery (line 1) | applyQuery(t,e){const r=this.applySelector(t,e);return r.length>0?r[0]:n... method applyConstraint (line 1) | applyConstraint(t,e){return!!this.applyQuery(t,e)||n.evaluateBoolean(e,t)} method constructString (line 1) | constructString(t,e){if(!e)return"";if('"'===e.charAt(0))return e.slice(... method parse (line 1) | parse(t){const e=Array.isArray(t)?t:Object.entries(t);for(let t,r=0;t=e[... class L (line 1) | class L{constructor(){this.trie=null,this.evaluators_={},this.trie=new f... method constructor (line 1) | constructor(){this.trie=null,this.evaluators_={},this.trie=new f.Trie} method getInstance (line 1) | static getInstance(){return L.instance=L.instance||new L,L.instance} method debugSpeechRule (line 1) | static debugSpeechRule(t,e){const r=t.precondition,n=t.context.applyQu... method debugNamedSpeechRule (line 1) | static debugNamedSpeechRule(t,e){const r=L.getInstance().trie.collectR... method evaluateNode (line 1) | evaluateNode(t){(0,s.updateEvaluator)(t);const e=(new Date).getTime();... method toString (line 1) | toString(){return this.trie.collectRules().map((t=>t.toString())).join... method runInSetting (line 1) | runInSetting(t,e){const r=Q.default.getInstance(),n={};for(const e in ... method addStore (line 1) | addStore(t){const e=y(t);"abstract"!==e.kind&&e.getSpeechRules().forEa... method processGrammar (line 1) | processGrammar(t,e,r){const n={};for(const o in r){const i=r[o];n[o]="... method addEvaluator (line 1) | addEvaluator(t){const e=t.evaluateDefault.bind(t),r=this.evaluators_[t... method getEvaluator (line 1) | getEvaluator(t,e){const r=this.evaluators_[t]||this.evaluators_[u.Dyna... method enumerate (line 1) | enumerate(t){return this.trie.enumerate(t)} method evaluateNode_ (line 1) | evaluateNode_(t){return t?(this.updateConstraint_(),this.evaluateTree_... method evaluateTree_ (line 1) | evaluateTree_(t){const e=Q.default.getInstance();let r;o.Debugger.getI... method evaluateNodeList_ (line 1) | evaluateNodeList_(t,e,r,o,i,Q){if(!e.length)return[];const T=o||"",s=Q... method addLayout (line 1) | addLayout(t,e,r){const o=e.layout;o&&(o.match(/^begin/)?t.unshift(new ... method addPersonality_ (line 1) | addPersonality_(t,e,r,o){const i={};let Q=null;for(const t of T.person... method addExternalAttributes_ (line 1) | addExternalAttributes_(t,e){if(e.hasAttributes()){const r=e.attributes... method addRelativePersonality_ (line 1) | addRelativePersonality_(t,e){if(!t.personality)return t.personality=e,... method updateConstraint_ (line 1) | updateConstraint_(){const t=Q.default.getInstance().dynamicCstr,e=Q.de... method makeSet_ (line 1) | makeSet_(t,e){return e&&Object.keys(e).length?t.split(":"):[t]} method lookupRule (line 1) | lookupRule(t,e){if(!t||t.nodeType!==i.NodeType.ELEMENT_NODE&&t.nodeTyp... method lookupRules (line 1) | lookupRules(t,e){return this.trie.lookupRules(t,e.allProperties())} method pickMostConstraint_ (line 1) | pickMostConstraint_(t,e){const r=Q.default.getInstance().comparator;re... function y (line 1) | function y(t){const e=`${t.locale}.${t.modality}.${t.domain}`;if("action... class r (line 1) | class r{constructor(t,e){this.prefix=t,this.store=e}add(t,e){this.checkC... method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} method constructor (line 1) | constructor(){super("CQF",{})} method constructor (line 1) | constructor(){super("CSF",{})} method constructor (line 1) | constructor(){super("CTF",{})} method constructor (line 1) | constructor(){super("CGF",{})} function i (line 1) | function i(t){return new o.SemanticTree(t)} method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... method constructor (line 1) | constructor(t,e,r){this.domain=t,this.name=e,this.func=r,this.active=!1} method annotate (line 1) | annotate(t){t.childNodes.forEach(this.annotate.bind(this)),t.addAnnotati... method constructor (line 1) | constructor(t,e,r,n={}){this.domain=t,this.name=e,this.func=r,this.def=n... method visit (line 1) | visit(t,e){let r=this.func(t,e);t.addAnnotation(this.domain,r[0]);for(le... function gt (line 1) | function gt(t,e){return`${t} ${e}`} function bt (line 1) | function bt(t,e,r=""){for(const n of e)Ht.set(gt(t,n),r||t)} class i (line 1) | class i{constructor(){this.map={}}static key(t,e){return e?t+":"+e:t}add... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... class Q (line 1) | class Q{constructor(){this.map={}}add(t,e){const r=this.map[t];r?r.push(... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} class T (line 1) | class T extends Q{copyCollator(){return new T}add(t,e){const r=i.key(t,e... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... class s (line 1) | class s extends Q{copyCollator(){return new s}add(t,e){const r=this.retr... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... class r (line 1) | class r{constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applica... method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function n (line 1) | function n(t){return r.get(t)} method constructor (line 1) | constructor(t,e=Object.keys(t)){this.properties=t,this.order=e} method createProp (line 1) | static createProp(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method getProperties (line 1) | getProperties(){return this.properties} method getOrder (line 1) | getOrder(){return this.order} method getAxes (line 1) | getAxes(){return this.order} method getProperty (line 1) | getProperty(t){return this.properties[t]} method updateProperties (line 1) | updateProperties(t){this.properties=t} method allProperties (line 1) | allProperties(){const t=[];return this.order.forEach((e=>t.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function c (line 1) | function c(t,e,r){let n=null;if(!t.length)return n;const o=r[r.length-1]... method constructor (line 1) | constructor(t){super(t),this.fenced=null,this.fencedMml=null,this.fenc... method test (line 1) | static test(t){return!(!t.mathmlTree||!t.fencePointer||t.mathmlTree.ge... method makeEmptyNode_ (line 1) | static makeEmptyNode_(t){const e=n.createElement("mrow"),r=new o.Seman... method fencedMap_ (line 1) | static fencedMap_(t,e){e[t.id]=t.mathmlTree,t.embellished&&c.fencedMap... method getMathml (line 1) | getMathml(){this.getFenced_(),this.fencedMml=a.walkTree(this.fenced),t... method fencedElement (line 1) | fencedElement(t){return"fenced"===t.type||"matrix"===t.type||"vector"=... method getFenced_ (line 1) | getFenced_(){let t=this.semantic;for(;!this.fencedElement(t);)t=t.chil... method getFencedMml_ (line 1) | getFencedMml_(){let t=this.ofenceMml.nextSibling;for(t=t===this.fenced... method getFencesMml_ (line 1) | getFencesMml_(){let t=this.semantic;const e=Object.keys(this.ofenceMap... method rewrite_ (line 1) | rewrite_(){let t=this.semantic,e=null;const r=this.introduceNewLayer_(... method specialCase_ (line 1) | specialCase_(t,e){const r=n.tagName(e);let o,i=null;if("MSUBSUP"===r?(... method introduceNewLayer_ (line 1) | introduceNewLayer_(){const t=this.fullFence(this.ofenceMml),e=this.ful... method fullFence (line 1) | fullFence(t){const e=this.fencedMml.parentNode;let r=t;for(;r.parentNo... method cleanupParents_ (line 1) | cleanupParents_(){this.parentCleanup.forEach((function(t){const e=t.ch... method constructor (line 1) | constructor(t){super(t,(e=>e===t)),this.kind=a.TrieNodeKind.DYNAMIC} method constructor (line 1) | constructor(t,e){super(t,e),this.preference=t instanceof a?t.preferenc... method match (line 1) | match(t){if(!(t instanceof a))return super.match(t);if("default"===t.g... method compare (line 1) | compare(t,e){const r=super.compare(t,e);if(0!==r)return r;const n=t in... function u (line 1) | function u(t,e,r){if(!e.length)return t;const o=t.pop(),i=e.shift(),T=r.... method constructor (line 1) | constructor(){super([Q.Axis.LOCALE,Q.Axis.MODALITY,Q.Axis.DOMAIN,Q.Axi... method parse (line 1) | parse(t){const e=super.parse(t);let r=e.getValue(Q.Axis.STYLE);const n... method fromPreference (line 1) | fromPreference(t){return a.fromPreference(t)} method toPreference (line 1) | toPreference(t){return a.toPreference(t)} method constructor (line 1) | constructor(t){this.mathml=t,this.factory=new Q.SemanticNodeFactory,th... method addAttributes (line 1) | static addAttributes(t,e,r){r&&1===e.childNodes.length&&e.childNodes[0... method textContent (line 1) | static textContent(t,e,r){if(!r&&e.textContent)return void(t.textConte... method isPunctuated (line 1) | static isPunctuated(t){return!s.SemanticSkeleton.simpleCollapseStructu... method getTree (line 1) | getTree(){return this.stree} method assembleTree (line 1) | assembleTree(t){const e=this.makeNode(t),r=c.splitAttribute(c.getAttri... method makeNode (line 1) | makeNode(t){const e=c.getAttribute(t,o.Attribute.TYPE),r=c.getAttribut... method makePunctuation (line 1) | makePunctuation(t){const e=this.createNode(t);return e.updateContent((... method makePunctuated (line 1) | makePunctuated(t,e,r){const n=this.createNode(e[0]);n.type="punctuated... method makeEmpty (line 1) | makeEmpty(t,e,r){const n=this.createNode(e);n.type="empty",n.embellish... method makeIndex (line 1) | makeIndex(t,e,r){if(u.isPunctuated(e))return this.makePunctuated(t,e,r... method postProcess (line 1) | postProcess(t,e){const r=s.SemanticSkeleton.fromString(e).array;if("su... method createNode (line 1) | createNode(t){const e=this.factory.makeNode(t);return this.nodeDict[t.... method collapsedChildren_ (line 1) | collapsedChildren_(t){const e=t=>{const r=this.nodeDict[t[0]];r.childN... method setParent (line 1) | setParent(t,e){const r=c.getBySemanticId(this.mathml,t),n=this.assembl... class s (line 1) | class s extends o.SemanticAbstractParser{constructor(){super("MathML"),t... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... class Q (line 1) | class Q{constructor(t){this.id=t,this.mathml=[],this.parent=null,this.ty... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} method constructor (line 1) | constructor(){this.leafMap=new o.SemanticNodeCollator,this.defaultMap=ne... method makeNode (line 1) | makeNode(t){return this.createNode_(t)} method makeUnprocessed (line 1) | makeUnprocessed(t){const e=this.createNode_();return e.mathml=[t],e.math... method makeEmptyNode (line 1) | makeEmptyNode(){const t=this.createNode_();return t.type="empty",t} method makeContentNode (line 1) | makeContentNode(t){const e=this.createNode_();return e.updateContent(t),e} method makeMultipleContentNodes (line 1) | makeMultipleContentNodes(t,e){const r=[];for(let n=0;nt.push(this.g... method toString (line 1) | toString(){const t=[];return this.order.forEach((e=>t.push(e+": "+this... function o (line 1) | function o(t,e){for(let n,o=0;n=r[o];o++){const r=n.compare(t,e);if(0!==... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... function i (line 1) | function i(t){t.sort(o)} method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... class Q (line 1) | class Q{constructor(t,e=null){this.comparator=t,this.type=e,n(this)}comp... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} method constructor (line 1) | constructor(t){this.type=t,this.factory_=new n.SemanticNodeFactory} method getFactory (line 1) | getFactory(){return this.factory_} method setFactory (line 1) | setFactory(t){this.factory_=t} method getType (line 1) | getType(){return this.type} method parseList (line 1) | parseList(t){const e=[];for(let r,n=0;r=t[n];n++)e.push(this.parse(r));r... function i (line 1) | function i(t,e){return t.type===e} method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... function Q (line 1) | function Q(t,e){return t.embellished===e} method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function T (line 1) | function T(t,e){return t.role===e} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... function s (line 1) | function s(t){return l(t)||c(t)} method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... function a (line 1) | function a(t){return i(t,"operator")||Q(t,"operator")} method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;n!0)),this.kind=a.TrieNodeKind.ROOT} method constructor (line 1) | constructor(t){super(t),this.name="RuleError"} function c (line 1) | function c(t){return i(t,"punctuation")||Q(t,"punctuation")} method constructor (line 1) | constructor(t){super(t),this.fenced=null,this.fencedMml=null,this.fenc... method test (line 1) | static test(t){return!(!t.mathmlTree||!t.fencePointer||t.mathmlTree.ge... method makeEmptyNode_ (line 1) | static makeEmptyNode_(t){const e=n.createElement("mrow"),r=new o.Seman... method fencedMap_ (line 1) | static fencedMap_(t,e){e[t.id]=t.mathmlTree,t.embellished&&c.fencedMap... method getMathml (line 1) | getMathml(){this.getFenced_(),this.fencedMml=a.walkTree(this.fenced),t... method fencedElement (line 1) | fencedElement(t){return"fenced"===t.type||"matrix"===t.type||"vector"=... method getFenced_ (line 1) | getFenced_(){let t=this.semantic;for(;!this.fencedElement(t);)t=t.chil... method getFencedMml_ (line 1) | getFencedMml_(){let t=this.ofenceMml.nextSibling;for(t=t===this.fenced... method getFencesMml_ (line 1) | getFencesMml_(){let t=this.semantic;const e=Object.keys(this.ofenceMap... method rewrite_ (line 1) | rewrite_(){let t=this.semantic,e=null;const r=this.introduceNewLayer_(... method specialCase_ (line 1) | specialCase_(t,e){const r=n.tagName(e);let o,i=null;if("MSUBSUP"===r?(... method introduceNewLayer_ (line 1) | introduceNewLayer_(){const t=this.fullFence(this.ofenceMml),e=this.ful... method fullFence (line 1) | fullFence(t){const e=this.fencedMml.parentNode;let r=t;for(;r.parentNo... method cleanupParents_ (line 1) | cleanupParents_(){this.parentCleanup.forEach((function(t){const e=t.ch... method constructor (line 1) | constructor(t){super(t,(e=>e===t)),this.kind=a.TrieNodeKind.DYNAMIC} method constructor (line 1) | constructor(t,e){super(t,e),this.preference=t instanceof a?t.preferenc... method match (line 1) | match(t){if(!(t instanceof a))return super.match(t);if("default"===t.g... method compare (line 1) | compare(t,e){const r=super.compare(t,e);if(0!==r)return r;const n=t in... function u (line 1) | function u(t){return i(t,"fence")||Q(t,"fence")} method constructor (line 1) | constructor(){super([Q.Axis.LOCALE,Q.Axis.MODALITY,Q.Axis.DOMAIN,Q.Axi... method parse (line 1) | parse(t){const e=super.parse(t);let r=e.getValue(Q.Axis.STYLE);const n... method fromPreference (line 1) | fromPreference(t){return a.fromPreference(t)} method toPreference (line 1) | toPreference(t){return a.toPreference(t)} method constructor (line 1) | constructor(t){this.mathml=t,this.factory=new Q.SemanticNodeFactory,th... method addAttributes (line 1) | static addAttributes(t,e,r){r&&1===e.childNodes.length&&e.childNodes[0... method textContent (line 1) | static textContent(t,e,r){if(!r&&e.textContent)return void(t.textConte... method isPunctuated (line 1) | static isPunctuated(t){return!s.SemanticSkeleton.simpleCollapseStructu... method getTree (line 1) | getTree(){return this.stree} method assembleTree (line 1) | assembleTree(t){const e=this.makeNode(t),r=c.splitAttribute(c.getAttri... method makeNode (line 1) | makeNode(t){const e=c.getAttribute(t,o.Attribute.TYPE),r=c.getAttribut... method makePunctuation (line 1) | makePunctuation(t){const e=this.createNode(t);return e.updateContent((... method makePunctuated (line 1) | makePunctuated(t,e,r){const n=this.createNode(e[0]);n.type="punctuated... method makeEmpty (line 1) | makeEmpty(t,e,r){const n=this.createNode(e);n.type="empty",n.embellish... method makeIndex (line 1) | makeIndex(t,e,r){if(u.isPunctuated(e))return this.makePunctuated(t,e,r... method postProcess (line 1) | postProcess(t,e){const r=s.SemanticSkeleton.fromString(e).array;if("su... method createNode (line 1) | createNode(t){const e=this.factory.makeNode(t);return this.nodeDict[t.... method collapsedChildren_ (line 1) | collapsedChildren_(t){const e=t=>{const r=this.nodeDict[t[0]];r.childN... method setParent (line 1) | setParent(t,e){const r=c.getBySemanticId(this.mathml,t),n=this.assembl... function p (line 1) | function p(t){return!t.embellished||!function(t){return i(t,"tensor")&&(... function h (line 1) | function h(t){return!!t&&(i(t,"table")||i(t,"multiline"))} method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyQuery(t,t... function d (line 1) | function d(t){return!!t&&i(t,"fenced")&&(T(t,"leftright")||y(t))&&1===t.... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyConstrain... function f (line 1) | function f(t){return!!t&&-1!==["{","\ufe5b","\uff5b"].indexOf(t.textCont... function L (line 1) | function L(t){return!!t&&-1!==["}","\ufe5c","\uff5d"].indexOf(t.textCont... method constructor (line 1) | constructor(){this.trie=null,this.evaluators_={},this.trie=new f.Trie} method getInstance (line 1) | static getInstance(){return L.instance=L.instance||new L,L.instance} method debugSpeechRule (line 1) | static debugSpeechRule(t,e){const r=t.precondition,n=t.context.applyQu... method debugNamedSpeechRule (line 1) | static debugNamedSpeechRule(t,e){const r=L.getInstance().trie.collectR... method evaluateNode (line 1) | evaluateNode(t){(0,s.updateEvaluator)(t);const e=(new Date).getTime();... method toString (line 1) | toString(){return this.trie.collectRules().map((t=>t.toString())).join... method runInSetting (line 1) | runInSetting(t,e){const r=Q.default.getInstance(),n={};for(const e in ... method addStore (line 1) | addStore(t){const e=y(t);"abstract"!==e.kind&&e.getSpeechRules().forEa... method processGrammar (line 1) | processGrammar(t,e,r){const n={};for(const o in r){const i=r[o];n[o]="... method addEvaluator (line 1) | addEvaluator(t){const e=t.evaluateDefault.bind(t),r=this.evaluators_[t... method getEvaluator (line 1) | getEvaluator(t,e){const r=this.evaluators_[t]||this.evaluators_[u.Dyna... method enumerate (line 1) | enumerate(t){return this.trie.enumerate(t)} method evaluateNode_ (line 1) | evaluateNode_(t){return t?(this.updateConstraint_(),this.evaluateTree_... method evaluateTree_ (line 1) | evaluateTree_(t){const e=Q.default.getInstance();let r;o.Debugger.getI... method evaluateNodeList_ (line 1) | evaluateNodeList_(t,e,r,o,i,Q){if(!e.length)return[];const T=o||"",s=Q... method addLayout (line 1) | addLayout(t,e,r){const o=e.layout;o&&(o.match(/^begin/)?t.unshift(new ... method addPersonality_ (line 1) | addPersonality_(t,e,r,o){const i={};let Q=null;for(const t of T.person... method addExternalAttributes_ (line 1) | addExternalAttributes_(t,e){if(e.hasAttributes()){const r=e.attributes... method addRelativePersonality_ (line 1) | addRelativePersonality_(t,e){if(!t.personality)return t.personality=e,... method updateConstraint_ (line 1) | updateConstraint_(){const t=Q.default.getInstance().dynamicCstr,e=Q.de... method makeSet_ (line 1) | makeSet_(t,e){return e&&Object.keys(e).length?t.split(":"):[t]} method lookupRule (line 1) | lookupRule(t,e){if(!t||t.nodeType!==i.NodeType.ELEMENT_NODE&&t.nodeTyp... method lookupRules (line 1) | lookupRules(t,e){return this.trie.lookupRules(t,e.allProperties())} method pickMostConstraint_ (line 1) | pickMostConstraint_(t,e){const r=Q.default.getInstance().comparator;re... function m (line 1) | function m(t){return"number"===t.type&&("integer"===t.role||"float"===t.... function y (line 1) | function y(t){return"neutral"===t.role||"metric"===t.role} class a (line 1) | class a{constructor(){this.funcAppls={},this.factory_=new Q.SemanticNode... method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;n"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} class a (line 1) | class a{constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,th... method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;n{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... function i (line 1) | function i(t,e,r){r&&t.reverse();const n=[];for(let o,i=0;o=t[i];i++){if... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... method constructor (line 1) | constructor(){this.modality=o.addPrefix("speech"),this.rebuilt_=null,thi... method getRebuilt (line 1) | getRebuilt(){return this.rebuilt_} method setRebuilt (line 1) | setRebuilt(t){this.rebuilt_=t} method setOptions (line 1) | setOptions(t){this.options_=t||{},this.modality=o.addPrefix(this.options... method getOptions (line 1) | getOptions(){return this.options_} method start (line 1) | start(){} method end (line 1) | end(){} method generateSpeech (line 1) | generateSpeech(t,e){return this.rebuilt_||(this.rebuilt_=new i.RebuildSt... class o (line 1) | class o extends n.AbstractSpeechGenerator{getSpeech(t,e){const r=this.ge... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... class s (line 1) | class s extends T.AbstractSpeechGenerator{constructor(){super(...argumen... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... class i (line 1) | class i extends o.AbstractSpeechGenerator{getSpeech(t,e){return n.getAtt... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... class o (line 1) | class o extends n.AbstractSpeechGenerator{getSpeech(t,e){return""}} method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... class i (line 1) | class i extends o.TreeSpeechGenerator{getSpeech(t,e){return super.getSpe... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... function l (line 1) | function l(t){return T.SpeechRuleEngine.getInstance().evaluateNode(t)} method constructor (line 1) | constructor(){super("",(()=>!0)),this.kind=a.TrieNodeKind.ROOT} method constructor (line 1) | constructor(t){super(t),this.name="RuleError"} function c (line 1) | function c(t){return l(s.SemanticTree.fromNode(t).xml())} method constructor (line 1) | constructor(t){super(t),this.fenced=null,this.fencedMml=null,this.fenc... method test (line 1) | static test(t){return!(!t.mathmlTree||!t.fencePointer||t.mathmlTree.ge... method makeEmptyNode_ (line 1) | static makeEmptyNode_(t){const e=n.createElement("mrow"),r=new o.Seman... method fencedMap_ (line 1) | static fencedMap_(t,e){e[t.id]=t.mathmlTree,t.embellished&&c.fencedMap... method getMathml (line 1) | getMathml(){this.getFenced_(),this.fencedMml=a.walkTree(this.fenced),t... method fencedElement (line 1) | fencedElement(t){return"fenced"===t.type||"matrix"===t.type||"vector"=... method getFenced_ (line 1) | getFenced_(){let t=this.semantic;for(;!this.fencedElement(t);)t=t.chil... method getFencedMml_ (line 1) | getFencedMml_(){let t=this.ofenceMml.nextSibling;for(t=t===this.fenced... method getFencesMml_ (line 1) | getFencesMml_(){let t=this.semantic;const e=Object.keys(this.ofenceMap... method rewrite_ (line 1) | rewrite_(){let t=this.semantic,e=null;const r=this.introduceNewLayer_(... method specialCase_ (line 1) | specialCase_(t,e){const r=n.tagName(e);let o,i=null;if("MSUBSUP"===r?(... method introduceNewLayer_ (line 1) | introduceNewLayer_(){const t=this.fullFence(this.ofenceMml),e=this.ful... method fullFence (line 1) | fullFence(t){const e=this.fencedMml.parentNode;let r=t;for(;r.parentNo... method cleanupParents_ (line 1) | cleanupParents_(){this.parentCleanup.forEach((function(t){const e=t.ch... method constructor (line 1) | constructor(t){super(t,(e=>e===t)),this.kind=a.TrieNodeKind.DYNAMIC} method constructor (line 1) | constructor(t,e){super(t,e),this.preference=t instanceof a?t.preferenc... method match (line 1) | match(t){if(!(t instanceof a))return super.match(t);if("default"===t.g... method compare (line 1) | compare(t,e){const r=super.compare(t,e);if(0!==r)return r;const n=t in... function u (line 1) | function u(t){const e=c(t);return n.markup(e)} method constructor (line 1) | constructor(){super([Q.Axis.LOCALE,Q.Axis.MODALITY,Q.Axis.DOMAIN,Q.Axi... method parse (line 1) | parse(t){const e=super.parse(t);let r=e.getValue(Q.Axis.STYLE);const n... method fromPreference (line 1) | fromPreference(t){return a.fromPreference(t)} method toPreference (line 1) | toPreference(t){return a.toPreference(t)} method constructor (line 1) | constructor(t){this.mathml=t,this.factory=new Q.SemanticNodeFactory,th... method addAttributes (line 1) | static addAttributes(t,e,r){r&&1===e.childNodes.length&&e.childNodes[0... method textContent (line 1) | static textContent(t,e,r){if(!r&&e.textContent)return void(t.textConte... method isPunctuated (line 1) | static isPunctuated(t){return!s.SemanticSkeleton.simpleCollapseStructu... method getTree (line 1) | getTree(){return this.stree} method assembleTree (line 1) | assembleTree(t){const e=this.makeNode(t),r=c.splitAttribute(c.getAttri... method makeNode (line 1) | makeNode(t){const e=c.getAttribute(t,o.Attribute.TYPE),r=c.getAttribut... method makePunctuation (line 1) | makePunctuation(t){const e=this.createNode(t);return e.updateContent((... method makePunctuated (line 1) | makePunctuated(t,e,r){const n=this.createNode(e[0]);n.type="punctuated... method makeEmpty (line 1) | makeEmpty(t,e,r){const n=this.createNode(e);n.type="empty",n.embellish... method makeIndex (line 1) | makeIndex(t,e,r){if(u.isPunctuated(e))return this.makePunctuated(t,e,r... method postProcess (line 1) | postProcess(t,e){const r=s.SemanticSkeleton.fromString(e).array;if("su... method createNode (line 1) | createNode(t){const e=this.factory.makeNode(t);return this.nodeDict[t.... method collapsedChildren_ (line 1) | collapsedChildren_(t){const e=t=>{const r=this.nodeDict[t[0]];r.childN... method setParent (line 1) | setParent(t,e){const r=c.getBySemanticId(this.mathml,t),n=this.assembl... function p (line 1) | function p(t){const e=h(t);return n.markup(e)} function h (line 1) | function h(t){const e=s.SemanticTree.fromRoot(t),r=i.evalXPath('.//*[@id... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyQuery(t,t... function d (line 1) | function d(t,e){const r=e[0];if(!t.parent)return r;const n=[];for(;t;)n.... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyConstrain... function f (line 1) | function f(t){return t?T.SpeechRuleEngine.getInstance().runInSetting({mo... class i (line 1) | class i extends n.AbstractSpeechGenerator{getSpeech(t,e){return o.connec... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... class T (line 1) | class T extends i.AbstractSpeechGenerator{getSpeech(t,e){const r=this.ge... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... function c (line 1) | function c(){const t=i.LOCALE.ALPHABETS,r=(t,e)=>{const r={};return Obje... method constructor (line 1) | constructor(t){super(t),this.fenced=null,this.fencedMml=null,this.fenc... method test (line 1) | static test(t){return!(!t.mathmlTree||!t.fencePointer||t.mathmlTree.ge... method makeEmptyNode_ (line 1) | static makeEmptyNode_(t){const e=n.createElement("mrow"),r=new o.Seman... method fencedMap_ (line 1) | static fencedMap_(t,e){e[t.id]=t.mathmlTree,t.embellished&&c.fencedMap... method getMathml (line 1) | getMathml(){this.getFenced_(),this.fencedMml=a.walkTree(this.fenced),t... method fencedElement (line 1) | fencedElement(t){return"fenced"===t.type||"matrix"===t.type||"vector"=... method getFenced_ (line 1) | getFenced_(){let t=this.semantic;for(;!this.fencedElement(t);)t=t.chil... method getFencedMml_ (line 1) | getFencedMml_(){let t=this.ofenceMml.nextSibling;for(t=t===this.fenced... method getFencesMml_ (line 1) | getFencesMml_(){let t=this.semantic;const e=Object.keys(this.ofenceMap... method rewrite_ (line 1) | rewrite_(){let t=this.semantic,e=null;const r=this.introduceNewLayer_(... method specialCase_ (line 1) | specialCase_(t,e){const r=n.tagName(e);let o,i=null;if("MSUBSUP"===r?(... method introduceNewLayer_ (line 1) | introduceNewLayer_(){const t=this.fullFence(this.ofenceMml),e=this.ful... method fullFence (line 1) | fullFence(t){const e=this.fencedMml.parentNode;let r=t;for(;r.parentNo... method cleanupParents_ (line 1) | cleanupParents_(){this.parentCleanup.forEach((function(t){const e=t.ch... method constructor (line 1) | constructor(t){super(t,(e=>e===t)),this.kind=a.TrieNodeKind.DYNAMIC} method constructor (line 1) | constructor(t,e){super(t,e),this.preference=t instanceof a?t.preferenc... method match (line 1) | match(t){if(!(t instanceof a))return super.match(t);if("default"===t.g... method compare (line 1) | compare(t,e){const r=super.compare(t,e);if(0!==r)return r;const n=t in... function u (line 1) | function u(t){const e=t.toString(16).toUpperCase();return e.length>3?e:(... method constructor (line 1) | constructor(){super([Q.Axis.LOCALE,Q.Axis.MODALITY,Q.Axis.DOMAIN,Q.Axi... method parse (line 1) | parse(t){const e=super.parse(t);let r=e.getValue(Q.Axis.STYLE);const n... method fromPreference (line 1) | fromPreference(t){return a.fromPreference(t)} method toPreference (line 1) | toPreference(t){return a.toPreference(t)} method constructor (line 1) | constructor(t){this.mathml=t,this.factory=new Q.SemanticNodeFactory,th... method addAttributes (line 1) | static addAttributes(t,e,r){r&&1===e.childNodes.length&&e.childNodes[0... method textContent (line 1) | static textContent(t,e,r){if(!r&&e.textContent)return void(t.textConte... method isPunctuated (line 1) | static isPunctuated(t){return!s.SemanticSkeleton.simpleCollapseStructu... method getTree (line 1) | getTree(){return this.stree} method assembleTree (line 1) | assembleTree(t){const e=this.makeNode(t),r=c.splitAttribute(c.getAttri... method makeNode (line 1) | makeNode(t){const e=c.getAttribute(t,o.Attribute.TYPE),r=c.getAttribut... method makePunctuation (line 1) | makePunctuation(t){const e=this.createNode(t);return e.updateContent((... method makePunctuated (line 1) | makePunctuated(t,e,r){const n=this.createNode(e[0]);n.type="punctuated... method makeEmpty (line 1) | makeEmpty(t,e,r){const n=this.createNode(e);n.type="empty",n.embellish... method makeIndex (line 1) | makeIndex(t,e,r){if(u.isPunctuated(e))return this.makePunctuated(t,e,r... method postProcess (line 1) | postProcess(t,e){const r=s.SemanticSkeleton.fromString(e).array;if("su... method createNode (line 1) | createNode(t){const e=this.factory.makeNode(t);return this.nodeDict[t.... method collapsedChildren_ (line 1) | collapsedChildren_(t){const e=t=>{const r=this.nodeDict[t[0]];r.childN... method setParent (line 1) | setParent(t,e){const r=c.getBySemanticId(this.mathml,t),n=this.assembl... function p (line 1) | function p([t,e],r){const n=parseInt(t,16),o=parseInt(e,16),i=[];for(let... function h (line 1) | function h(t){const e="normal"===t||"fullwidth"===t?"":i.LOCALE.MESSAGES... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyQuery(t,t... function d (line 1) | function d(t,r,n,o,Q,T){const s=h(o);for(let o,a,l,c=0;o=t[c],a=r[c],l=n... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyConstrain... function f (line 1) | function f(t,r,n,o,Q){const T=h(n);for(let n,s,a=0;n=t[a],s=r[a];a++){co... function L (line 1) | function L(t,e,r,n,o,i,Q,s,a){for(let l,c=0;l=a[c];c++){const a=l in s?s... method constructor (line 1) | constructor(){this.trie=null,this.evaluators_={},this.trie=new f.Trie} method getInstance (line 1) | static getInstance(){return L.instance=L.instance||new L,L.instance} method debugSpeechRule (line 1) | static debugSpeechRule(t,e){const r=t.precondition,n=t.context.applyQu... method debugNamedSpeechRule (line 1) | static debugNamedSpeechRule(t,e){const r=L.getInstance().trie.collectR... method evaluateNode (line 1) | evaluateNode(t){(0,s.updateEvaluator)(t);const e=(new Date).getTime();... method toString (line 1) | toString(){return this.trie.collectRules().map((t=>t.toString())).join... method runInSetting (line 1) | runInSetting(t,e){const r=Q.default.getInstance(),n={};for(const e in ... method addStore (line 1) | addStore(t){const e=y(t);"abstract"!==e.kind&&e.getSpeechRules().forEa... method processGrammar (line 1) | processGrammar(t,e,r){const n={};for(const o in r){const i=r[o];n[o]="... method addEvaluator (line 1) | addEvaluator(t){const e=t.evaluateDefault.bind(t),r=this.evaluators_[t... method getEvaluator (line 1) | getEvaluator(t,e){const r=this.evaluators_[t]||this.evaluators_[u.Dyna... method enumerate (line 1) | enumerate(t){return this.trie.enumerate(t)} method evaluateNode_ (line 1) | evaluateNode_(t){return t?(this.updateConstraint_(),this.evaluateTree_... method evaluateTree_ (line 1) | evaluateTree_(t){const e=Q.default.getInstance();let r;o.Debugger.getI... method evaluateNodeList_ (line 1) | evaluateNodeList_(t,e,r,o,i,Q){if(!e.length)return[];const T=o||"",s=Q... method addLayout (line 1) | addLayout(t,e,r){const o=e.layout;o&&(o.match(/^begin/)?t.unshift(new ... method addPersonality_ (line 1) | addPersonality_(t,e,r,o){const i={};let Q=null;for(const t of T.person... method addExternalAttributes_ (line 1) | addExternalAttributes_(t,e){if(e.hasAttributes()){const r=e.attributes... method addRelativePersonality_ (line 1) | addRelativePersonality_(t,e){if(!t.personality)return t.personality=e,... method updateConstraint_ (line 1) | updateConstraint_(){const t=Q.default.getInstance().dynamicCstr,e=Q.de... method makeSet_ (line 1) | makeSet_(t,e){return e&&Object.keys(e).length?t.split(":"):[t]} method lookupRule (line 1) | lookupRule(t,e){if(!t||t.nodeType!==i.NodeType.ELEMENT_NODE&&t.nodeTyp... method lookupRules (line 1) | lookupRules(t,e){return this.trie.lookupRules(t,e.allProperties())} method pickMostConstraint_ (line 1) | pickMostConstraint_(t,e){const r=Q.default.getInstance().comparator;re... class a (line 1) | class a extends i.DynamicCstr{constructor(t,e){super(t),this.preference=... method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;ne===t)),this.kind=a.TrieNodeKind.DYNAMIC} method constructor (line 1) | constructor(t,e){super(t,e),this.preference=t instanceof a?t.preferenc... method match (line 1) | match(t){if(!(t instanceof a))return super.match(t);if("default"===t.g... method compare (line 1) | compare(t,e){const r=super.compare(t,e);if(0!==r)return r;const n=t in... class u (line 1) | class u extends Q.DynamicCstrParser{constructor(){super([Q.Axis.LOCALE,Q... method constructor (line 1) | constructor(){super([Q.Axis.LOCALE,Q.Axis.MODALITY,Q.Axis.DOMAIN,Q.Axi... method parse (line 1) | parse(t){const e=super.parse(t);let r=e.getValue(Q.Axis.STYLE);const n... method fromPreference (line 1) | fromPreference(t){return a.fromPreference(t)} method toPreference (line 1) | toPreference(t){return a.toPreference(t)} method constructor (line 1) | constructor(t){this.mathml=t,this.factory=new Q.SemanticNodeFactory,th... method addAttributes (line 1) | static addAttributes(t,e,r){r&&1===e.childNodes.length&&e.childNodes[0... method textContent (line 1) | static textContent(t,e,r){if(!r&&e.textContent)return void(t.textConte... method isPunctuated (line 1) | static isPunctuated(t){return!s.SemanticSkeleton.simpleCollapseStructu... method getTree (line 1) | getTree(){return this.stree} method assembleTree (line 1) | assembleTree(t){const e=this.makeNode(t),r=c.splitAttribute(c.getAttri... method makeNode (line 1) | makeNode(t){const e=c.getAttribute(t,o.Attribute.TYPE),r=c.getAttribut... method makePunctuation (line 1) | makePunctuation(t){const e=this.createNode(t);return e.updateContent((... method makePunctuated (line 1) | makePunctuated(t,e,r){const n=this.createNode(e[0]);n.type="punctuated... method makeEmpty (line 1) | makeEmpty(t,e,r){const n=this.createNode(e);n.type="empty",n.embellish... method makeIndex (line 1) | makeIndex(t,e,r){if(u.isPunctuated(e))return this.makePunctuated(t,e,r... method postProcess (line 1) | postProcess(t,e){const r=s.SemanticSkeleton.fromString(e).array;if("su... method createNode (line 1) | createNode(t){const e=this.factory.makeNode(t);return this.nodeDict[t.... method collapsedChildren_ (line 1) | collapsedChildren_(t){const e=t=>{const r=this.nodeDict[t[0]];r.childN... method setParent (line 1) | setParent(t,e){const r=c.getBySemanticId(this.mathml,t),n=this.assembl... function p (line 1) | function p(t){return g(t)||L(t)||f(t)||d(t)||h(t)} function h (line 1) | function h(t){return"appl"===t.type&&("prefix function"===t.childNodes[0... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyQuery(t,t... function d (line 1) | function d(t){return"prefixop"===t.type&&"negative"===t.role&&m(t.childN... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyConstrain... function f (line 1) | function f(t){return"punctuated"===t.type&&"endpunct"===t.role&&2===t.ch... function L (line 1) | function L(t){return y(t)||"infixop"===t.type&&"implicit"===t.role&&(2==... method constructor (line 1) | constructor(){this.trie=null,this.evaluators_={},this.trie=new f.Trie} method getInstance (line 1) | static getInstance(){return L.instance=L.instance||new L,L.instance} method debugSpeechRule (line 1) | static debugSpeechRule(t,e){const r=t.precondition,n=t.context.applyQu... method debugNamedSpeechRule (line 1) | static debugNamedSpeechRule(t,e){const r=L.getInstance().trie.collectR... method evaluateNode (line 1) | evaluateNode(t){(0,s.updateEvaluator)(t);const e=(new Date).getTime();... method toString (line 1) | toString(){return this.trie.collectRules().map((t=>t.toString())).join... method runInSetting (line 1) | runInSetting(t,e){const r=Q.default.getInstance(),n={};for(const e in ... method addStore (line 1) | addStore(t){const e=y(t);"abstract"!==e.kind&&e.getSpeechRules().forEa... method processGrammar (line 1) | processGrammar(t,e,r){const n={};for(const o in r){const i=r[o];n[o]="... method addEvaluator (line 1) | addEvaluator(t){const e=t.evaluateDefault.bind(t),r=this.evaluators_[t... method getEvaluator (line 1) | getEvaluator(t,e){const r=this.evaluators_[t]||this.evaluators_[u.Dyna... method enumerate (line 1) | enumerate(t){return this.trie.enumerate(t)} method evaluateNode_ (line 1) | evaluateNode_(t){return t?(this.updateConstraint_(),this.evaluateTree_... method evaluateTree_ (line 1) | evaluateTree_(t){const e=Q.default.getInstance();let r;o.Debugger.getI... method evaluateNodeList_ (line 1) | evaluateNodeList_(t,e,r,o,i,Q){if(!e.length)return[];const T=o||"",s=Q... method addLayout (line 1) | addLayout(t,e,r){const o=e.layout;o&&(o.match(/^begin/)?t.unshift(new ... method addPersonality_ (line 1) | addPersonality_(t,e,r,o){const i={};let Q=null;for(const t of T.person... method addExternalAttributes_ (line 1) | addExternalAttributes_(t,e){if(e.hasAttributes()){const r=e.attributes... method addRelativePersonality_ (line 1) | addRelativePersonality_(t,e){if(!t.personality)return t.personality=e,... method updateConstraint_ (line 1) | updateConstraint_(){const t=Q.default.getInstance().dynamicCstr,e=Q.de... method makeSet_ (line 1) | makeSet_(t,e){return e&&Object.keys(e).length?t.split(":"):[t]} method lookupRule (line 1) | lookupRule(t,e){if(!t||t.nodeType!==i.NodeType.ELEMENT_NODE&&t.nodeTyp... method lookupRules (line 1) | lookupRules(t,e){return this.trie.lookupRules(t,e.allProperties())} method pickMostConstraint_ (line 1) | pickMostConstraint_(t,e){const r=Q.default.getInstance().comparator;re... function m (line 1) | function m(t){return t.hasAnnotation("clearspeak","simple")} function y (line 1) | function y(t){return"identifier"===t.type&&("latinletter"===t.role||"gre... function H (line 1) | function H(t){return"number"===t.type&&("integer"===t.role||"float"===t.... function g (line 1) | function g(t){return H(t)||b(t)} method constructor (line 1) | constructor(t,e,r,n){this.node=t,this.generator=e,this.highlighter=r,t... method getXml (line 1) | getXml(){return this.xml_||(this.xml_=i.parseInput(this.xmlString_)),t... method getRebuilt (line 1) | getRebuilt(){return this.rebuilt_||this.rebuildStree(),this.rebuilt_} method isActive (line 1) | isActive(){return this.active_} method activate (line 1) | activate(){this.isActive()||(this.generator.start(),this.toggleActive_... method deactivate (line 1) | deactivate(){this.isActive()&&(m.WalkerState.setState(this.id,this.pri... method getFocus (line 1) | getFocus(t=!1){return this.focus_||(this.focus_=this.singletonFocus(th... method setFocus (line 1) | setFocus(t){this.focus_=t} method getDepth (line 1) | getDepth(){return this.levels.depth()-1} method isSpeech (line 1) | isSpeech(){return this.generator.modality===a.Attribute.SPEECH} method focusDomNodes (line 1) | focusDomNodes(){return this.getFocus().getDomNodes()} method focusSemanticNodes (line 1) | focusSemanticNodes(){return this.getFocus().getSemanticNodes()} method speech (line 1) | speech(){const t=this.focusDomNodes();if(!t.length)return"";const e=th... method move (line 1) | move(t){const e=this.keyMapping.get(t);if(!e)return null;const r=e();r... method up (line 1) | up(){return this.moved=m.WalkerMoves.UP,this.getFocus()} method down (line 1) | down(){return this.moved=m.WalkerMoves.DOWN,this.getFocus()} method left (line 1) | left(){return this.moved=m.WalkerMoves.LEFT,this.getFocus()} method right (line 1) | right(){return this.moved=m.WalkerMoves.RIGHT,this.getFocus()} method repeat (line 1) | repeat(){return this.moved=m.WalkerMoves.REPEAT,this.getFocus().clone()} method depth (line 1) | depth(){return this.moved=this.isSpeech()?m.WalkerMoves.DEPTH:m.Walker... method home (line 1) | home(){this.moved=m.WalkerMoves.HOME;return this.singletonFocus(this.r... method getBySemanticId (line 1) | getBySemanticId(t){return y.getBySemanticId(this.node,t)} method primaryId (line 1) | primaryId(){return this.getFocus().getSemanticPrimary().id.toString()} method expand (line 1) | expand(){const t=this.getFocus().getDomPrimary(),e=this.actionable_(t)... method expandable (line 1) | expandable(t){return!!this.actionable_(t)&&0===t.childNodes.length} method collapsible (line 1) | collapsible(t){return!!this.actionable_(t)&&t.childNodes.length>0} method restoreState (line 1) | restoreState(){if(!this.highlighter)return;const t=m.WalkerState.getSt... method updateFocus (line 1) | updateFocus(){this.setFocus(f.Focus.factory(this.getFocus().getSemanti... method rebuildStree (line 1) | rebuildStree(){this.rebuilt_=new L.RebuildStree(this.getXml()),this.ro... method previousLevel (line 1) | previousLevel(){const t=this.getFocus().getDomPrimary();return t?y.get... method nextLevel (line 1) | nextLevel(){const t=this.getFocus().getDomPrimary();let e,r;if(t){e=y.... method singletonFocus (line 1) | singletonFocus(t){this.getRebuilt();const e=this.retrieveVisuals(t);re... method retrieveVisuals (line 1) | retrieveVisuals(t){if(!this.skeleton)return[t];const e=parseInt(t,10),... method subtreeIds (line 1) | subtreeIds(t,e){const r=H.evalXPath(`//*[@data-semantic-id="${t}"]`,th... method focusFromId (line 1) | focusFromId(t,e){return f.Focus.factory(t,e,this.getRebuilt(),this.node)} method summary (line 1) | summary(){return this.moved=this.isSpeech()?m.WalkerMoves.SUMMARY:m.Wa... method detail (line 1) | detail(){return this.moved=this.isSpeech()?m.WalkerMoves.DETAIL:m.Walk... method specialMove (line 1) | specialMove(){return null} method virtualize (line 1) | virtualize(t){return this.cursors.push({focus:this.getFocus(),levels:t... method previous (line 1) | previous(){const t=this.cursors.pop();return t?(this.levels=t.levels,t... method undo (line 1) | undo(){let t;do{t=this.cursors.pop()}while(t&&!t.undo);return t?(this.... method update (line 1) | update(t){this.generator.setOptions(t),(0,T.setup)(t).then((()=>p.gene... method nextRules (line 1) | nextRules(){const t=this.generator.getOptions();return"speech"!==t.mod... method nextStyle (line 1) | nextStyle(t,e){if("mathspeak"===t){const t=["default","brief","sbrief"... method previousRules (line 1) | previousRules(){const t=this.generator.getOptions();return"speech"!==t... method refocus (line 1) | refocus(){let t,e=this.getFocus();for(;!e.getNodes().length;){t=this.l... method toggleActive_ (line 1) | toggleActive_(){this.active_=!this.active_} method mergePrefix_ (line 1) | mergePrefix_(t,e=[]){const r=this.isSpeech()?this.prefix_():"";r&&t.un... method prefix_ (line 1) | prefix_(){const t=this.getFocus().getDomNodes(),e=this.getFocus().getS... method postfix_ (line 1) | postfix_(){const t=this.getFocus().getDomNodes();return t[0]?y.getAttr... method depth_ (line 1) | depth_(){const t=c.Grammar.getInstance().getParameter("depth");c.Gramm... method actionable_ (line 1) | actionable_(t){const e=null==t?void 0:t.parentNode;return e&&this.high... method summary_ (line 1) | summary_(){const t=this.getFocus().getSemanticPrimary().id.toString(),... method detail_ (line 1) | detail_(){const t=this.getFocus().getSemanticPrimary().id.toString(),e... function b (line 1) | function b(t){if(v("Fraction_Over")||v("Fraction_FracOver"))return!1;if(... function v (line 1) | function v(t){return o.default.getInstance().style===t} function M (line 1) | function M(t){if(!t.hasAttribute("annotation"))return!1;const e=t.getAtt... function _ (line 1) | function _(t){if(M(t))return!0;if("subscript"!==t.tagName)return!1;const... function V (line 1) | function V(t){return"number"===t.tagName&&t.hasAttribute("role")&&"integ... function O (line 1) | function O(t){return i.evalXPath("children/*",t).every((t=>V(t)||"identi... function S (line 1) | function S(t){return"text"===t.type||"punctuated"===t.type&&"text"===t.r... function E (line 1) | function E(t){for(let e=0;e"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} function T (line 1) | function T(t){try{s(n.throw(t))}catch(t){i(t)}} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... function s (line 1) | function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r(... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... function f (line 1) | function f(t=i.default.getInstance().locale){i.EnginePromise.loaded[t]||... function L (line 1) | function L(){switch(i.default.getInstance().mode){case Q.Mode.ASYNC:retu... method constructor (line 1) | constructor(){this.trie=null,this.evaluators_={},this.trie=new f.Trie} method getInstance (line 1) | static getInstance(){return L.instance=L.instance||new L,L.instance} method debugSpeechRule (line 1) | static debugSpeechRule(t,e){const r=t.precondition,n=t.context.applyQu... method debugNamedSpeechRule (line 1) | static debugNamedSpeechRule(t,e){const r=L.getInstance().trie.collectR... method evaluateNode (line 1) | evaluateNode(t){(0,s.updateEvaluator)(t);const e=(new Date).getTime();... method toString (line 1) | toString(){return this.trie.collectRules().map((t=>t.toString())).join... method runInSetting (line 1) | runInSetting(t,e){const r=Q.default.getInstance(),n={};for(const e in ... method addStore (line 1) | addStore(t){const e=y(t);"abstract"!==e.kind&&e.getSpeechRules().forEa... method processGrammar (line 1) | processGrammar(t,e,r){const n={};for(const o in r){const i=r[o];n[o]="... method addEvaluator (line 1) | addEvaluator(t){const e=t.evaluateDefault.bind(t),r=this.evaluators_[t... method getEvaluator (line 1) | getEvaluator(t,e){const r=this.evaluators_[t]||this.evaluators_[u.Dyna... method enumerate (line 1) | enumerate(t){return this.trie.enumerate(t)} method evaluateNode_ (line 1) | evaluateNode_(t){return t?(this.updateConstraint_(),this.evaluateTree_... method evaluateTree_ (line 1) | evaluateTree_(t){const e=Q.default.getInstance();let r;o.Debugger.getI... method evaluateNodeList_ (line 1) | evaluateNodeList_(t,e,r,o,i,Q){if(!e.length)return[];const T=o||"",s=Q... method addLayout (line 1) | addLayout(t,e,r){const o=e.layout;o&&(o.match(/^begin/)?t.unshift(new ... method addPersonality_ (line 1) | addPersonality_(t,e,r,o){const i={};let Q=null;for(const t of T.person... method addExternalAttributes_ (line 1) | addExternalAttributes_(t,e){if(e.hasAttributes()){const r=e.attributes... method addRelativePersonality_ (line 1) | addRelativePersonality_(t,e){if(!t.personality)return t.personality=e,... method updateConstraint_ (line 1) | updateConstraint_(){const t=Q.default.getInstance().dynamicCstr,e=Q.de... method makeSet_ (line 1) | makeSet_(t,e){return e&&Object.keys(e).length?t.split(":"):[t]} method lookupRule (line 1) | lookupRule(t,e){if(!t||t.nodeType!==i.NodeType.ELEMENT_NODE&&t.nodeTyp... method lookupRules (line 1) | lookupRules(t,e){return this.trie.lookupRules(t,e.allProperties())} method pickMostConstraint_ (line 1) | pickMostConstraint_(t,e){const r=Q.default.getInstance().comparator;re... function m (line 1) | function m(t){const e=i.default.getInstance().customLoader?i.default.get... function y (line 1) | function y(t){H(JSON.parse(t))} function H (line 1) | function H(t,e){let r=!0;for(let n,o=0;n=Object.keys(t)[o];o++){const o=... function g (line 1) | function g(t,e){let r=e||1;o.mapsForIE?H(o.mapsForIE,t):r<=5&&setTimeout... method constructor (line 1) | constructor(t,e,r,n){this.node=t,this.generator=e,this.highlighter=r,t... method getXml (line 1) | getXml(){return this.xml_||(this.xml_=i.parseInput(this.xmlString_)),t... method getRebuilt (line 1) | getRebuilt(){return this.rebuilt_||this.rebuildStree(),this.rebuilt_} method isActive (line 1) | isActive(){return this.active_} method activate (line 1) | activate(){this.isActive()||(this.generator.start(),this.toggleActive_... method deactivate (line 1) | deactivate(){this.isActive()&&(m.WalkerState.setState(this.id,this.pri... method getFocus (line 1) | getFocus(t=!1){return this.focus_||(this.focus_=this.singletonFocus(th... method setFocus (line 1) | setFocus(t){this.focus_=t} method getDepth (line 1) | getDepth(){return this.levels.depth()-1} method isSpeech (line 1) | isSpeech(){return this.generator.modality===a.Attribute.SPEECH} method focusDomNodes (line 1) | focusDomNodes(){return this.getFocus().getDomNodes()} method focusSemanticNodes (line 1) | focusSemanticNodes(){return this.getFocus().getSemanticNodes()} method speech (line 1) | speech(){const t=this.focusDomNodes();if(!t.length)return"";const e=th... method move (line 1) | move(t){const e=this.keyMapping.get(t);if(!e)return null;const r=e();r... method up (line 1) | up(){return this.moved=m.WalkerMoves.UP,this.getFocus()} method down (line 1) | down(){return this.moved=m.WalkerMoves.DOWN,this.getFocus()} method left (line 1) | left(){return this.moved=m.WalkerMoves.LEFT,this.getFocus()} method right (line 1) | right(){return this.moved=m.WalkerMoves.RIGHT,this.getFocus()} method repeat (line 1) | repeat(){return this.moved=m.WalkerMoves.REPEAT,this.getFocus().clone()} method depth (line 1) | depth(){return this.moved=this.isSpeech()?m.WalkerMoves.DEPTH:m.Walker... method home (line 1) | home(){this.moved=m.WalkerMoves.HOME;return this.singletonFocus(this.r... method getBySemanticId (line 1) | getBySemanticId(t){return y.getBySemanticId(this.node,t)} method primaryId (line 1) | primaryId(){return this.getFocus().getSemanticPrimary().id.toString()} method expand (line 1) | expand(){const t=this.getFocus().getDomPrimary(),e=this.actionable_(t)... method expandable (line 1) | expandable(t){return!!this.actionable_(t)&&0===t.childNodes.length} method collapsible (line 1) | collapsible(t){return!!this.actionable_(t)&&t.childNodes.length>0} method restoreState (line 1) | restoreState(){if(!this.highlighter)return;const t=m.WalkerState.getSt... method updateFocus (line 1) | updateFocus(){this.setFocus(f.Focus.factory(this.getFocus().getSemanti... method rebuildStree (line 1) | rebuildStree(){this.rebuilt_=new L.RebuildStree(this.getXml()),this.ro... method previousLevel (line 1) | previousLevel(){const t=this.getFocus().getDomPrimary();return t?y.get... method nextLevel (line 1) | nextLevel(){const t=this.getFocus().getDomPrimary();let e,r;if(t){e=y.... method singletonFocus (line 1) | singletonFocus(t){this.getRebuilt();const e=this.retrieveVisuals(t);re... method retrieveVisuals (line 1) | retrieveVisuals(t){if(!this.skeleton)return[t];const e=parseInt(t,10),... method subtreeIds (line 1) | subtreeIds(t,e){const r=H.evalXPath(`//*[@data-semantic-id="${t}"]`,th... method focusFromId (line 1) | focusFromId(t,e){return f.Focus.factory(t,e,this.getRebuilt(),this.node)} method summary (line 1) | summary(){return this.moved=this.isSpeech()?m.WalkerMoves.SUMMARY:m.Wa... method detail (line 1) | detail(){return this.moved=this.isSpeech()?m.WalkerMoves.DETAIL:m.Walk... method specialMove (line 1) | specialMove(){return null} method virtualize (line 1) | virtualize(t){return this.cursors.push({focus:this.getFocus(),levels:t... method previous (line 1) | previous(){const t=this.cursors.pop();return t?(this.levels=t.levels,t... method undo (line 1) | undo(){let t;do{t=this.cursors.pop()}while(t&&!t.undo);return t?(this.... method update (line 1) | update(t){this.generator.setOptions(t),(0,T.setup)(t).then((()=>p.gene... method nextRules (line 1) | nextRules(){const t=this.generator.getOptions();return"speech"!==t.mod... method nextStyle (line 1) | nextStyle(t,e){if("mathspeak"===t){const t=["default","brief","sbrief"... method previousRules (line 1) | previousRules(){const t=this.generator.getOptions();return"speech"!==t... method refocus (line 1) | refocus(){let t,e=this.getFocus();for(;!e.getNodes().length;){t=this.l... method toggleActive_ (line 1) | toggleActive_(){this.active_=!this.active_} method mergePrefix_ (line 1) | mergePrefix_(t,e=[]){const r=this.isSpeech()?this.prefix_():"";r&&t.un... method prefix_ (line 1) | prefix_(){const t=this.getFocus().getDomNodes(),e=this.getFocus().getS... method postfix_ (line 1) | postfix_(){const t=this.getFocus().getDomNodes();return t[0]?y.getAttr... method depth_ (line 1) | depth_(){const t=c.Grammar.getInstance().getParameter("depth");c.Gramm... method actionable_ (line 1) | actionable_(t){const e=null==t?void 0:t.parentNode;return e&&this.high... method summary_ (line 1) | summary_(){const t=this.getFocus().getSemanticPrimary().id.toString(),... method detail_ (line 1) | detail_(){const t=this.getFocus().getSemanticPrimary().id.toString(),e... function b (line 1) | function b(t){const e=T.localePath(t);return new Promise(((t,r)=>{s.defa... function v (line 1) | function v(t){const e=T.localePath(t);return new Promise(((t,r)=>{let n=... function M (line 1) | function M(t){const e=T.localePath(t),r=new XMLHttpRequest;return new Pr... function a (line 1) | function a(t,e){const r=Array.from(t.textContent),n=[],o=T.default.getIn... method get (line 1) | static get(t=s.getInstance().locale){return a.promises[t]||Promise.res... method getall (line 1) | static getall(){return Promise.all(Object.values(a.promises))} method constructor (line 1) | constructor(){this.lookupNamespaceURI=s} method constructor (line 1) | constructor(t,...e){this.query=t,this.constraints=e;const[r,n]=this.pr... method constraintValue (line 1) | static constraintValue(t,e){for(let r,n=0;r=e[n];n++)if(t.match(r))ret... method toString (line 1) | toString(){const t=this.constraints.join(", ");return`${this.query}, $... method calculatePriority (line 1) | calculatePriority(){const t=a.constraintValue(this.query,a.queryPriori... method presetPriority (line 1) | presetPriority(){if(!this.constraints.length)return[!1,0];const t=this... method constructor (line 1) | constructor(){this.funcAppls={},this.factory_=new Q.SemanticNodeFactor... method getInstance (line 1) | static getInstance(){return a.instance=a.instance||new a,a.instance} method tableToMultiline (line 1) | static tableToMultiline(t){if(T.tableIsMultiline(t)){t.type="multiline... method number (line 1) | static number(t){"unknown"!==t.type&&"identifier"!==t.type||(t.type="n... method classifyMultiline (line 1) | static classifyMultiline(t){let e=0;const r=t.childNodes.length;let n;... method classifyTable (line 1) | static classifyTable(t){const e=a.computeColumns_(t);a.classifyByColum... method detectCaleyTable (line 1) | static detectCaleyTable(t){if(!t.mathmlTree)return!1;const e=t.mathmlT... method cayleySpacing (line 1) | static cayleySpacing(t){const e=t.split(" ");return("solid"===e[0]||"d... method proof (line 1) | static proof(t,e,r){const n=a.separateSemantics(e);return a.getInstanc... method findSemantics (line 1) | static findSemantics(t,e,r){const n=null==r?null:r,o=a.getSemantics(t)... method getSemantics (line 1) | static getSemantics(t){const e=t.getAttribute("semantics");return e?a.... method removePrefix (line 1) | static removePrefix(t){const[,...e]=t.split("_");return e.join("_")} method separateSemantics (line 1) | static separateSemantics(t){const e={};return t.split(";").forEach((fu... method matchSpaces_ (line 1) | static matchSpaces_(t,e){for(let r,n=0;r=e[n];n++){const e=t[n].mathml... method getSpacer_ (line 1) | static getSpacer_(t){if("MSPACE"===n.tagName(t))return t;for(;s.hasEmp... method fenceToPunct_ (line 1) | static fenceToPunct_(t){const e=a.FENCE_TO_PUNCT_[t.role];if(e){for(;t... method classifyFunction_ (line 1) | static classifyFunction_(t,e){if("appl"===t.type||"bigop"===t.type||"i... method propagateFunctionRole_ (line 1) | static propagateFunctionRole_(t,e){if(t){if("infixop"===t.type)return;... method getFunctionOp_ (line 1) | static getFunctionOp_(t,e){if(e(t))return t;for(let r,n=0;r=t.childNod... method tableToMatrixOrVector_ (line 1) | static tableToMatrixOrVector_(t){const e=t.childNodes[0];T.isType(e,"m... method tableToVector_ (line 1) | static tableToVector_(t){const e=t.childNodes[0];e.type="vector",1!==e... method binomialForm_ (line 1) | static binomialForm_(t){T.isBinomial(t)&&(t.role="binomial",t.childNod... method tableToMatrix_ (line 1) | static tableToMatrix_(t){const e=t.childNodes[0];e.type="matrix",e.chi... method tableToSquare_ (line 1) | static tableToSquare_(t){const e=t.childNodes[0];T.isNeutralFence(t)?e... method getComponentRoles_ (line 1) | static getComponentRoles_(t){const e=t.role;return e&&"unknown"!==e?e:... method tableToCases_ (line 1) | static tableToCases_(t,e){for(let e,r=0;e=t.childNodes[r];r++)a.assign... method rewriteFencedLine_ (line 1) | static rewriteFencedLine_(t){const e=t.childNodes[0],r=t.childNodes[0]... method rowToLine_ (line 1) | static rowToLine_(t,e){const r=e||"unknown";T.isType(t,"row")&&(t.type... method assignRoleToRow_ (line 1) | static assignRoleToRow_(t,e){T.isType(t,"line")?t.role=e:T.isType(t,"r... method nextSeparatorFunction_ (line 1) | static nextSeparatorFunction_(t){let e;if(t){if(t.match(/^\s+$/))retur... method numberRole_ (line 1) | static numberRole_(t){if("unknown"!==t.role)return;const e=[...t.textC... method exprFont_ (line 1) | static exprFont_(t){if("unknown"!==t.font)return;const e=[...t.textCon... method purgeFences_ (line 1) | static purgeFences_(t){const e=t.rel,r=t.comp,n=[],o=[];for(;e.length>... method rewriteFencedNode_ (line 1) | static rewriteFencedNode_(t){const e=t.contentNodes[0],r=t.contentNode... method rewriteFence_ (line 1) | static rewriteFence_(t,e){if(!e.embellished)return{node:t,fence:e};con... method propagateFencePointer_ (line 1) | static propagateFencePointer_(t,e){t.fencePointer=e.fencePointer||e.id... method classifyByColumns_ (line 1) | static classifyByColumns_(t,e,r,n){return!!(3===e.length&&a.testColumn... method isEndRelation_ (line 1) | static isEndRelation_(t,e,r){const n=r?t.childNodes.length-1:0;return ... method isPureRelation_ (line 1) | static isPureRelation_(t,e){return T.isType(t,"relation")&&T.isRole(t,e)} method computeColumns_ (line 1) | static computeColumns_(t){const e=[];for(let r,n=0;r=t.childNodes[n];n... method testColumns_ (line 1) | static testColumns_(t,e,r){const n=t[e];return!!n&&(n.some((function(t... method setNodeFactory (line 1) | setNodeFactory(t){a.getInstance().factory_=t,i.updateFactory(a.getInst... method getNodeFactory (line 1) | getNodeFactory(){return a.getInstance().factory_} method identifierNode (line 1) | identifierNode(t,e,r){if("MathML-Unit"===r)t.type="identifier",t.role=... method implicitNode (line 1) | implicitNode(t){if(t=a.getInstance().getMixedNumbers_(t),1===(t=a.getI... method text (line 1) | text(t,e){return a.exprFont_(t),t.type="text","MS"===e?(t.role="string... method row (line 1) | row(t){return 0===(t=t.filter((function(t){return!T.isType(t,"empty")}... method limitNode (line 1) | limitNode(t,e){if(!e.length)return a.getInstance().factory_.makeEmptyN... method tablesInRow (line 1) | tablesInRow(t){let e=s.partitionNodes(t,T.tableIsMatrixOrVector),r=[];... method mfenced (line 1) | mfenced(t,e,r,n){if(r&&n.length>0){const t=a.nextSeparatorFunction_(r)... method fractionLikeNode (line 1) | fractionLikeNode(t,e,r,n){let o;if(!n&&s.isZeroLength(r)){const r=a.ge... method tensor (line 1) | tensor(t,e,r,n,o){const i=a.getInstance().factory_.makeBranchNode("ten... method pseudoTensor (line 1) | pseudoTensor(t,e,r){const n=t=>!T.isType(t,"empty"),o=e.filter(n).leng... method font (line 1) | font(t){const e=a.MATHJAX_FONTS[t];return e||t} method proof (line 1) | proof(t,e,r){if(e.inference||e.axiom||console.log("Noise"),e.axiom){co... method inference (line 1) | inference(t,e,r){if(e.inferenceRule){const e=a.getInstance().getFormul... method getLabel (line 1) | getLabel(t,e,r,o){const i=a.getInstance().findNestedRow(e,"prooflabel"... method getFormulas (line 1) | getFormulas(t,e,r){const o=e.length?a.getInstance().findNestedRow(e,"i... method findNestedRow (line 1) | findNestedRow(t,e,r){return a.getInstance().findNestedRow_(t,e,0,r)} method cleanInference (line 1) | cleanInference(t){return n.toArray(t).filter((function(t){return"MSPAC... method operatorNode (line 1) | operatorNode(t){return"unknown"===t.type&&(t.type="operator"),i.run("m... method implicitNode_ (line 1) | implicitNode_(t){const e=a.getInstance().factory_.makeMultipleContentN... method infixNode_ (line 1) | infixNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("infix... method explicitMixed_ (line 1) | explicitMixed_(t){const e=s.partitionNodes(t,(function(t){return t.tex... method concatNode_ (line 1) | concatNode_(t,e,r){if(0===e.length)return t;const n=e.map((function(t)... method prefixNode_ (line 1) | prefixNode_(t,e){const r=s.partitionNodes(e,(t=>T.isRole(t,"subtractio... method postfixNode_ (line 1) | postfixNode_(t,e){return e.length?a.getInstance().concatNode_(t,e,"pos... method combineUnits_ (line 1) | combineUnits_(t){const e=s.partitionNodes(t,(function(t){return!T.isRo... method getMixedNumbers_ (line 1) | getMixedNumbers_(t){const e=s.partitionNodes(t,(function(t){return T.i... method getTextInRow_ (line 1) | getTextInRow_(t){if(t.length<=1)return t;const e=s.partitionNodes(t,(t... method relationsInRow_ (line 1) | relationsInRow_(t){const e=s.partitionNodes(t,T.isRelation),r=e.rel[0]... method operationsInRow_ (line 1) | operationsInRow_(t){if(0===t.length)return a.getInstance().factory_.ma... method operationsTree_ (line 1) | operationsTree_(t,e,r,n){const o=n||[];if(0===t.length){if(o.unshift(r... method appendOperand_ (line 1) | appendOperand_(t,e,r){if("infixop"!==t.type)return a.getInstance().inf... method appendDivisionOp_ (line 1) | appendDivisionOp_(t,e,r){return"division"===e.role?T.isImplicit(t)?a.g... method appendLastOperand_ (line 1) | appendLastOperand_(t,e,r){let n=t,o=t.childNodes[t.childNodes.length-1... method appendMultiplicativeOp_ (line 1) | appendMultiplicativeOp_(t,e,r){if(T.isImplicit(t))return a.getInstance... method appendAdditiveOp_ (line 1) | appendAdditiveOp_(t,e,r){return a.getInstance().infixNode_([t,r],e)} method appendExistingOperator_ (line 1) | appendExistingOperator_(t,e,r){return!(!t||"infixop"!==t.type||T.isImp... method getFencesInRow_ (line 1) | getFencesInRow_(t){let e=s.partitionNodes(t,T.isFence);e=a.purgeFences... method fences_ (line 1) | fences_(t,e,r,n){if(0===t.length&&0===r.length)return n[0];const o=t=>... method neutralFences_ (line 1) | neutralFences_(t,e){if(0===t.length)return t;if(1===t.length)return a.... method combineFencedContent_ (line 1) | combineFencedContent_(t,e,r,n){if(0===r.length){const r=a.getInstance(... method horizontalFencedNode_ (line 1) | horizontalFencedNode_(t,e,r){const n=a.getInstance().row(r);let o=a.ge... method classifyHorizontalFence_ (line 1) | classifyHorizontalFence_(t){t.role="leftright";const e=t.childNodes;if... method setExtension_ (line 1) | setExtension_(t){const e=t.childNodes[0].childNodes[0];e&&"infixop"===... method getPunctuationInRow_ (line 1) | getPunctuationInRow_(t){if(t.length<=1)return t;const e=t=>{const e=t.... method punctuatedNode_ (line 1) | punctuatedNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("... method dummyNode_ (line 1) | dummyNode_(t){const e=a.getInstance().factory_.makeMultipleContentNode... method accentRole_ (line 1) | accentRole_(t,e){if(!T.isAccent(t))return!1;const r=t.textContent,n=o.... method accentNode_ (line 1) | accentNode_(t,e,r,n,o){const i=(e=e.slice(0,n+1))[1],Q=e[2];let T;if(!... method makeLimitNode_ (line 1) | makeLimitNode_(t,e,r,n){if("limupper"===n&&"limlower"===t.type)return ... method getFunctionsInRow_ (line 1) | getFunctionsInRow_(t,e){const r=e||[];if(0===t.length)return r;const n... method getFunctionArgs_ (line 1) | getFunctionArgs_(t,e,r){let n,o,i;switch(r){case"integral":{const r=a.... method getIntegralArgs_ (line 1) | getIntegralArgs_(t,e=[]){if(0===t.length)return{integrand:e,intvar:nul... method functionNode_ (line 1) | functionNode_(t,e){const r=a.getInstance().factory_.makeContentNode(o.... method bigOpNode_ (line 1) | bigOpNode_(t,e){const r=a.getFunctionOp_(t,(t=>T.isType(t,"largeop")))... method integralNode_ (line 1) | integralNode_(t,e,r){e=e||a.getInstance().factory_.makeEmptyNode(),r=r... method functionalNode_ (line 1) | functionalNode_(t,e,r,n){const o=e[0];let i;r&&(i=r.parent,n.push(r));... method fractionNode_ (line 1) | fractionNode_(t,e){const r=a.getInstance().factory_.makeBranchNode("fr... method scriptNode_ (line 1) | scriptNode_(t,e,r){let n;switch(t.length){case 0:n=a.getInstance().fac... method findNestedRow_ (line 1) | findNestedRow_(t,e,r,o){if(r>3)return null;for(let i,Q=0;i=t[Q];Q++){c... method constructor (line 1) | constructor(t){this.mathml=t,this.parser=new Q.SemanticMathml,this.roo... method empty (line 1) | static empty(){const t=n.parseInput(""),e=new a(t);return e.mat... method fromNode (line 1) | static fromNode(t,e){const r=a.empty();return r.root=t,e&&(r.mathml=e),r} method fromRoot (line 1) | static fromRoot(t,e){let r=t;for(;r.parent;)r=r.parent;const n=a.fromN... method fromXml (line 1) | static fromXml(t){const e=a.empty();return t.childNodes[0]&&(e.root=T.... method xml (line 1) | xml(t){const e=n.parseInput(""),r=this.root.xml(e.owner... method toString (line 1) | toString(t){return n.serializeXml(this.xml(t))} method formatXml (line 1) | formatXml(t){const e=this.toString(t);return n.formatXml(e)} method displayTree (line 1) | displayTree(){this.root.displayTree()} method replaceNode (line 1) | replaceNode(t,e){const r=t.parent;r?r.replaceChild(t,e):this.root=e} method toJson (line 1) | toJson(){const t={};return t.stree=this.root.toJson(),t} method constructor (line 1) | constructor(t,e){super(t),this.preference=e} method comparator (line 1) | static comparator(){return new c(n.default.getInstance().dynamicCstr,Q... method fromPreference (line 1) | static fromPreference(t){const e=t.split(":"),r={},n=l.getProperties()... method toPreference (line 1) | static toPreference(t){const e=Object.keys(t),r=[];for(let n=0;n!0)),this.kind=a.TrieNodeKind.ROOT} method constructor (line 1) | constructor(t){super(t),this.name="RuleError"} function c (line 1) | function c(t,e){if(!t.attributes)return!1;const r=o.toArray(t.attributes... method constructor (line 1) | constructor(t){super(t),this.fenced=null,this.fencedMml=null,this.fenc... method test (line 1) | static test(t){return!(!t.mathmlTree||!t.fencePointer||t.mathmlTree.ge... method makeEmptyNode_ (line 1) | static makeEmptyNode_(t){const e=n.createElement("mrow"),r=new o.Seman... method fencedMap_ (line 1) | static fencedMap_(t,e){e[t.id]=t.mathmlTree,t.embellished&&c.fencedMap... method getMathml (line 1) | getMathml(){this.getFenced_(),this.fencedMml=a.walkTree(this.fenced),t... method fencedElement (line 1) | fencedElement(t){return"fenced"===t.type||"matrix"===t.type||"vector"=... method getFenced_ (line 1) | getFenced_(){let t=this.semantic;for(;!this.fencedElement(t);)t=t.chil... method getFencedMml_ (line 1) | getFencedMml_(){let t=this.ofenceMml.nextSibling;for(t=t===this.fenced... method getFencesMml_ (line 1) | getFencesMml_(){let t=this.semantic;const e=Object.keys(this.ofenceMap... method rewrite_ (line 1) | rewrite_(){let t=this.semantic,e=null;const r=this.introduceNewLayer_(... method specialCase_ (line 1) | specialCase_(t,e){const r=n.tagName(e);let o,i=null;if("MSUBSUP"===r?(... method introduceNewLayer_ (line 1) | introduceNewLayer_(){const t=this.fullFence(this.ofenceMml),e=this.ful... method fullFence (line 1) | fullFence(t){const e=this.fencedMml.parentNode;let r=t;for(;r.parentNo... method cleanupParents_ (line 1) | cleanupParents_(){this.parentCleanup.forEach((function(t){const e=t.ch... method constructor (line 1) | constructor(t){super(t,(e=>e===t)),this.kind=a.TrieNodeKind.DYNAMIC} method constructor (line 1) | constructor(t,e){super(t,e),this.preference=t instanceof a?t.preferenc... method match (line 1) | match(t){if(!(t instanceof a))return super.match(t);if("default"===t.g... method compare (line 1) | compare(t,e){const r=super.compare(t,e);if(0!==r)return r;const n=t in... function u (line 1) | function u(t,e,r,n,i,Q){if(i(t)||r.indexOf(t.tagName)>-1||c(t,n))return ... method constructor (line 1) | constructor(){super([Q.Axis.LOCALE,Q.Axis.MODALITY,Q.Axis.DOMAIN,Q.Axi... method parse (line 1) | parse(t){const e=super.parse(t);let r=e.getValue(Q.Axis.STYLE);const n... method fromPreference (line 1) | fromPreference(t){return a.fromPreference(t)} method toPreference (line 1) | toPreference(t){return a.toPreference(t)} method constructor (line 1) | constructor(t){this.mathml=t,this.factory=new Q.SemanticNodeFactory,th... method addAttributes (line 1) | static addAttributes(t,e,r){r&&1===e.childNodes.length&&e.childNodes[0... method textContent (line 1) | static textContent(t,e,r){if(!r&&e.textContent)return void(t.textConte... method isPunctuated (line 1) | static isPunctuated(t){return!s.SemanticSkeleton.simpleCollapseStructu... method getTree (line 1) | getTree(){return this.stree} method assembleTree (line 1) | assembleTree(t){const e=this.makeNode(t),r=c.splitAttribute(c.getAttri... method makeNode (line 1) | makeNode(t){const e=c.getAttribute(t,o.Attribute.TYPE),r=c.getAttribut... method makePunctuation (line 1) | makePunctuation(t){const e=this.createNode(t);return e.updateContent((... method makePunctuated (line 1) | makePunctuated(t,e,r){const n=this.createNode(e[0]);n.type="punctuated... method makeEmpty (line 1) | makeEmpty(t,e,r){const n=this.createNode(e);n.type="empty",n.embellish... method makeIndex (line 1) | makeIndex(t,e,r){if(u.isPunctuated(e))return this.makePunctuated(t,e,r... method postProcess (line 1) | postProcess(t,e){const r=s.SemanticSkeleton.fromString(e).array;if("su... method createNode (line 1) | createNode(t){const e=this.factory.makeNode(t);return this.nodeDict[t.... method collapsedChildren_ (line 1) | collapsedChildren_(t){const e=t=>{const r=this.nodeDict[t[0]];r.childN... method setParent (line 1) | setParent(t,e){const r=c.getBySemanticId(this.mathml,t),n=this.assembl... function p (line 1) | function p(t){return l("fraction",t,["fraction"],e.nestingBarriers,{},Q.... function h (line 1) | function h(t,e,r){const n=p(t),o=Array(n).fill(e);return r&&o.push(r),o.... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyQuery(t,t... function d (line 1) | function d(t,e,r){for(;t.parentNode;){const n=t.parentNode,o=n.parentNod... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyConstrain... function f (line 1) | function f(t){return l("radical",t,["sqrt","root"],e.nestingBarriers,{})} function L (line 1) | function L(t,e,r){const n=f(t),o=m(t);return r=o?Q.LOCALE.FUNCTIONS.comb... method constructor (line 1) | constructor(){this.trie=null,this.evaluators_={},this.trie=new f.Trie} method getInstance (line 1) | static getInstance(){return L.instance=L.instance||new L,L.instance} method debugSpeechRule (line 1) | static debugSpeechRule(t,e){const r=t.precondition,n=t.context.applyQu... method debugNamedSpeechRule (line 1) | static debugNamedSpeechRule(t,e){const r=L.getInstance().trie.collectR... method evaluateNode (line 1) | evaluateNode(t){(0,s.updateEvaluator)(t);const e=(new Date).getTime();... method toString (line 1) | toString(){return this.trie.collectRules().map((t=>t.toString())).join... method runInSetting (line 1) | runInSetting(t,e){const r=Q.default.getInstance(),n={};for(const e in ... method addStore (line 1) | addStore(t){const e=y(t);"abstract"!==e.kind&&e.getSpeechRules().forEa... method processGrammar (line 1) | processGrammar(t,e,r){const n={};for(const o in r){const i=r[o];n[o]="... method addEvaluator (line 1) | addEvaluator(t){const e=t.evaluateDefault.bind(t),r=this.evaluators_[t... method getEvaluator (line 1) | getEvaluator(t,e){const r=this.evaluators_[t]||this.evaluators_[u.Dyna... method enumerate (line 1) | enumerate(t){return this.trie.enumerate(t)} method evaluateNode_ (line 1) | evaluateNode_(t){return t?(this.updateConstraint_(),this.evaluateTree_... method evaluateTree_ (line 1) | evaluateTree_(t){const e=Q.default.getInstance();let r;o.Debugger.getI... method evaluateNodeList_ (line 1) | evaluateNodeList_(t,e,r,o,i,Q){if(!e.length)return[];const T=o||"",s=Q... method addLayout (line 1) | addLayout(t,e,r){const o=e.layout;o&&(o.match(/^begin/)?t.unshift(new ... method addPersonality_ (line 1) | addPersonality_(t,e,r,o){const i={};let Q=null;for(const t of T.person... method addExternalAttributes_ (line 1) | addExternalAttributes_(t,e){if(e.hasAttributes()){const r=e.attributes... method addRelativePersonality_ (line 1) | addRelativePersonality_(t,e){if(!t.personality)return t.personality=e,... method updateConstraint_ (line 1) | updateConstraint_(){const t=Q.default.getInstance().dynamicCstr,e=Q.de... method makeSet_ (line 1) | makeSet_(t,e){return e&&Object.keys(e).length?t.split(":"):[t]} method lookupRule (line 1) | lookupRule(t,e){if(!t||t.nodeType!==i.NodeType.ELEMENT_NODE&&t.nodeTyp... method lookupRules (line 1) | lookupRules(t,e){return this.trie.lookupRules(t,e.allProperties())} method pickMostConstraint_ (line 1) | pickMostConstraint_(t,e){const r=Q.default.getInstance().comparator;re... function m (line 1) | function m(t){const e="sqrt"===t.tagName?"2":i.evalXPath("children/*[1]"... function y (line 1) | function y(t){return l("underscore",t,["underscore"],e.nestingBarriers,{... function H (line 1) | function H(t){return l("overscore",t,["overscore"],e.nestingBarriers,{},... function v (line 1) | function v(t){const e=[];let r="",n="",o=parseInt(t,2);for(let t=0;t<5;t... function u (line 1) | function u(t,e){const r=p(t);return 1===r?e:new Array(r).join(l.LOCALE.M... method constructor (line 1) | constructor(){super([Q.Axis.LOCALE,Q.Axis.MODALITY,Q.Axis.DOMAIN,Q.Axi... method parse (line 1) | parse(t){const e=super.parse(t);let r=e.getValue(Q.Axis.STYLE);const n... method fromPreference (line 1) | fromPreference(t){return a.fromPreference(t)} method toPreference (line 1) | toPreference(t){return a.toPreference(t)} method constructor (line 1) | constructor(t){this.mathml=t,this.factory=new Q.SemanticNodeFactory,th... method addAttributes (line 1) | static addAttributes(t,e,r){r&&1===e.childNodes.length&&e.childNodes[0... method textContent (line 1) | static textContent(t,e,r){if(!r&&e.textContent)return void(t.textConte... method isPunctuated (line 1) | static isPunctuated(t){return!s.SemanticSkeleton.simpleCollapseStructu... method getTree (line 1) | getTree(){return this.stree} method assembleTree (line 1) | assembleTree(t){const e=this.makeNode(t),r=c.splitAttribute(c.getAttri... method makeNode (line 1) | makeNode(t){const e=c.getAttribute(t,o.Attribute.TYPE),r=c.getAttribut... method makePunctuation (line 1) | makePunctuation(t){const e=this.createNode(t);return e.updateContent((... method makePunctuated (line 1) | makePunctuated(t,e,r){const n=this.createNode(e[0]);n.type="punctuated... method makeEmpty (line 1) | makeEmpty(t,e,r){const n=this.createNode(e);n.type="empty",n.embellish... method makeIndex (line 1) | makeIndex(t,e,r){if(u.isPunctuated(e))return this.makePunctuated(t,e,r... method postProcess (line 1) | postProcess(t,e){const r=s.SemanticSkeleton.fromString(e).array;if("su... method createNode (line 1) | createNode(t){const e=this.factory.makeNode(t);return this.nodeDict[t.... method collapsedChildren_ (line 1) | collapsedChildren_(t){const e=t=>{const r=this.nodeDict[t[0]];r.childN... method setParent (line 1) | setParent(t,e){const r=c.getBySemanticId(this.mathml,t),n=this.assembl... function p (line 1) | function p(t,e){const r=e||0;return t.parentNode?p(t.parentNode,"root"==... function h (line 1) | function h(t){const e="\u2820";if(1===t.length)return e+t;const r=t.spli... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyQuery(t,t... function d (line 1) | function d(t,r){const n=t.parent;if(!n)return!1;const o=n.type;return-1!... method constructor (line 1) | constructor(t,e){super(t,p(t)),this.context=e,this.kind=a.TrieNodeKind... method applyTest (line 1) | applyTest(t){return this.test?this.test(t):this.context.applyConstrain... function f (line 1) | function f(t,r){return t.childNodes.length?(-1!==e.NUMBER_INHIBITORS_.in... function T (line 1) | function T(t){for(;t;){if("unit"===t.getAttribute("role"))return!0;const... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... function s (line 1) | function s(t){for(;t;){if("unit"===t.getAttribute("role"))return!0;t=o.e... method finalize (line 1) | finalize(t){return function(t){a="";const e=o.parseInput(`${t}`:""} method closeTag (line 1) | closeTag(t){return``} method markup (line 1) | markup(t){const e=[];let r=[];for(const n of t){if(!n.layout){r.push(n... method processContent (line 1) | processContent(t){const e=[],r=Q.personalityMarkup(t);for(let t,n=0;t=... method constructor (line 1) | constructor(){this.customLoader=null,this.parsers={},this.comparator=n... method defaultLocale (line 1) | set defaultLocale(t){this._defaultLocale=Q.Variables.ensureLocale(t,th... method defaultLocale (line 1) | get defaultLocale(){return this._defaultLocale} method getInstance (line 1) | static getInstance(){return s.instance=s.instance||new s,s.instance} method defaultEvaluator (line 1) | static defaultEvaluator(t,e){return t} method evaluateNode (line 1) | static evaluateNode(t){return s.nodeEvaluator(t)} method getRate (line 1) | getRate(){const t=parseInt(this.rate,10);return isNaN(t)?100:t} method setDynamicCstr (line 1) | setDynamicCstr(t){if(this.defaultLocale&&(n.DynamicCstr.DEFAULT_VALUES... method configurate (line 1) | configurate(t){this.mode!==o.Mode.HTTP||this.config||(!function(t){con... method setCustomLoader (line 1) | setCustomLoader(t){t&&(this.customLoader=t)} method test (line 1) | static test(t){if(!t.mathmlTree)return!1;return"MMULTISCRIPTS"===n.tag... method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){let t,e,r;if((0,T.setAttributes)(this.mml,this.semantic),t... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t,backg... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node.previousSibling;if(e&&e.hasAttribute... method isMactionNode (line 1) | isMactionNode(t){return t.getAttribute("data-mml-node")===this.maction... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(o.evalXPath(`.//*[@data-mml-node=... method constructor (line 1) | constructor(t,e){this.base=t,this._conditions=[],this.constraints=[],t... method conditions (line 1) | get conditions(){return this._conditions} method addConstraint (line 1) | addConstraint(t){if(this.constraints.filter((e=>e.equal(t))).length)re... method addBaseCondition (line 1) | addBaseCondition(t){this.addCondition(this.base,t)} method addFullCondition (line 1) | addFullCondition(t){this.constraints.forEach((e=>this.addCondition(e,t... method addCondition (line 1) | addCondition(t,e){const r=t.toString()+" "+e.toString();this.allCstr.c... method constructor (line 1) | constructor(){super(),this.annotators=[],this.parseMethods.Alias=this.... method initialize (line 1) | initialize(){this.initialized||(this.annotations(),this.initialized=!0)} method annotations (line 1) | annotations(){for(let t,e=0;t=this.annotators[e];e++)(0,i.activate)(th... method defineAlias (line 1) | defineAlias(t,e,...r){const n=this.parsePrecondition(e,r);if(!n)return... method defineRulesAlias (line 1) | defineRulesAlias(t,e,...r){const n=this.findAllRules((function(e){retu... method defineSpecializedRule (line 1) | defineSpecializedRule(t,e,r,n){const o=this.parseCstr(e),i=this.findRu... method defineSpecialized (line 1) | defineSpecialized(t,e,r){const n=this.parseCstr(r);if(!n)return void c... method evaluateString (line 1) | evaluateString(t){const e=[];if(t.match(/^\s+$/))return e;let r=this.m... method parse (line 1) | parse(t){super.parse(t),this.annotators=t.annotators||[]} method addAlias_ (line 1) | addAlias_(t,e,r){const n=this.parsePrecondition(e,r),o=new T.SpeechRul... method matchNumber_ (line 1) | matchNumber_(t){const e=t.match(new RegExp("^"+o.LOCALE.MESSAGES.regex... method constructor (line 1) | constructor(t){this.components=t} method fromString (line 1) | static fromString(t){const e=c(t,";").filter((function(t){return t.mat... method toString (line 1) | toString(){return this.components.map((function(t){return t.toString()... method copyCollator (line 1) | copyCollator(){return new s} method add (line 1) | add(t,e){const r=this.retrieve(t,e.font);if(!r||!r.find((function(t){r... method addNode (line 1) | addNode(t){this.add(t.textContent,t.meaning())} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method reduce (line 1) | reduce(){for(const t in this.map)1!==this.map[t].length&&(this.map[t]=... method default (line 1) | default(){const t=new i;for(const e in this.map)1===this.map[e].length... method newDefault (line 1) | newDefault(){const t=this.default();this.reduce();const e=this.default... method constructor (line 1) | constructor(){super("MathML"),this.parseMap_={SEMANTICS:this.semantics... method getAttribute_ (line 1) | static getAttribute_(t,e,r){if(!t.hasAttribute(e))return r;const n=t.g... method parse (line 1) | parse(t){Q.default.getInstance().setNodeFactory(this.getFactory());con... method semantics_ (line 1) | semantics_(t,e){return e.length?this.parse(e[0]):this.getFactory().mak... method rows_ (line 1) | rows_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_"))... method fraction_ (line 1) | fraction_(t,e){if(!e.length)return this.getFactory().makeEmptyNode();c... method limits_ (line 1) | limits_(t,e){return Q.default.getInstance().limitNode(n.tagName(t),thi... method root_ (line 1) | root_(t,e){return e[1]?this.getFactory().makeBranchNode("root",[this.p... method sqrt_ (line 1) | sqrt_(t,e){const r=this.parseList(T.purgeNodes(e));return this.getFact... method table_ (line 1) | table_(t,e){const r=t.getAttribute("semantics");if(r&&r.match("bspr_")... method tableRow_ (line 1) | tableRow_(t,e){const r=this.getFactory().makeBranchNode("row",this.par... method tableLabeledRow_ (line 1) | tableLabeledRow_(t,e){if(!e.length)return this.tableRow_(t,e);const r=... method tableCell_ (line 1) | tableCell_(t,e){const r=this.parseList(T.purgeNodes(e));let n;n=r.leng... method space_ (line 1) | space_(t,e){const r=t.getAttribute("width"),o=r&&r.match(/[a-z]*$/);if... method text_ (line 1) | text_(t,e){const r=this.leaf_(t,e);return t.textContent?(r.updateConte... method identifier_ (line 1) | identifier_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance(... method number_ (line 1) | number_(t,e){const r=this.leaf_(t,e);return Q.default.number(r),r} method operator_ (line 1) | operator_(t,e){const r=this.leaf_(t,e);return Q.default.getInstance().... method fenced_ (line 1) | fenced_(t,e){const r=this.parseList(T.purgeNodes(e)),n=s.getAttribute_... method enclosed_ (line 1) | enclosed_(t,e){const r=this.parseList(T.purgeNodes(e)),n=this.getFacto... method multiscripts_ (line 1) | multiscripts_(t,e){if(!e.length)return this.getFactory().makeEmptyNode... method empty_ (line 1) | empty_(t,e){return this.getFactory().makeEmptyNode()} method action_ (line 1) | action_(t,e){return e.length>1?this.parse(e[1]):this.getFactory().make... method dummy_ (line 1) | dummy_(t,e){const r=this.getFactory().makeUnprocessed(t);return r.role... method leaf_ (line 1) | leaf_(t,e){if(1===e.length&&e[0].nodeType!==n.NodeType.TEXT_NODE){cons... method constructor (line 1) | constructor(){super(...arguments),this.modality=(0,n.addPrefix)("foreg... method visitStree_ (line 1) | static visitStree_(t,e,r){if(t.childNodes.length){if(t.contentNodes.le... method getSpeech (line 1) | getSpeech(t,e){return Q.getAttribute(t,this.modality)} method generateSpeech (line 1) | generateSpeech(t,e){return this.getRebuilt()||this.setRebuilt(new i.Re... method colorLeaves_ (line 1) | colorLeaves_(t){const e=[];s.visitStree_(this.getRebuilt().streeRoot,e... method colorLeave_ (line 1) | colorLeave_(t,e,r){const n=Q.getBySemanticId(t,e);return!!n&&(n.setAtt... class g (line 1) | class g{constructor(t,e,r,n){this.node=t,this.generator=e,this.highlight... method constructor (line 1) | constructor(t,e,r,n){this.node=t,this.generator=e,this.highlighter=r,t... method getXml (line 1) | getXml(){return this.xml_||(this.xml_=i.parseInput(this.xmlString_)),t... method getRebuilt (line 1) | getRebuilt(){return this.rebuilt_||this.rebuildStree(),this.rebuilt_} method isActive (line 1) | isActive(){return this.active_} method activate (line 1) | activate(){this.isActive()||(this.generator.start(),this.toggleActive_... method deactivate (line 1) | deactivate(){this.isActive()&&(m.WalkerState.setState(this.id,this.pri... method getFocus (line 1) | getFocus(t=!1){return this.focus_||(this.focus_=this.singletonFocus(th... method setFocus (line 1) | setFocus(t){this.focus_=t} method getDepth (line 1) | getDepth(){return this.levels.depth()-1} method isSpeech (line 1) | isSpeech(){return this.generator.modality===a.Attribute.SPEECH} method focusDomNodes (line 1) | focusDomNodes(){return this.getFocus().getDomNodes()} method focusSemanticNodes (line 1) | focusSemanticNodes(){return this.getFocus().getSemanticNodes()} method speech (line 1) | speech(){const t=this.focusDomNodes();if(!t.length)return"";const e=th... method move (line 1) | move(t){const e=this.keyMapping.get(t);if(!e)return null;const r=e();r... method up (line 1) | up(){return this.moved=m.WalkerMoves.UP,this.getFocus()} method down (line 1) | down(){return this.moved=m.WalkerMoves.DOWN,this.getFocus()} method left (line 1) | left(){return this.moved=m.WalkerMoves.LEFT,this.getFocus()} method right (line 1) | right(){return this.moved=m.WalkerMoves.RIGHT,this.getFocus()} method repeat (line 1) | repeat(){return this.moved=m.WalkerMoves.REPEAT,this.getFocus().clone()} method depth (line 1) | depth(){return this.moved=this.isSpeech()?m.WalkerMoves.DEPTH:m.Walker... method home (line 1) | home(){this.moved=m.WalkerMoves.HOME;return this.singletonFocus(this.r... method getBySemanticId (line 1) | getBySemanticId(t){return y.getBySemanticId(this.node,t)} method primaryId (line 1) | primaryId(){return this.getFocus().getSemanticPrimary().id.toString()} method expand (line 1) | expand(){const t=this.getFocus().getDomPrimary(),e=this.actionable_(t)... method expandable (line 1) | expandable(t){return!!this.actionable_(t)&&0===t.childNodes.length} method collapsible (line 1) | collapsible(t){return!!this.actionable_(t)&&t.childNodes.length>0} method restoreState (line 1) | restoreState(){if(!this.highlighter)return;const t=m.WalkerState.getSt... method updateFocus (line 1) | updateFocus(){this.setFocus(f.Focus.factory(this.getFocus().getSemanti... method rebuildStree (line 1) | rebuildStree(){this.rebuilt_=new L.RebuildStree(this.getXml()),this.ro... method previousLevel (line 1) | previousLevel(){const t=this.getFocus().getDomPrimary();return t?y.get... method nextLevel (line 1) | nextLevel(){const t=this.getFocus().getDomPrimary();let e,r;if(t){e=y.... method singletonFocus (line 1) | singletonFocus(t){this.getRebuilt();const e=this.retrieveVisuals(t);re... method retrieveVisuals (line 1) | retrieveVisuals(t){if(!this.skeleton)return[t];const e=parseInt(t,10),... method subtreeIds (line 1) | subtreeIds(t,e){const r=H.evalXPath(`//*[@data-semantic-id="${t}"]`,th... method focusFromId (line 1) | focusFromId(t,e){return f.Focus.factory(t,e,this.getRebuilt(),this.node)} method summary (line 1) | summary(){return this.moved=this.isSpeech()?m.WalkerMoves.SUMMARY:m.Wa... method detail (line 1) | detail(){return this.moved=this.isSpeech()?m.WalkerMoves.DETAIL:m.Walk... method specialMove (line 1) | specialMove(){return null} method virtualize (line 1) | virtualize(t){return this.cursors.push({focus:this.getFocus(),levels:t... method previous (line 1) | previous(){const t=this.cursors.pop();return t?(this.levels=t.levels,t... method undo (line 1) | undo(){let t;do{t=this.cursors.pop()}while(t&&!t.undo);return t?(this.... method update (line 1) | update(t){this.generator.setOptions(t),(0,T.setup)(t).then((()=>p.gene... method nextRules (line 1) | nextRules(){const t=this.generator.getOptions();return"speech"!==t.mod... method nextStyle (line 1) | nextStyle(t,e){if("mathspeak"===t){const t=["default","brief","sbrief"... method previousRules (line 1) | previousRules(){const t=this.generator.getOptions();return"speech"!==t... method refocus (line 1) | refocus(){let t,e=this.getFocus();for(;!e.getNodes().length;){t=this.l... method toggleActive_ (line 1) | toggleActive_(){this.active_=!this.active_} method mergePrefix_ (line 1) | mergePrefix_(t,e=[]){const r=this.isSpeech()?this.prefix_():"";r&&t.un... method prefix_ (line 1) | prefix_(){const t=this.getFocus().getDomNodes(),e=this.getFocus().getS... method postfix_ (line 1) | postfix_(){const t=this.getFocus().getDomNodes();return t[0]?y.getAttr... method depth_ (line 1) | depth_(){const t=c.Grammar.getInstance().getParameter("depth");c.Gramm... method actionable_ (line 1) | actionable_(t){const e=null==t?void 0:t.parentNode;return e&&this.high... method summary_ (line 1) | summary_(){const t=this.getFocus().getSemanticPrimary().id.toString(),... method detail_ (line 1) | detail_(){const t=this.getFocus().getSemanticPrimary().id.toString(),e... class o (line 1) | class o extends n.AbstractWalker{up(){return null}down(){return null}lef... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... class o (line 1) | class o{constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],th... method markup (line 1) | markup(t){return o.MARKS={},super.markup(t)} method merge (line 1) | merge(t){const e=[];for(let r=0;r{})){this.isActive_&&this.stream_&&this.stream_.end("","",t)} method startDebugFile_ (line 1) | startDebugFile_(t){this.stream_=n.default.fs.createWriteStream(t),this... method output_ (line 1) | output_(t){this.outputFunction_.apply(console.info===this.outputFuncti... method constructor (line 1) | constructor(t,e){this.name=t,this.process=e.processor,this.postprocess... method stringify_ (line 1) | static stringify_(t){return t?t.toString():t} method constructor (line 1) | constructor(){super()} method isMactionNode (line 1) | isMactionNode(t){return t.tagName.toUpperCase()===this.mactionName.toU... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method constructor (line 1) | constructor(t,e){this.foreground=n(e,o.DEFAULT_FOREGROUND_),this.backg... method toHex (line 1) | static toHex(t){const e=t.toString(16);return 1===e.length?"0"+e:e} method rgba (line 1) | rgba(){const t=function(t){return"rgba("+t.red+","+t.green+","+t.blue+... method rgb (line 1) | rgb(){const t=function(t){return"rgb("+t.red+","+t.green+","+t.blue+")... method hex (line 1) | hex(){const t=function(t){return"#"+o.toHex(t.red)+o.toHex(t.green)+o.... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,background:t.style.backgroundColor,fo... method unhighlightNode (line 1) | unhighlightNode(t){t.node.style.backgroundColor=t.background,t.node.st... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){let e=t.getAttribute("style");return e+=";background-... method unhighlightNode (line 1) | unhighlightNode(t){let e=t.node.getAttribute("style");e=e.replace(";ba... method colorString (line 1) | colorString(){return this.color.rgba()} method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByTagName(this.macti... method isMactionNode (line 1) | isMactionNode(t){return t.tagName===this.mactionName} method constructor (line 1) | constructor(t,e){const r={};for(const[e,n]of Object.entries(t))r[e]=[n... method createCstr (line 1) | static createCstr(...t){const e=o.DEFAULT_ORDER,r={};for(let n=0,o=t.l... method defaultCstr (line 1) | static defaultCstr(){return o.createCstr.apply(null,o.DEFAULT_ORDER.ma... method validOrder (line 1) | static validOrder(t){const e=o.DEFAULT_ORDER.slice();return t.every((t... method getComponents (line 1) | getComponents(){return this.components} method getValue (line 1) | getValue(t){return this.components[t]} method getValues (line 1) | getValues(){return this.order.map((t=>this.getValue(t)))} method allProperties (line 1) | allProperties(){const t=super.allProperties();for(let e,r,n=0;e=t[n],r... method toString (line 1) | toString(){return this.getValues().join(".")} method equal (line 1) | equal(t){const e=t.getAxes();if(this.order.length!==e.length)return!1;... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e);return t.setAttribute(... method getSpeech (line 1) | getSpeech(t,e){return""} method up (line 1) | up(){return null} method down (line 1) | down(){return null} method left (line 1) | left(){return null} method right (line 1) | right(){return null} method repeat (line 1) | repeat(){return null} method depth (line 1) | depth(){return null} method home (line 1) | home(){return null} method getDepth (line 1) | getDepth(){return 0} method initLevels (line 1) | initLevels(){return null} method combineContentChildren (line 1) | combineContentChildren(t,e,r,n){return[]} method findFocusOnLevel (line 1) | findFocusOnLevel(t){return null} method constructor (line 1) | constructor(t,e){this.nodes=t,this.primary=e,this.domNodes=[],this.dom... method factory (line 1) | static factory(t,e,r,i){const Q=t=>n.getBySemanticId(i,t),T=r.nodeDict... method generateAllVisibleNodes_ (line 1) | static generateAllVisibleNodes_(t,e,r,i){const Q=t=>n.getBySemanticId(... method getSemanticPrimary (line 1) | getSemanticPrimary(){return this.primary} method getSemanticNodes (line 1) | getSemanticNodes(){return this.nodes} method getNodes (line 1) | getNodes(){return this.allNodes} method getDomNodes (line 1) | getDomNodes(){return this.domNodes} method getDomPrimary (line 1) | getDomPrimary(){return this.domPrimary_} method toString (line 1) | toString(){return"Primary:"+this.domPrimary_+" Nodes:"+this.domNodes} method clone (line 1) | clone(){const t=new o(this.nodes,this.primary);return t.domNodes=this.... class r (line 1) | class r{constructor(){this.level_=[]}push(t){this.level_.push(t)}pop(){r... method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} class u (line 1) | class u{constructor(t){this.mathml=t,this.factory=new Q.SemanticNodeFact... method constructor (line 1) | constructor(){super([Q.Axis.LOCALE,Q.Axis.MODALITY,Q.Axis.DOMAIN,Q.Axi... method parse (line 1) | parse(t){const e=super.parse(t);let r=e.getValue(Q.Axis.STYLE);const n... method fromPreference (line 1) | fromPreference(t){return a.fromPreference(t)} method toPreference (line 1) | toPreference(t){return a.toPreference(t)} method constructor (line 1) | constructor(t){this.mathml=t,this.factory=new Q.SemanticNodeFactory,th... method addAttributes (line 1) | static addAttributes(t,e,r){r&&1===e.childNodes.length&&e.childNodes[0... method textContent (line 1) | static textContent(t,e,r){if(!r&&e.textContent)return void(t.textConte... method isPunctuated (line 1) | static isPunctuated(t){return!s.SemanticSkeleton.simpleCollapseStructu... method getTree (line 1) | getTree(){return this.stree} method assembleTree (line 1) | assembleTree(t){const e=this.makeNode(t),r=c.splitAttribute(c.getAttri... method makeNode (line 1) | makeNode(t){const e=c.getAttribute(t,o.Attribute.TYPE),r=c.getAttribut... method makePunctuation (line 1) | makePunctuation(t){const e=this.createNode(t);return e.updateContent((... method makePunctuated (line 1) | makePunctuated(t,e,r){const n=this.createNode(e[0]);n.type="punctuated... method makeEmpty (line 1) | makeEmpty(t,e,r){const n=this.createNode(e);n.type="empty",n.embellish... method makeIndex (line 1) | makeIndex(t,e,r){if(u.isPunctuated(e))return this.makePunctuated(t,e,r... method postProcess (line 1) | postProcess(t,e){const r=s.SemanticSkeleton.fromString(e).array;if("su... method createNode (line 1) | createNode(t){const e=this.factory.makeNode(t);return this.nodeDict[t.... method collapsedChildren_ (line 1) | collapsedChildren_(t){const e=t=>{const r=this.nodeDict[t[0]];r.childN... method setParent (line 1) | setParent(t,e){const r=c.getBySemanticId(this.mathml,t),n=this.assembl... class i (line 1) | class i extends n.AbstractWalker{constructor(t,e,r,n){super(t,e,r,n),thi... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... class Q (line 1) | class Q extends o.AbstractWalker{constructor(t,e,r,n){super(t,e,r,n),thi... method markup (line 1) | markup(t){const e=i.personalityMarkup(t);let r="",o=null,Q=!1;for(let ... method pause (line 1) | pause(t){let e;return e="number"==typeof t?t<=250?"short":t<=500?"medi... method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){this.setScaleFunction(-2,2,-100,100,2);const e=o.personality... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&"line"===t.type} method getMathml (line 1) | getMathml(){return this.semantic.contentNodes.length&&o.walkTree(this.... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!!t.mathmlTree&&("inference"===t.type||"premises"... method getMathml (line 1) | getMathml(){return this.semantic.childNodes.length?(this.semantic.cont... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return"punctuated"===t.type&&("text"===t.role||t.conten... method getMathml (line 1) | getMathml(){const t=[],e=o.collapsePunctuated(this.semantic,t);return ... method constructor (line 1) | constructor(){this.map={}} method add (line 1) | add(t,e){const r=this.map[t];r?r.push(e):this.map[t]=[e]} method retrieve (line 1) | retrieve(t,e){return this.map[i.key(t,e)]} method retrieveNode (line 1) | retrieveNode(t){return this.retrieve(t.textContent,t.font)} method copy (line 1) | copy(){const t=this.copyCollator();for(const e in this.map)t.map[e]=th... method minimize (line 1) | minimize(){for(const t in this.map)1===this.map[t].length&&delete this... method minimalCollator (line 1) | minimalCollator(){const t=this.copy();for(const e in t.map)1===t.map[e... method isMultiValued (line 1) | isMultiValued(){for(const t in this.map)if(this.map[t].length>1)return... method isEmpty (line 1) | isEmpty(){return!Object.keys(this.map).length} method constructor (line 1) | constructor(t){this.id=t,this.mathml=[],this.parent=null,this.type="un... method fromXml (line 1) | static fromXml(t){const e=parseInt(t.getAttribute("id"),10),r=new Q(e)... method setAttribute (line 1) | static setAttribute(t,e,r,n){n=n||r;const o=e.getAttribute(r);o&&(t[n]... method processChildren (line 1) | static processChildren(t,e){for(const r of n.toArray(e.childNodes)){if... method querySelectorAll (line 1) | querySelectorAll(t){let e=[];for(let r,n=0;r=this.childNodes[n];n++)e=... method xml (line 1) | xml(t,e){const r=function(r,n){const o=n.map((function(r){return r.xml... method toString (line 1) | toString(t=!1){const e=n.parseInput("");return n.serializeXml(... method allAttributes (line 1) | allAttributes(){const t=[];return t.push(["role",this.role]),"unknown"... method xmlAnnotation (line 1) | xmlAnnotation(){const t=[];for(const e in this.annotation)this.annotat... method toJson (line 1) | toJson(){const t={};t.type=this.type;const e=this.allAttributes();for(... method updateContent (line 1) | updateContent(t,e){const r=e?t.replace(/^[ \f\n\r\t\v\u200b]*/,"").rep... method addMathmlNodes (line 1) | addMathmlNodes(t){for(let e,r=0;e=t[r];r++)-1===this.mathml.indexOf(e)... method appendChild (line 1) | appendChild(t){this.childNodes.push(t),this.addMathmlNodes(t.mathml),t... method replaceChild (line 1) | replaceChild(t,e){const r=this.childNodes.indexOf(t);if(-1===r)return;... method appendContentNode (line 1) | appendContentNode(t){t&&(this.contentNodes.push(t),this.addMathmlNodes... method removeContentNode (line 1) | removeContentNode(t){if(t){const e=this.contentNodes.indexOf(t);-1!==e... method equals (line 1) | equals(t){if(!t)return!1;if(this.type!==t.type||this.role!==t.role||th... method displayTree (line 1) | displayTree(){console.info(this.displayTree_(0))} method addAnnotation (line 1) | addAnnotation(t,e){e&&this.addAnnotation_(t,e)} method getAnnotation (line 1) | getAnnotation(t){const e=this.annotation[t];return e||[]} method hasAnnotation (line 1) | hasAnnotation(t,e){const r=this.annotation[t];return!!r&&-1!==r.indexO... method parseAnnotation (line 1) | parseAnnotation(t){const e=t.split(";");for(let t=0,r=e.length;t{return t.concat((... method fromStructure (line 1) | static fromStructure(t,e){return new Q(Q.tree_(t,e.root))} method combineContentChildren (line 1) | static combineContentChildren(t,e,r){switch(t.type){case"relseq":case"... method makeSexp_ (line 1) | static makeSexp_(t){return Q.simpleCollapseStructure(t)?t.toString():Q... method fromString_ (line 1) | static fromString_(t){let e=t.replace(/\(/g,"[");return e=e.replace(/\... method fromNode_ (line 1) | static fromNode_(t){if(!t)return[];const e=t.contentNodes;let r;e.leng... method tree_ (line 1) | static tree_(t,e){if(!e)return[];if(!e.childNodes.length)return e.id;c... method addOwns_ (line 1) | static addOwns_(t,e){const r=t.getAttribute(i.Attribute.COLLAPSED),n=r... method realLeafs_ (line 1) | static realLeafs_(t){if(Q.simpleCollapseStructure(t))return[t];if(Q.co... method populate (line 1) | populate(){this.parents&&this.levelsMap||(this.parents={},this.levelsM... method toString (line 1) | toString(){return Q.makeSexp_(this.array)} method populate_ (line 1) | populate_(t,e,r){if(Q.simpleCollapseStructure(t))return t=t,this.level... method isRoot (line 1) | isRoot(t){return t===this.levelsMap[t][0]} method directChildren (line 1) | directChildren(t){if(!this.isRoot(t))return[];return this.levelsMap[t]... method subtreeNodes (line 1) | subtreeNodes(t){if(!this.isRoot(t))return[];const e=(t,r)=>{Q.simpleCo... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method initLevels (line 1) | initLevels(){const t=new i.Levels;return t.push([this.primaryId()]),t} method up (line 1) | up(){super.up();const t=this.previousLevel();return t?(this.levels.pop... method down (line 1) | down(){super.down();const t=this.nextLevel();if(0===t.length)return nu... method combineContentChildren (line 1) | combineContentChildren(t,e,r,o){switch(t){case"relseq":case"infixop":c... method left (line 1) | left(){super.left();const t=this.levels.indexOf(this.primaryId());if(n... method right (line 1) | right(){super.right();const t=this.levels.indexOf(this.primaryId());if... method findFocusOnLevel (line 1) | findFocusOnLevel(t){return this.singletonFocus(t.toString())} method focusDomNodes (line 1) | focusDomNodes(){return[this.getFocus().getDomPrimary()]} method focusSemanticNodes (line 1) | focusSemanticNodes(){return[this.getFocus().getSemanticPrimary()]} class T (line 1) | class T extends i.SyntaxWalker{constructor(t,e,r,n){super(t,e,r,n),this.... method markup (line 1) | markup(t){this.setScaleFunction(-2,2,0,10,0);const e=i.personalityMark... method error (line 1) | error(t){return'(error "'+o.Move.get(t)+'")'} method prosodyElement (line 1) | prosodyElement(t,e){switch(e=this.applyScaleFunction(e),t){case n.pers... method pause (line 1) | pause(t){return"(pause . "+this.pauseValue(t[n.personalityProps.PAUSE]... method prosody_ (line 1) | prosody_(t){const e=t.open,r=[];for(let n,o=0;n=e[o];o++)r.push(this.p... method constructor (line 1) | constructor(t=""){super(),this.message=t,this.name="SRE Error"} method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){return!t.mathmlTree&&"line"===t.type&&"binomial"===t.role} method getMathml (line 1) | getMathml(){if(!this.semantic.childNodes.length)return this.mml;const ... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes[0],e=t.childNodes[0],r=th... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method test (line 1) | static test(t){if(!t.mathmlTree||!t.childNodes.length)return!1;const e... method walkTree_ (line 1) | static walkTree_(t){t&&i.walkTree(t)} method getMathml (line 1) | getMathml(){const t=this.semantic.childNodes;return"limboth"!==this.se... method constructor (line 1) | constructor(t){super(t),this.mml=t.mathmlTree} method multiscriptIndex (line 1) | static multiscriptIndex(t){return"punctuated"===t.type&&"dummy"===t.co... method createNone_ (line 1) | static createNone_(t){const e=n.createElement("none");return t&&(0,Q.s... method completeMultiscript (line 1) | completeMultiscript(t,e){const r=n.toArray(this.mml.childNodes).slice(... method constructor (line 1) | constructor(t){super(t),this.inner=[],this.mml=t.mathmlTree} method test (line 1) | static test(t){return"matrix"===t.type||"vector"===t.type||"cases"===t... method getMathml (line 1) | getMathml(){const t=i.cloneContentNode(this.semantic.contentNodes[0]),... method test (line 1) | static test(t){return!!t.mathmlTree&&"tensor"===t.type} method constructor (line 1) | constructor(t){super(t)} method getMathml (line 1) | getMathml(){i.walkTree(this.semantic.childNodes[0]);const t=o.CaseMult... method constructor (line 1) | constructor(){this.context=new Q.SpeechRuleContext,this.parseOrder=o.D... method compareStaticConstraints_ (line 1) | static compareStaticConstraints_(t,e){if(t.length!==e.length)return!1;... method comparePreconditions_ (line 1) | static comparePreconditions_(t,e){const r=t.precondition,n=e.precondit... method defineRule (line 1) | defineRule(t,e,r,n,...o){const Q=this.parseAction(r),T=this.parsePreco... method addRule (line 1) | addRule(t){t.context=this.context,this.speechRules_.unshift(t)} method deleteRule (line 1) | deleteRule(t){const e=this.speechRules_.indexOf(t);-1!==e&&this.speech... method findRule (line 1) | findRule(t){for(let e,r=0;e=this.speechRules_[r];r++)if(t(e))return e;... method findAllRules (line 1) | findAllRules(t){return this.speechRules_.filter(t)} method evaluateDefault (line 1) | evaluateDefault(t){const e=t.textContent.slice(0);return e.match(/^\s+... method evaluateWhitespace (line 1) | evaluateWhitespace(t){return[]} method evaluateCustom (line 1) | evaluateCustom(t){const e=this.customTranscriptions[t];return void 0!=... method evaluateCharacter (line 1) | evaluateCharacter(t){return this.evaluateCustom(t)||n.AuditoryDescript... method removeDuplicates (line 1) | removeDuplicates(t){for(let e,r=this.speechRules_.length-1;e=this.spee... method getSpeechRules (line 1) | getSpeechRules(){return this.speechRules_} method setSpeechRules (line 1) | setSpeechRules(t){this.speechRules_=t} method getPreconditions (line 1) | getPreconditions(){return this.preconditions} method parseCstr (line 1) | parseCstr(t){try{return this.parser.parse(this.locale+"."+this.modalit... method parsePrecondition (line 1) | parsePrecondition(t,e){try{const r=this.parsePrecondition_(t);t=r[0];l... method parseAction (line 1) | parseAction(t){try{return i.Action.fromString(t)}catch(e){if("RuleErro... method parse (line 1) | parse(t){this.modality=t.modality||this.modality,this.locale=t.locale|... method parseRules (line 1) | parseRules(t){for(let e,r=0;e=t[r];r++){const t=e[0],r=this.parseMetho... method generateRules (line 1) | generateRules(t){const e=this.context.customGenerators.lookup(t);e&&e(... method defineAction (line 1) | defineAction(t,e){let r;try{r=i.Action.fromString(e)}catch(t){if("Rule... method getFullPreconditions (line 1) | getFullPreconditions(t){const e=this.preconditions.get(t);return e||!t... method definePrecondition (line 1) | definePrecondition(t,e,r,...n){const o=this.parsePrecondition(r,n),i=t... method inheritRules (line 1) | inheritRules(){if(!this.inherits||!this.inherits.getSpeechRules().leng... method ignoreRules (line 1) | ignoreRules(t,...e){let r=this.findAllRules((e=>e.name===t));if(!e.len... method parsePrecondition_ (line 1) | parsePrecondition_(t){const e=this.context.customGenerators.lookup(t);... method constructor (line 1) | constructor(){this.currentFlags={},this.parameters_={},this.correction... method getInstance (line 1) | static getInstance(){return T.instance=T.instance||new T,T.instance} method parseInput (line 1) | static parseInput(t){const e={},r=t.split(":");for(let t=0,n=r.length;... method parseState (line 1) | static parseState(t){const e={},r=t.split(" ");for(let t=0,n=r.length;... method translateString_ (line 1) | static translateString_(t){if(t.match(/:unit$/))return T.translateUnit... method translateUnit_ (line 1) | static translateUnit_(t){t=T.prepareUnit_(t);const e=o.default.getInst... method prepareUnit_ (line 1) | static prepareUnit_(t){const e=t.match(/:unit$/);return e?t.slice(0,e.... method cleanUnit_ (line 1) | static cleanUnit_(t){return t.match(/:unit$/)?t.replace(/:unit$/,""):t} method clear (line 1) | clear(){this.parameters_={},this.stateStack_=[]} method setParameter (line 1) | setParameter(t,e){const r=this.parameters_[t];return e?this.parameters... method getParameter (line 1) | getParameter(t){return this.parameters_[t]} method setCorrection (line 1) | setCorrection(t,e){this.corrections_[t]=e} method setPreprocessor (line 1) | setPreprocessor(t,e){this.preprocessors_[t]=e} method getCorrection (line 1) | getCorrection(t){return this.corrections_[t]} method getState (line 1) | getState(){const t=[];for(const e in this.parameters_){const r=this.pa... method pushState (line 1) | pushState(t){for(const e in t)t[e]=this.setParameter(e,t[e]);this.stat... method popState (line 1) | popState(){const t=this.stateStack_.pop();for(const e in t)this.setPar... method setAttribute (line 1) | setAttribute(t){if(t&&t.nodeType===n.NodeType.ELEMENT_NODE){const r=th... method preprocess (line 1) | preprocess(t){return this.runProcessors_(t,this.preprocessors_)} method correct (line 1) | correct(t){return this.runProcessors_(t,this.corrections_)} method apply (line 1) | apply(t,e){return this.currentFlags=e||{},t=this.currentFlags.adjust||... method runProcessors_ (line 1) | runProcessors_(t,e){for(const r in this.parameters_){const n=e[r];if(!... method constructor (line 1) | constructor({type:t,content:e,attributes:r,grammar:n}){this.type=t,thi... method grammarFromString (line 1) | static grammarFromString(t){return o.Grammar.parseInput(t)} method fromString (line 1) | static fromString(t){const e={type:Q(t.substring(0,3))};let r=t.slice(... method attributesFromString (line 1) | static attributesFromString(t){if("("!==t[0]||")"!==t.slice(-1))throw ... method toString (line 1) | toString(){let t="";t+=function(t){switch(t){case i.NODE:return"[n]";c... method grammarToString (line 1) | grammarToString(){return this.getGrammar().join(":")} method getGrammar (line 1) | getGrammar(){const t=[];for(const e in this.grammar)!0===this.grammar[... method attributesToString (line 1) | attributesToString(){const t=this.getAttributes(),e=this.grammarToStri... method getAttributes (line 1) | getAttributes(){const t=[];for(const e in this.attributes){const r=thi... method copyCollator (line 1) | copyCollator(){return new T} method add (line 1) | add(t,e){const r=i.key(t,e.font);super.add(r,e)} method addNode (line 1) | addNode(t){this.add(t.textContent,t)} method toString (line 1) | toString(){const t=[];for(const e in this.map){const r=Array(e.length+... method collateMeaning (line 1) | collateMeaning(){const t=new s;for(const e in this.map)t.map[e]=this.m... method getSpeech (line 1) | getSpeech(t,e){const r=this.generateSpeech(t,e),i=this.getRebuilt().no... method constructor (line 1) | constructor(t,e,r,n){super(t,e,r,n),this.node=t,this.generator=e,this.... method move (line 1) | move(t){this.key_=t;const e=super.move(t);return this.modifier=!1,e} method up (line 1) | up(){return this.moved=Q.WalkerMoves.UP,this.eligibleCell_()?this.vert... method down (line 1) | down(){return this.moved=Q.WalkerMoves.DOWN,this.eligibleCell_()?this.... method jumpCell (line 1) | jumpCell(){if(!this.isInTable_()||null===this.key_)return this.getFocu... method undo (line 1) | undo(){const t=super.undo();return t===this.firstJump&&(this.firstJump... method eligibleCell_ (line 1) | eligibleCell_(){const t=this.getFocus().getSemanticPrimary();return th... method verticalMove_ (line 1) | verticalMove_(t){const e=this.previousLevel();if(!e)return null;const ... method jumpCell_ (line 1) | jumpCell_(t,e){this.firstJump?this.virtualize(!1):(this.firstJump=this... method isLegalJump_ (line 1) | isLegalJump_(t,e){const r=n.querySelectorAllByAttrValue(this.getRebuil... method isInTable_ (line 1) | isInTable_(){let t=this.getFocus().getSemanticPrimary();for(;t;){if(-1... class r (line 1) | class r{static resetState(t){delete r.STATE[t]}static setState(t,e){r.ST... method ensureLocale (line 1) | static ensureLocale(t,e){return r.LOCALES.get(t)?t:(console.error(`Loc... method constructor (line 1) | constructor(t,e){this.prefix=t,this.store=e} method add (line 1) | add(t,e){this.checkCustomFunctionSyntax_(t)&&(this.store[t]=e)} method addStore (line 1) | addStore(t){const e=Object.keys(t.store);for(let r,n=0;r=e[n];n++)this... method lookup (line 1) | lookup(t){return this.store[t]} method checkCustomFunctionSyntax_ (line 1) | checkCustomFunctionSyntax_(t){const e=new RegExp("^"+this.prefix);retu... method constructor (line 1) | constructor(t,e,r=(t=>!1)){this.name=t,this.apply=e,this.applicable=r} method constructor (line 1) | constructor(){this.level_=[]} method push (line 1) | push(t){this.level_.push(t)} method pop (line 1) | pop(){return this.level_.pop()} method peek (line 1) | peek(){return this.level_[this.level_.length-1]||null} method indexOf (line 1) | indexOf(t){const e=this.peek();return e?e.indexOf(t):null} method find (line 1) | find(t){const e=this.peek();if(!e)return null;for(let r=0,n=e.length;r... method get (line 1) | get(t){const e=this.peek();return!e||t<0||t>=e.length?null:e[t]} method depth (line 1) | depth(){return this.level_.length} method clone (line 1) | clone(){const t=new r;return t.level_=this.level_.slice(0),t} method toString (line 1) | toString(){let t="";for(let e,r=0;e=this.level_[r];r++)t+="\n"+e.map((... method resetState (line 1) | static resetState(t){delete r.STATE[t]} method setState (line 1) | static setState(t,e){r.STATE[t]=e} method getState (line 1) | static getState(t){return r.STATE[t]} function __webpack_require__ (line 1) | function __webpack_require__(t){var e=__webpack_module_cache__[t];if(voi... function i (line 1) | function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Ar... method constructor (line 1) | constructor({context:t,text:e,userValue:r,annotation:n,attributes:o,pe... method create (line 1) | static create(t,e={}){return t.text=n.Grammar.getInstance().apply(t.te... method isEmpty (line 1) | isEmpty(){return 0===this.context.length&&0===this.text.length&&0===th... method clone (line 1) | clone(){let t,e;if(this.personality){t={};for(const e in this.personal... method toString (line 1) | toString(){return'AuditoryDescription(context="'+this.context+'" text... method descriptionString (line 1) | descriptionString(){return this.context&&this.text?this.context+" "+th... method descriptionSpan (line 1) | descriptionSpan(){return new o.Span(this.descriptionString(),this.attr... method equals (line 1) | equals(t){return this.context===t.context&&this.text===t.text&&this.us... method constructor (line 1) | constructor(){super(...arguments),this.ignoreElements=[n.personalityPr... method setScaleFunction (line 1) | setScaleFunction(t,e,r,n,o=0){this.scaleFunction=i=>{const Q=(i-t)/(e-... method applyScaleFunction (line 1) | applyScaleFunction(t){return this.scaleFunction?this.scaleFunction(t):t} method ignoreElement (line 1) | ignoreElement(t){return-1!==this.ignoreElements.indexOf(t)} method finalize (line 1) | finalize(t){return'"} method markup (line 1) | markup(t){let e="";const r=(0,o.personalityMarkup)(t).filter((t=>t.spa... method constructor (line 1) | constructor(t,e){super(t,e),this.key=e.key||i.getKey_} method getKey_ (line 1) | static getKey_(t){return"string"==typeof t?n.KeyCode[t.toUpperCase()]:t} method constructor (line 1) | constructor(){this.color=null,this.mactionName="",this.currentHighligh... method highlight (line 1) | highlight(t){this.currentHighlights.push(t.map((t=>{const e=this.highl... method highlightAll (line 1) | highlightAll(t){const e=this.getMactionNodes(t);for(let t,r=0;t=e[r];r... method unhighlight (line 1) | unhighlight(){const t=this.currentHighlights.pop();t&&t.forEach((t=>{t... method unhighlightAll (line 1) | unhighlightAll(){for(;this.currentHighlights.length>0;)this.unhighligh... method setColor (line 1) | setColor(t){this.color=t} method colorString (line 1) | colorString(){return this.color.rgba()} method addEvents (line 1) | addEvents(t,e){const r=this.getMactionNodes(t);for(let t,n=0;t=r[n];n+... method getMactionNodes (line 1) | getMactionNodes(t){return Array.from(t.getElementsByClassName(this.mac... method isMactionNode (line 1) | isMactionNode(t){const e=t.className||t.getAttribute("class");return!!... method isHighlighted (line 1) | isHighlighted(t){return t.hasAttribute(i.ATTR)} method setHighlighted (line 1) | setHighlighted(t){t.setAttribute(i.ATTR,"true")} method unsetHighlighted (line 1) | unsetHighlighted(t){t.removeAttribute(i.ATTR)} method colorizeAll (line 1) | colorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=>t... method uncolorizeAll (line 1) | uncolorizeAll(t){n.evalXPath(`.//*[@${o.Attribute.ID}]`,t).forEach((t=... method colorize (line 1) | colorize(t){const e=(0,o.addPrefix)("foreground");t.hasAttribute(e)&&(... method uncolorize (line 1) | uncolorize(t){const e=(0,o.addPrefix)("foreground")+"-old";t.hasAttrib... method constructor (line 1) | constructor(){super(),this.mactionName="maction"} method highlightNode (line 1) | highlightNode(t){const e={node:t,foreground:t.style.color,position:t.s... method unhighlightNode (line 1) | unhighlightNode(t){const e=t.node;e.style.color=t.foreground,e.style.p... method constructor (line 1) | constructor(){super(),this.mactionName="mjx-svg-maction"} method highlightNode (line 1) | highlightNode(t){let e;if(this.isHighlighted(t))return e={node:t.previ... method setHighlighted (line 1) | setHighlighted(t){"svg"===t.tagName&&super.setHighlighted(t)} method unhighlightNode (line 1) | unhighlightNode(t){if("background"in t)return t.node.style.backgroundC... method isMactionNode (line 1) | isMactionNode(t){let e=t.className||t.getAttribute("class");return e=v... method constructor (line 1) | constructor(t,e){this.constraint=t,this.test=e,this.children_={},this.... method getConstraint (line 1) | getConstraint(){return this.constraint} method getKind (line 1) | getKind(){return this.kind} method applyTest (line 1) | applyTest(t){return this.test(t)} method addChild (line 1) | addChild(t){const e=t.getConstraint(),r=this.children_[e];return this.... method getChild (line 1) | getChild(t){return this.children_[t]} method getChildren (line 1) | getChildren(){const t=[];for(const e in this.children_)t.push(this.chi... method findChildren (line 1) | findChildren(t){const e=[];for(const r in this.children_){const n=this... method removeChild (line 1) | removeChild(t){delete this.children_[t]} method toString (line 1) | toString(){return this.constraint} method constructor (line 1) | constructor(){this.root=(0,o.getNode)(n.TrieNodeKind.ROOT,"",null)} method collectRules_ (line 1) | static collectRules_(t){const e=[];let r=[t];for(;r.length;){const t=r... method printWithDepth_ (line 1) | static printWithDepth_(t,e,r){r+=new Array(e+2).join(e.toString())+": ... method order_ (line 1) | static order_(t){const e=t.getChildren();if(!e.length)return 0;const r... method addRule (line 1) | addRule(t){let e=this.root;const r=t.context,o=t.dynamicCstr.getValues... method lookupRules (line 1) | lookupRules(t,e){let r=[this.root];const o=[];for(;e.length;){const t=... method hasSubtrie (line 1) | hasSubtrie(t){let e=this.root;for(let r=0,n=t.length;re.getSemanticPrimary()... function Mn (line 1) | function Mn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new A... FILE: apps/web/src/App.tsx type UpdateEventData (line 41) | interface UpdateEventData { type ElectronUpdateAPI (line 48) | interface ElectronUpdateAPI { function App (line 58) | function App() { FILE: apps/web/src/__tests__/bootstrap/installPreloadErrorHandler.test.ts function createHarness (line 9) | function createHarness(opts?: { method get (line 114) | get() { FILE: apps/web/src/__tests__/components/mouseSelectionStyle.test.ts function createMockView (line 10) | function createMockView( function makeMouseEvent (line 23) | function makeMouseEvent(detail: number, x: number): MouseEvent { FILE: apps/web/src/__tests__/components/sortUtils.test.ts function makeFile (line 6) | function makeFile(name: string, updatedAt: string, title?: string): File... function makeFolder (line 17) | function makeFolder(name: string, children: TreeItem[]): FolderItem { function names (line 28) | function names(items: TreeItem[]): string[] { FILE: apps/web/src/__tests__/services/autoCompressImage.test.ts function createImageFile (line 9) | function createImageFile( function createBlobOfSize (line 17) | function createBlobOfSize(sizeInBytes: number, type = "image/jpeg"): Blob { FILE: apps/web/src/__tests__/services/htmlCopyService.test.ts function stubClipboard (line 29) | function stubClipboard(writeText: ReturnType) { FILE: apps/web/src/__tests__/services/imageUploadFlow.integration.test.ts function createImageFile (line 8) | function createImageFile( function createBlobOfSize (line 16) | function createBlobOfSize(sizeInBytes: number, type = "image/jpeg"): Blob { FILE: apps/web/src/__tests__/services/wechatCopyService.test.ts type MockClipboardItemData (line 88) | type MockClipboardItemData = Record< class MockClipboardItem (line 93) | class MockClipboardItem { method supports (line 94) | static supports(_type: string): boolean { method constructor (line 101) | constructor( method getType (line 109) | async getType(type: string): Promise { class MockImage (line 167) | class MockImage { method src (line 171) | set src(_value: string) { class BrokenImage (line 433) | class BrokenImage { method src (line 437) | set src(_value: string) { FILE: apps/web/src/bootstrap/installPreloadErrorHandler.ts constant PRELOAD_RELOAD_AT_KEY (line 7) | const PRELOAD_RELOAD_AT_KEY = "wemd:preload-reloaded-at"; constant PRELOAD_RELOAD_COOLDOWN_MS (line 8) | const PRELOAD_RELOAD_COOLDOWN_MS = 10_000; type PreloadErrorHandlerDeps (line 10) | interface PreloadErrorHandlerDeps { constant NOOP_STORAGE (line 17) | const NOOP_STORAGE: Pick = { function getSafeSessionStorage (line 24) | function getSafeSessionStorage( function installPreloadErrorHandler (line 34) | function installPreloadErrorHandler(deps: PreloadErrorHandlerDeps) { FILE: apps/web/src/components/Editor/MarkdownEditor.tsx constant SYNC_SCROLL_EVENT (line 27) | const SYNC_SCROLL_EVENT = "wemd-sync-scroll"; type SyncScrollDetail (line 29) | interface SyncScrollDetail { function MarkdownEditor (line 34) | function MarkdownEditor() { FILE: apps/web/src/components/Editor/SaveIndicator.tsx function formatRelativeTime (line 8) | function formatRelativeTime(date: Date | null): string { function SaveIndicator (line 26) | function SaveIndicator() { FILE: apps/web/src/components/Editor/SearchPanel.tsx type SearchPanelProps (line 15) | interface SearchPanelProps { type Match (line 20) | interface Match { function SearchPanel (line 28) | function SearchPanel({ view, onClose }: SearchPanelProps) { FILE: apps/web/src/components/Editor/SyntaxHelpPopover.tsx function SyntaxHelpPopover (line 20) | function SyntaxHelpPopover() { FILE: apps/web/src/components/Editor/Toolbar.tsx type ToolbarProps (line 31) | interface ToolbarProps { function Toolbar (line 35) | function Toolbar({ onInsert }: ToolbarProps) { FILE: apps/web/src/components/Editor/ToolbarState.ts constant LINK_TO_FOOTNOTE_EVENT (line 2) | const LINK_TO_FOOTNOTE_EVENT = "wemd-link-to-footnote-change"; function getLinkToFootnoteEnabled (line 5) | function getLinkToFootnoteEnabled() { function setLinkToFootnoteEnabled (line 15) | function setLinkToFootnoteEnabled(enabled: boolean) { FILE: apps/web/src/components/Editor/editorShortcuts.ts function wrapSelection (line 12) | function wrapSelection( function toggleHeader (line 34) | function toggleHeader(view: EditorView, level: number): boolean { function wrapBlock (line 73) | function wrapBlock(view: EditorView, prefix: string, suffix: string): bo... function toggleList (line 98) | function toggleList(view: EditorView, prefix: string): boolean { FILE: apps/web/src/components/Editor/markdownUnderline.ts constant PLUS (line 4) | const PLUS = "+".charCodeAt(0); FILE: apps/web/src/components/Editor/mouseSelectionStyle.ts type LineRange (line 4) | interface LineRange { function posFromEvent (line 9) | function posFromEvent(view: EditorView, event: MouseEvent): number { function isParagraphBreakLine (line 13) | function isParagraphBreakLine(text: string): boolean { function nonEmptyBreakLineRange (line 17) | function nonEmptyBreakLineRange( function paragraphContentRangeAtPos (line 30) | function paragraphContentRangeAtPos( function mergeLineRanges (line 64) | function mergeLineRanges( function makeParagraphMouseSelectionStyle (line 78) | function makeParagraphMouseSelectionStyle( FILE: apps/web/src/components/Editor/toolbarConfigs.ts type ToolbarInsertTool (line 29) | interface ToolbarInsertTool { type MermaidTemplate (line 37) | interface MermaidTemplate { FILE: apps/web/src/components/ErrorBoundary/ErrorBoundary.tsx type Props (line 3) | interface Props { type State (line 7) | interface State { class ErrorBoundary (line 12) | class ErrorBoundary extends Component { method getDerivedStateFromError (line 17) | public static getDerivedStateFromError(error: Error): State { method componentDidCatch (line 21) | public componentDidCatch(error: Error, errorInfo: ErrorInfo) { method render (line 25) | public render() { FILE: apps/web/src/components/Header/Header.tsx function Header (line 113) | function Header() { FILE: apps/web/src/components/History/FileSystemHistory.tsx function getFileTitle (line 19) | function getFileTitle(file: StorageFileItem): string { function formatDate (line 25) | function formatDate(value?: string | number | Date) { function flattenFileItems (line 30) | function flattenFileItems(items: StorageFileItem[]): StorageFileItem[] { type FileSystemHistoryProps (line 49) | interface FileSystemHistoryProps { function FileSystemHistory (line 53) | function FileSystemHistory({ adapter }: FileSystemHistoryProps) { FILE: apps/web/src/components/History/HistoryManager.tsx constant AUTO_SAVE_INTERVAL (line 6) | const AUTO_SAVE_INTERVAL = 10 * 1000; constant UNTITLED_TITLE (line 7) | const UNTITLED_TITLE = "未命名文章"; function deriveTitle (line 9) | function deriveTitle(markdown: string) { function HistoryManager (line 20) | function HistoryManager() { FILE: apps/web/src/components/History/HistoryPanel.tsx function HistoryPanel (line 6) | function HistoryPanel() { FILE: apps/web/src/components/History/IndexedHistoryPanel.tsx constant PAGE_SIZE (line 23) | const PAGE_SIZE = 50; function IndexedHistoryPanel (line 25) | function IndexedHistoryPanel() { FILE: apps/web/src/components/Preview/MarkdownPreview.tsx constant SYNC_SCROLL_EVENT (line 20) | const SYNC_SCROLL_EVENT = "wemd-sync-scroll"; type SyncScrollDetail (line 22) | interface SyncScrollDetail { function MarkdownPreview (line 27) | function MarkdownPreview() { FILE: apps/web/src/components/Settings/ImageHostSettings.tsx type AllConfigs (line 14) | interface AllConfigs { function ImageHostSettings (line 25) | function ImageHostSettings() { FILE: apps/web/src/components/Settings/ImageHostSettingsPanels.tsx type HostTabProps (line 4) | interface HostTabProps { type OfficialPanelProps (line 66) | interface OfficialPanelProps { type HostConfigPanelProps (line 129) | interface HostConfigPanelProps { FILE: apps/web/src/components/Sidebar/ContextMenu.tsx type FolderOption (line 12) | interface FolderOption { type ContextMenuProps (line 17) | interface ContextMenuProps { function ContextMenu (line 36) | function ContextMenu({ FILE: apps/web/src/components/Sidebar/FileSidebar.tsx constant SORT_OPTIONS (line 34) | const SORT_OPTIONS: { value: SortMode; label: string }[] = [ function FileSidebar (line 40) | function FileSidebar() { FILE: apps/web/src/components/Sidebar/SidebarFooter.tsx function SidebarFooter (line 23) | function SidebarFooter() { FILE: apps/web/src/components/Sidebar/SidebarModals.tsx type DeleteFileModalProps (line 4) | interface DeleteFileModalProps { function DeleteFileModal (line 11) | function DeleteFileModal({ type DeleteFolderModalProps (line 47) | interface DeleteFolderModalProps { function DeleteFolderModal (line 55) | function DeleteFolderModal({ type RenameFolderModalProps (line 108) | interface RenameFolderModalProps { function RenameFolderModal (line 115) | function RenameFolderModal({ type NewFolderModalProps (line 151) | interface NewFolderModalProps { function NewFolderModal (line 158) | function NewFolderModal({ type TooltipProps (line 194) | interface TooltipProps { function Tooltip (line 200) | function Tooltip({ text, x, y }: TooltipProps) { FILE: apps/web/src/components/Sidebar/sidebarStateHelpers.ts constant COLLAPSED_KEY (line 5) | const COLLAPSED_KEY = "wemd-folder-collapsed"; constant ROOT_DROP_TARGET (line 7) | const ROOT_DROP_TARGET = "__root__"; constant FILE_DRAG_TYPE (line 8) | const FILE_DRAG_TYPE = "application/x-wemd-file"; constant FOLDER_DRAG_TYPE (line 9) | const FOLDER_DRAG_TYPE = "application/x-wemd-folder"; function getCollapsedState (line 11) | function getCollapsedState(): Set { function saveCollapsedState (line 20) | function saveCollapsedState(collapsed: Set) { function getBaseName (line 24) | function getBaseName(rawPath: string | null): string { function normalizePath (line 30) | function normalizePath(value: string): string { function remapPath (line 34) | function remapPath( function collectAllFolders (line 55) | function collectAllFolders(items: TreeItem[]) { function buildFilteredItems (line 69) | function buildFilteredItems( function findFolderByPath (line 85) | function findFolderByPath( function isDescendantPath (line 98) | function isDescendantPath(parentPath: string, childPath: string) { function resolveParentFolderPath (line 107) | function resolveParentFolderPath( function expandAncestorFolders (line 125) | function expandAncestorFolders( function formatRelativeTime (line 147) | function formatRelativeTime(date: Date) { FILE: apps/web/src/components/Sidebar/sortUtils.ts constant SORT_MODE_KEY (line 3) | const SORT_MODE_KEY = "wemd-file-sort-mode"; type SortMode (line 5) | type SortMode = "recent" | "name-asc" | "name-desc"; function getSortMode (line 12) | function getSortMode(): SortMode { function saveSortMode (line 23) | function saveSortMode(mode: SortMode) { function compareFiles (line 27) | function compareFiles(a: FileItem, b: FileItem, mode: SortMode): number { function sortTreeItems (line 38) | function sortTreeItems(items: TreeItem[], mode: SortMode): TreeItem[] { FILE: apps/web/src/components/Sidebar/useSidebarState.ts function useSidebarState (line 26) | function useSidebarState() { FILE: apps/web/src/components/StorageModeSelector/StorageModeSelector.tsx constant OPTIONS (line 6) | const OPTIONS: { type: StorageType; label: string; description: string; ... function StorageModeSelector (line 21) | function StorageModeSelector() { FILE: apps/web/src/components/Theme/ColorSelector.tsx function normalizeColor (line 9) | function normalizeColor(color: string): string { function hslToHex (line 22) | function hslToHex(h: number, s: number, l: number): string { function hexToHsl (line 36) | function hexToHsl(hex: string): { h: number; s: number; l: number } { type ColorPreset (line 72) | interface ColorPreset { type ColorSelectorProps (line 78) | interface ColorSelectorProps { function ColorSelector (line 84) | function ColorSelector({ FILE: apps/web/src/components/Theme/MobileThemeSelector.tsx type MobileThemeSelectorProps (line 5) | interface MobileThemeSelectorProps { function MobileThemeSelector (line 14) | function MobileThemeSelector({ FILE: apps/web/src/components/Theme/ThemeDesigner/SliderInput.tsx type SliderInputProps (line 3) | interface SliderInputProps { function SliderInput (line 15) | function SliderInput({ FILE: apps/web/src/components/Theme/ThemeDesigner/Switch.tsx type SwitchProps (line 3) | interface SwitchProps { FILE: apps/web/src/components/Theme/ThemeDesigner/generateCSS.ts function generateCSS (line 21) | function generateCSS(v: DesignerVariables): string { FILE: apps/web/src/components/Theme/ThemeDesigner/generators/codeTheme.ts function getCodeThemeCSS (line 4) | function getCodeThemeCSS(themeId: string): string { FILE: apps/web/src/components/Theme/ThemeDesigner/generators/components.ts type ComponentPresets (line 4) | interface ComponentPresets { function generateComponents (line 8) | function generateComponents( FILE: apps/web/src/components/Theme/ThemeDesigner/generators/extras.ts type ExtraPresets (line 3) | interface ExtraPresets { function generateExtras (line 8) | function generateExtras( FILE: apps/web/src/components/Theme/ThemeDesigner/generators/global.ts function generateGlobal (line 3) | function generateGlobal(v: DesignerVariables): string { FILE: apps/web/src/components/Theme/ThemeDesigner/generators/presets.ts type HeadingPresetCss (line 1) | interface HeadingPresetCss { type QuotePresetCss (line 6) | interface QuotePresetCss { function getHeadingPresetCSS (line 201) | function getHeadingPresetCSS( function getQuotePresetCSS (line 215) | function getQuotePresetCSS( FILE: apps/web/src/components/Theme/ThemeDesigner/generators/typography.ts type HeadingPreset (line 3) | interface HeadingPreset { type TypographyPresets (line 8) | interface TypographyPresets { function generateTypography (line 15) | function generateTypography( FILE: apps/web/src/components/Theme/ThemeDesigner/generators/variables.ts function generateVariables (line 48) | function generateVariables( FILE: apps/web/src/components/Theme/ThemeDesigner/index.tsx type ThemeDesignerProps (line 22) | interface ThemeDesignerProps { function ThemeDesigner (line 42) | function ThemeDesigner({ FILE: apps/web/src/components/Theme/ThemeDesigner/sections/CodeSection.tsx type CodeSectionProps (line 9) | interface CodeSectionProps extends SectionProps { function CodeSection (line 13) | function CodeSection({ FILE: apps/web/src/components/Theme/ThemeDesigner/sections/GlobalSection.tsx function GlobalSection (line 12) | function GlobalSection({ FILE: apps/web/src/components/Theme/ThemeDesigner/sections/HeadingSection.tsx function HeadingSection (line 17) | function HeadingSection({ FILE: apps/web/src/components/Theme/ThemeDesigner/sections/ImageSection.tsx function ImageSection (line 5) | function ImageSection({ variables, updateVariable }: SectionProps) { FILE: apps/web/src/components/Theme/ThemeDesigner/sections/ListSection.tsx constant LIST_FONT_SIZE_OPTIONS (line 10) | const LIST_FONT_SIZE_OPTIONS = [ function ListSection (line 15) | function ListSection({ variables, updateVariable }: SectionProps) { FILE: apps/web/src/components/Theme/ThemeDesigner/sections/MermaidSection.tsx function MermaidSection (line 3) | function MermaidSection({ variables, updateVariable }: SectionProps) { FILE: apps/web/src/components/Theme/ThemeDesigner/sections/OtherSection.tsx function OtherSection (line 4) | function OtherSection({ variables, updateVariable }: SectionProps) { FILE: apps/web/src/components/Theme/ThemeDesigner/sections/ParagraphSection.tsx function ParagraphSection (line 6) | function ParagraphSection({ variables, updateVariable }: SectionProps) { FILE: apps/web/src/components/Theme/ThemeDesigner/sections/QuoteSection.tsx function QuoteSection (line 7) | function QuoteSection({ variables, updateVariable }: SectionProps) { FILE: apps/web/src/components/Theme/ThemeDesigner/sections/TableHrSection.tsx function TableHrSection (line 4) | function TableHrSection({ variables, updateVariable }: SectionProps) { FILE: apps/web/src/components/Theme/ThemeDesigner/types.ts type HeadingStyle (line 7) | interface HeadingStyle { type DesignerVariables (line 21) | interface DesignerVariables { type HeadingLevel (line 125) | type HeadingLevel = "h1" | "h2" | "h3" | "h4"; type SectionProps (line 130) | interface SectionProps { type HeadingSectionProps (line 141) | interface HeadingSectionProps extends SectionProps { type GlobalSectionProps (line 150) | interface GlobalSectionProps extends SectionProps { FILE: apps/web/src/components/Theme/ThemeLivePreview.tsx constant PREVIEW_MARKDOWN (line 17) | const PREVIEW_MARKDOWN = `# 一级标题示例 type ThemeLivePreviewProps (line 75) | interface ThemeLivePreviewProps { FILE: apps/web/src/components/Theme/ThemePanel.tsx type ThemePanelProps (line 12) | interface ThemePanelProps { function ThemePanel (line 37) | function ThemePanel({ open, onClose }: ThemePanelProps) { FILE: apps/web/src/components/Theme/ThemePanelView.tsx type ThemePanelViewProps (line 20) | interface ThemePanelViewProps { function ThemePanelView (line 64) | function ThemePanelView({ FILE: apps/web/src/components/UpdateModal/UpdateModal.tsx type UpdateModalProps (line 6) | interface UpdateModalProps { function UpdateModal (line 15) | function UpdateModal({ FILE: apps/web/src/components/Welcome/Welcome.tsx function Welcome (line 5) | function Welcome() { FILE: apps/web/src/components/common/FloatingToolbarButton.tsx type FloatingToolbarButtonProps (line 3) | interface FloatingToolbarButtonProps { function FloatingToolbarButton (line 20) | function FloatingToolbarButton({ FILE: apps/web/src/components/common/MobileToolbar.tsx type MobileToolbarProps (line 14) | interface MobileToolbarProps { function MobileToolbar (line 25) | function MobileToolbar({ FILE: apps/web/src/components/common/Modal.tsx type ModalProps (line 4) | interface ModalProps { function Modal (line 21) | function Modal({ FILE: apps/web/src/config/styleOptions.ts type StyleOption (line 1) | interface StyleOption { type StylePresetOption (line 67) | interface StylePresetOption { type StyleCategory (line 134) | type StyleCategory = type CategoryConfig (line 144) | interface CategoryConfig { FILE: apps/web/src/hooks/useFileSystem.ts type UseFileSystemOptions (line 27) | interface UseFileSystemOptions { function useFileSystem (line 31) | function useFileSystem(options: UseFileSystemOptions = {}) { FILE: apps/web/src/hooks/useFileSystemEffects.ts type UseFileSystemEffectsParams (line 17) | interface UseFileSystemEffectsParams { function useFileSystemEffects (line 64) | function useFileSystemEffects({ FILE: apps/web/src/hooks/useFileSystemFolderActions.ts type UseFileSystemFolderActionsParams (line 15) | interface UseFileSystemFolderActionsParams { function useFileSystemFolderActions (line 26) | function useFileSystemFolderActions({ FILE: apps/web/src/hooks/useFileSystemHelpers.ts type ElectronFileItem (line 4) | interface ElectronFileItem { type ElectronAPI (line 16) | interface ElectronAPI { constant WORKSPACE_KEY (line 77) | const WORKSPACE_KEY = "wemd-workspace-path"; constant LAST_FILE_KEY (line 78) | const LAST_FILE_KEY = "wemd-last-file-path"; function convertToTreeItems (line 84) | function convertToTreeItems(items: ElectronFileItem[]): TreeItem[] { function convertAdapterFilesToTreeItems (line 109) | function convertAdapterFilesToTreeItems( function flattenFiles (line 138) | function flattenFiles(items: TreeItem[]): FileItem[] { function splitPath (line 150) | function splitPath(filePath: string): { dir: string; sep: string } { function joinPath (line 161) | function joinPath(base: string | undefined, name: string): string { function normalizePath (line 168) | function normalizePath(input: string): string { function replacePathPrefix (line 172) | function replacePathPrefix( function isPathWithinFolder (line 192) | function isPathWithinFolder( FILE: apps/web/src/hooks/useMobileView.ts constant MOBILE_BREAKPOINT (line 3) | const MOBILE_BREAKPOINT = 768; type MobileViewType (line 5) | type MobileViewType = "editor" | "preview"; function useMobileView (line 7) | function useMobileView() { FILE: apps/web/src/hooks/useStorage.ts function useStorage (line 6) | function useStorage() { FILE: apps/web/src/hooks/useUITheme.ts type UITheme (line 4) | type UITheme = "default" | "dark"; type UIThemeStore (line 6) | interface UIThemeStore { constant THEME_STORAGE_KEY (line 11) | const THEME_STORAGE_KEY = "wemd-ui-theme"; constant FAVICON_MAP (line 13) | const FAVICON_MAP: Record = { FILE: apps/web/src/hooks/useWindowControls.ts type WindowControlsOverlay (line 3) | interface WindowControlsOverlay { function useWindowControls (line 10) | function useWindowControls() { FILE: apps/web/src/lib/platformAdapter.ts method isElectron (line 13) | get isElectron(): boolean { method isWeb (line 18) | get isWeb(): boolean { method isMac (line 23) | get isMac(): boolean { method isWindows (line 28) | get isWindows(): boolean { method name (line 33) | get name(): string | undefined { FILE: apps/web/src/services/htmlCopyService.ts function sanitizeForExternalHtml (line 6) | function sanitizeForExternalHtml(html: string): string { function copyAsHtml (line 81) | async function copyAsHtml(markdown: string): Promise { FILE: apps/web/src/services/image/ImageUploader.ts type ImageUploader (line 5) | interface ImageUploader { type ImageHostConfig (line 23) | interface ImageHostConfig { class ImageHostManager (line 33) | class ImageHostManager { method constructor (line 37) | constructor(config: ImageHostConfig) { method createUploader (line 46) | private async createUploader(config: ImageHostConfig): Promise { method validate (line 85) | async validate(): Promise { FILE: apps/web/src/services/image/autoCompressImage.ts constant WECHAT_IMAGE_MAX_SIZE_BYTES (line 17) | const WECHAT_IMAGE_MAX_SIZE_BYTES = 2 * 1024 * 1024; constant SUPPORTED_MIME_TYPES (line 19) | const SUPPORTED_MIME_TYPES = new Set([ constant DEFAULT_MAX_INPUT_BYTES (line 26) | const DEFAULT_MAX_INPUT_BYTES = 40 * 1024 * 1024; constant DEFAULT_MAX_INPUT_PIXELS (line 27) | const DEFAULT_MAX_INPUT_PIXELS = 36_000_000; type PrepareImageForUploadOptions (line 29) | interface PrepareImageForUploadOptions { type PreparedImageForUploadResult (line 42) | interface PreparedImageForUploadResult { type ResolvedOptions (line 49) | interface ResolvedOptions extends CompressionOptions { constant DEFAULT_OPTIONS (line 54) | const DEFAULT_OPTIONS: Required = { function formatImageSize (line 72) | function formatImageSize(sizeInBytes: number): string { function prepareImageForUpload (line 76) | async function prepareImageForUpload( function resolveOptions (line 129) | function resolveOptions( function loadImageFromFile (line 154) | async function loadImageFromFile(file: File): Promise { function renderImageToBlob (line 173) | async function renderImageToBlob(input: RenderBlobInput): Promise { method upload (line 53) | async upload(file: File): Promise { FILE: apps/web/src/services/image/uploaders/OfficialUploader.ts type OfficialConfig (line 3) | interface OfficialConfig { class OfficialUploader (line 10) | class OfficialUploader implements ImageUploader { method constructor (line 14) | constructor(config?: OfficialConfig) { method configure (line 19) | configure(config: OfficialConfig) { method upload (line 25) | async upload(file: File): Promise { FILE: apps/web/src/services/image/uploaders/QiniuUploader.ts type QiniuConfig (line 5) | interface QiniuConfig { type QiniuRegion (line 13) | type QiniuRegion = "z0" | "z1" | "z2" | "na0" | "as0" | "cn-east-2"; class QiniuUploader (line 19) | class QiniuUploader implements ImageUploader { method constructor (line 23) | constructor(config: QiniuConfig) { method configure (line 27) | configure(config: QiniuConfig) { method validate (line 31) | async validate(): Promise { method upload (line 80) | async upload(file: File): Promise { method getRegion (line 111) | private getRegion(): QiniuRegion { method getUploadToken (line 126) | private async getUploadToken(): Promise { method utf16to8 (line 156) | private utf16to8(str: string): string { method base64encode (line 178) | private base64encode(str: string): string { method safe64 (line 216) | private safe64(base64: string): string { FILE: apps/web/src/services/image/uploaders/S3Uploader.ts type S3Config (line 4) | interface S3Config { class S3Uploader (line 26) | class S3Uploader implements ImageUploader { method constructor (line 31) | constructor(config: S3Config) { method configure (line 35) | configure(config: S3Config) { method getClient (line 41) | private getClient(): S3Client { method validate (line 62) | async validate(): Promise { method upload (line 93) | async upload(file: File): Promise { FILE: apps/web/src/services/image/uploaders/TencentUploader.ts type TencentConfig (line 4) | interface TencentConfig { class TencentUploader (line 17) | class TencentUploader implements ImageUploader { method constructor (line 21) | constructor(config: TencentConfig) { method configure (line 25) | configure(config: TencentConfig) { method validate (line 29) | async validate(): Promise { method upload (line 54) | async upload(file: File): Promise { FILE: apps/web/src/services/inlineStyleVarResolver.ts constant DEFAULT_LIGHT_ROOT_VARS (line 8) | const DEFAULT_LIGHT_ROOT_VARS: Record = { FILE: apps/web/src/services/wechatCopyNormalizer.ts constant DEFAULT_COPY_TEXT_COLOR (line 84) | const DEFAULT_COPY_TEXT_COLOR = "#1a1a1a"; FILE: apps/web/src/services/wechatCopyService.ts type CopyToWechatOptions (line 32) | interface CopyToWechatOptions { function copyToWechat (line 173) | async function copyToWechat( FILE: apps/web/src/services/wechatCounterCompat.ts type PseudoPosition (line 1) | type PseudoPosition = "before" | "after"; type CounterPseudoRule (line 3) | interface CounterPseudoRule { constant COUNTER_CONTENT_PATTERN (line 8) | const COUNTER_CONTENT_PATTERN = /content\s*:[^;{}]*\bcounters?\s*\(/i; constant PSEUDO_RULE_PATTERN (line 9) | const PSEUDO_RULE_PATTERN = /([^{}]+?):{1,2}(before|after)\s*\{([^{}]*)\... constant COUNTER_NOOP_KEYWORDS (line 10) | const COUNTER_NOOP_KEYWORDS = new Set([ constant PSEUDO_STYLE_KEYS (line 20) | const PSEUDO_STYLE_KEYS = [ type CounterScope (line 266) | interface CounterScope { type CounterScopes (line 271) | type CounterScopes = Map; FILE: apps/web/src/services/wechatMermaidSvgText.ts constant SVG_NS (line 6) | const SVG_NS = "http://www.w3.org/2000/svg"; type SvgBox (line 8) | type SvgBox = { type ForeignObjectPlacement (line 15) | type ForeignObjectPlacement = { type SubgraphTitle (line 20) | type SubgraphTitle = { type SubgraphTitleOverlay (line 26) | type SubgraphTitleOverlay = { FILE: apps/web/src/services/wechatTableRenderer.ts constant TABLE_LAYOUT_STYLES (line 12) | const TABLE_LAYOUT_STYLES = { FILE: apps/web/src/storage/StorageAdapter.ts type StorageAdapter (line 8) | interface StorageAdapter { FILE: apps/web/src/storage/StorageContext.tsx type StorageContextValue (line 7) | interface StorageContextValue { function StorageProvider (line 20) | function StorageProvider({ children }: { children: React.ReactNode }) { function useStorageContext (line 29) | function useStorageContext() { FILE: apps/web/src/storage/StorageManager.ts type AdapterFactory (line 4) | type AdapterFactory = () => Promise; constant STORAGE_KEY (line 6) | const STORAGE_KEY = 'wemd-storage-adapter'; class StorageManager (line 14) | class StorageManager { method constructor (line 18) | constructor() { method isFileSystemSupported (line 29) | static isFileSystemSupported(): boolean { method currentAdapter (line 33) | get currentAdapter() { method setAdapter (line 37) | async setAdapter(type: StorageType, context?: StorageAdapterContext): ... method restoreLastAdapter (line 63) | async restoreLastAdapter(): Promise { FILE: apps/web/src/storage/adapters/FileSystemAdapter.ts class FileSystemAdapter (line 18) | class FileSystemAdapter implements StorageAdapter { method directoryName (line 27) | get directoryName(): string | null { method init (line 31) | async init(context?: StorageAdapterContext): Promise { method persistHandle (line 58) | private async persistHandle(handle: FileSystemDirectoryHandle) { method restoreHandle (line 69) | private async restoreHandle(): Promise { method readFile (line 102) | async readFile(path: string): Promise { method writeFile (line 108) | async writeFile(path: string, content: string): Promise { method deleteFile (line 115) | async deleteFile(path: string): Promise { method renameFile (line 120) | async renameFile(oldPath: string, newPath: string): Promise { method exists (line 142) | async exists(path: string): Promise { method teardown (line 151) | async teardown() { method createFolder (line 158) | async createFolder( method moveFile (line 199) | async moveFile( method deleteFolder (line 242) | async deleteFolder( method renameFolder (line 284) | async renameFolder( method moveFolder (line 294) | async moveFolder( method inspectFolder (line 307) | async inspectFolder( method resolveFileHandle (line 338) | private async resolveFileHandle( method resolveParentAndName (line 348) | private async resolveParentAndName( method resolveDirectoryHandle (line 354) | private async resolveDirectoryHandle( method normalizePath (line 360) | private normalizePath(input: string): string { method splitPath (line 364) | private splitPath(path: string): { dir: string; name: string } { method moveFolderPath (line 368) | private async moveFolderPath( FILE: apps/web/src/storage/adapters/IndexedDBAdapter.ts constant DB_NAME (line 4) | const DB_NAME = 'wemd-files'; constant DB_VERSION (line 5) | const DB_VERSION = 2; constant META_STORE (line 6) | const META_STORE = 'meta'; constant CONTENT_STORE (line 7) | const CONTENT_STORE = 'content'; type MetaRecord (line 9) | interface MetaRecord { type ContentRecord (line 14) | interface ContentRecord { type LegacyRecord (line 20) | interface LegacyRecord { class IndexedDBAdapter (line 26) | class IndexedDBAdapter implements StorageAdapter { method init (line 32) | async init(): Promise { method openDb (line 38) | private openDb(): Promise { method getStore (line 76) | private getStore(storeName: string, mode: IDBTransactionMode) { method listFiles (line 84) | async listFiles(): Promise { method readFile (line 106) | async readFile(path: string): Promise { method writeFile (line 119) | async writeFile(path: string, content: string): Promise { method deleteFile (line 136) | async deleteFile(path: string): Promise { method renameFile (line 149) | async renameFile(oldPath: string, newPath: string): Promise { method exists (line 155) | async exists(path: string): Promise { method teardown (line 164) | async teardown() { FILE: apps/web/src/storage/types.ts type StorageType (line 1) | type StorageType = 'indexeddb' | 'filesystem'; type FileItem (line 3) | interface FileItem { type StorageInitResult (line 11) | interface StorageInitResult { type StorageAdapterContext (line 16) | interface StorageAdapterContext { FILE: apps/web/src/store/editorStore.ts type ResetOptions (line 7) | interface ResetOptions { type EditorStore (line 14) | interface EditorStore { FILE: apps/web/src/store/fileTypes.ts type FileItem (line 1) | interface FileItem { type FolderItem (line 12) | interface FolderItem { type TreeItem (line 21) | type TreeItem = FileItem | FolderItem; type FileStoreState (line 23) | interface FileStoreState { FILE: apps/web/src/store/historyDb.ts type HistoryDB (line 4) | interface HistoryDB extends DBSchema { constant DB_NAME (line 15) | const DB_NAME = 'wemd-history'; constant DB_VERSION (line 16) | const DB_VERSION = 2; constant HISTORY_LIMIT (line 17) | const HISTORY_LIMIT = 30; function getDB (line 21) | async function getDB() { function loadHistoryFromDb (line 45) | async function loadHistoryFromDb() { function addHistoryToDb (line 62) | async function addHistoryToDb(snapshot: HistorySnapshot) { function deleteHistoryFromDb (line 82) | async function deleteHistoryFromDb(id: string) { function updateHistoryInDb (line 91) | async function updateHistoryInDb(entry: HistorySnapshot) { function clearHistoryDb (line 100) | async function clearHistoryDb() { FILE: apps/web/src/store/historyStore.ts constant MAX_HISTORY_ENTRIES (line 16) | const MAX_HISTORY_ENTRIES = 30; type HistoryStore (line 18) | interface HistoryStore { type ElectronFileAPI (line 39) | type ElectronFileAPI = { function createSnapshot (line 70) | function createSnapshot(data: HistorySnapshotInput): HistorySnapshot { function isSameSnapshot (line 84) | function isSameSnapshot(a?: HistorySnapshot, b?: HistorySnapshotInput) { function hasChanges (line 96) | function hasChanges( FILE: apps/web/src/store/historyTypes.ts type HistorySnapshot (line 1) | interface HistorySnapshot { type HistorySnapshotInput (line 13) | type HistorySnapshotInput = Omit|]/g; type NormalizeMarkdownFileNameOptions (line 3) | interface NormalizeMarkdownFileNameOptions { function normalizeMarkdownFileName (line 8) | function normalizeMarkdownFileName( FILE: apps/web/src/utils/findMatches.ts type Match (line 1) | interface Match { constant MAX_MATCHES (line 6) | const MAX_MATCHES = 10000; function findMatches (line 8) | function findMatches( FILE: apps/web/src/utils/katexRenderer.ts function hasMathFormula (line 11) | function hasMathFormula(content: string): boolean { function renderMathInElement (line 20) | function renderMathInElement(element: HTMLElement): void { FILE: apps/web/src/utils/linkFootnote.ts function convertLinksToFootnotes (line 5) | function convertLinksToFootnotes(html: string): string { FILE: apps/web/src/utils/markdownFileMeta.ts type MarkdownFileMeta (line 1) | interface MarkdownFileMeta { function stripMarkdownExtension (line 8) | function stripMarkdownExtension(name: string): string { type SplitMarkdownResult (line 12) | interface SplitMarkdownResult { type MarkdownFileMetaPatch (line 20) | interface MarkdownFileMetaPatch { constant FRONTMATTER_REGEX (line 27) | const FRONTMATTER_REGEX = /^(\uFEFF)?---(\r?\n)([\s\S]*?)\2---(?:\r?\n|$)/; function detectLineEnding (line 29) | function detectLineEnding(content: string): "\n" | "\r\n" { function parseFrontmatterValue (line 33) | function parseFrontmatterValue(raw?: string): string | undefined { function quoteFrontmatterValue (line 50) | function quoteFrontmatterValue(value: string): string { function splitMarkdownContent (line 55) | function splitMarkdownContent(content: string): SplitMarkdownResult { function replaceFrontmatterLine (line 76) | function replaceFrontmatterLine( function removeFrontmatterLine (line 94) | function removeFrontmatterLine(raw: string, key: string): string { function parseMarkdownFileContent (line 102) | function parseMarkdownFileContent(content: string): MarkdownFileMeta { function buildMarkdownFileContent (line 124) | function buildMarkdownFileContent(payload: MarkdownFileMeta): string { function applyMarkdownFileMeta (line 133) | function applyMarkdownFileMeta( FILE: apps/web/src/utils/mathJaxLoader.ts function hasMathFormula (line 12) | function hasMathFormula(content: string): boolean { function loadMathJax (line 20) | function loadMathJax(): Promise { function typesetElement (line 74) | async function typesetElement(element: Element): Promise { type Window (line 91) | interface Window { FILE: apps/web/src/utils/mermaidConfig.ts type MermaidConfig (line 3) | interface MermaidConfig { FILE: apps/web/src/utils/newArticleTheme.ts type ThemeStateLike (line 1) | interface ThemeStateLike { type ThemeOptionLike (line 7) | interface ThemeOptionLike { type NewArticleThemeSnapshot (line 12) | interface NewArticleThemeSnapshot { constant DEFAULT_NEW_ARTICLE_THEME (line 18) | const DEFAULT_NEW_ARTICLE_THEME: NewArticleThemeSnapshot = { function resolveNewArticleThemeSnapshot (line 24) | function resolveNewArticleThemeSnapshot( FILE: apps/web/src/utils/wordCount.ts function countWords (line 4) | function countWords(markdown: string): number { function countLines (line 52) | function countLines(markdown: string): number { FILE: packages/core/src/MarkdownParser.ts type MarkdownParserOptions (line 36) | interface MarkdownParserOptions { constant MAC_CODE_SVG (line 40) | const MAC_CODE_SVG = ` FILE: packages/core/src/ThemeProcessor.ts constant DATA_TOOL (line 3) | const DATA_TOOL = "WeMD编辑器"; constant SECTION_ID (line 4) | const SECTION_ID = "wemd"; constant BLOCK_TAGS (line 6) | const BLOCK_TAGS = [ FILE: packages/core/src/plugins/markdown-it-checkbox-emoji.ts function markdownItCheckboxEmoji (line 7) | function markdownItCheckboxEmoji(md: MarkdownIt): void { FILE: packages/core/src/plugins/markdown-it-github-alert.ts type AlertConfig (line 21) | interface AlertConfig { constant ALERT_CONFIGS (line 28) | const ALERT_CONFIGS: AlertConfig[] = [ constant ALERT_PATTERN (line 36) | const ALERT_PATTERN = /^\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\][ \t]*/i; function escapeHtml (line 38) | function escapeHtml(text: string): string { function findAlertType (line 46) | function findAlertType( function findBreakIndex (line 58) | function findBreakIndex(children: Token[]): number { function markdownItGitHubAlert (line 67) | function markdownItGitHubAlert(md: MarkdownIt): void { FILE: packages/core/src/plugins/markdown-it-li.ts function makeRule (line 3) | function makeRule(md: MarkdownIt) { FILE: packages/core/src/plugins/markdown-it-linkfoot.ts function renderFootnoteAnchorName (line 7) | function renderFootnoteAnchorName( function renderFootnoteCaption (line 23) | function renderFootnoteCaption(tokens: Token[], idx: number) { function renderFootnoteWord (line 34) | function renderFootnoteWord( function renderFootnoteRef (line 44) | function renderFootnoteRef( function renderFootnoteBlockOpen (line 56) | function renderFootnoteBlockOpen(tokens: Token[], idx: number, options: ... function renderFootnoteBlockClose (line 60) | function renderFootnoteBlockClose() { function renderFootnoteOpen (line 64) | function renderFootnoteOpen( function renderFootnoteClose (line 86) | function renderFootnoteClose() { function isSpace (line 91) | function isSpace(code: number) { function normalizeReference (line 101) | function normalizeReference(str: string) { function linkFoot (line 108) | function linkFoot(state: StateInline, silent: boolean) { function footnoteTail (line 305) | function footnoteTail(state: StateCore) { FILE: packages/core/src/plugins/markdown-it-math.ts function isValidDelim (line 54) | function isValidDelim(state: StateInline, pos: number) { function math_inline (line 83) | function math_inline(state: StateInline, silent: boolean) { function math_block (line 156) | function math_block( type Window (line 288) | interface Window { FILE: packages/core/src/plugins/markdown-it-multiquote.ts function makeRule (line 5) | function makeRule() { FILE: packages/core/src/plugins/markdown-it-span.ts function slugify (line 4) | function slugify(s: string, md: MarkdownIt) { function makeRule (line 11) | function makeRule(md: MarkdownIt, options: any) { FILE: packages/core/src/plugins/markdown-it-table-container.ts function makeRule (line 5) | function makeRule() { FILE: packages/core/src/plugins/markdown-it-underline.ts constant MARKER (line 4) | const MARKER = "+".charCodeAt(0); function isWhitespace (line 6) | function isWhitespace(char: string | undefined) { function underlineInline (line 10) | function underlineInline(state: StateInline, silent: boolean): boolean { FILE: packages/core/src/wechatDarkMode.ts type ElementType (line 1) | type ElementType = type CssNode (line 17) | type CssNode = type DarkModeConfig (line 28) | interface DarkModeConfig { constant DEFAULT_CONFIG (line 34) | const DEFAULT_CONFIG: DarkModeConfig = { constant CSS_KEYWORDS_SKIP (line 40) | const CSS_KEYWORDS_SKIP = constant DEFAULT_LIGHT_TEXT_COLOR_RGB (line 42) | const DEFAULT_LIGHT_TEXT_COLOR_RGB = [25, 25, 25]; constant DEFAULT_LIGHT_BG_COLOR_RGB (line 43) | const DEFAULT_LIGHT_BG_COLOR_RGB = [255, 255, 255]; constant DEFAULT_DARK_TEXT_COLOR_RGB (line 44) | const DEFAULT_DARK_TEXT_COLOR_RGB = [163, 163, 163]; constant DEFAULT_DARK_BG_COLOR_RGB (line 45) | const DEFAULT_DARK_BG_COLOR_RGB = [25, 25, 25]; constant CONSTANTS (line 47) | const CONSTANTS = { constant CONVERSION_MARK (line 58) | const CONVERSION_MARK = "/* wemd-wechat-dark-converted */"; constant CACHE_LIMIT (line 61) | const CACHE_LIMIT = 200; function hexToRgb (line 81) | function hexToRgb(hex: string): [number, number, number] | null { function rgbToHex (line 92) | function rgbToHex(r: number, g: number, b: number): string { function rgbToHsl (line 104) | function rgbToHsl(r: number, g: number, b: number): [number, number, num... function hslToRgb (line 132) | function hslToRgb(h: number, s: number, l: number): [number, number, num... function getColorPerceivedBrightness (line 154) | function getColorPerceivedBrightness(rgb: number[]): number { function adjustBrightnessTo (line 158) | function adjustBrightnessTo( function adjustBackgroundBrightness (line 182) | function adjustBackgroundBrightness( function adjustCodeBackgroundBrightness (line 211) | function adjustCodeBackgroundBrightness( function adjustTextBrightness (line 237) | function adjustTextBrightness( function adjustDecorativeDarkBrightness (line 292) | function adjustDecorativeDarkBrightness( function adjustBlockquoteTextBrightness (line 300) | function adjustBlockquoteTextBrightness( function adjustTableTextBrightness (line 308) | function adjustTableTextBrightness( function adjustCodeTextBrightness (line 316) | function adjustCodeTextBrightness( function stripComments (line 325) | function stripComments(css: string): string { function isEscaped (line 329) | function isEscaped(str: string, index: number): boolean { function findMatchingBrace (line 338) | function findMatchingBrace(str: string, start: number): number { function splitDeclarations (line 356) | function splitDeclarations(body: string): string[] { function parseCssBlocks (line 391) | function parseCssBlocks(css: string): CssNode[] { function getElementType (line 447) | function getElementType(selector: string): ElementType { function processColorRgb (line 462) | function processColorRgb( function processImportant (line 489) | function processImportant(val: string, suffix: string): string { function convertToWeChatDarkMode (line 496) | function convertToWeChatDarkMode( function convertColorValue (line 507) | function convertColorValue( function transformDeclarations (line 558) | function transformDeclarations(selector: string, props: string): string { function convertCssInternal (line 732) | function convertCssInternal(css: string): string { function convertCssToWeChatDarkMode (line 761) | function convertCssToWeChatDarkMode(css: string): string { FILE: scripts/run-desktop-dev.mjs function run (line 4) | function run(command, args) { function checkServer (line 17) | function checkServer(url, onReady) {