~jshholland/inv.alid.pw

49e87e3bb66f9c01bfff8fd277b7408e524c4ef2 — Josh Holland 8 months ago 2eab9be
wip migrate to djot/makefile/pandoc
182 files changed, 966 insertions(+), 3727 deletions(-)

M .build.yml
M .gitignore
A Makefile
A about.dj
D about.md
A about.meta.yaml
R conlang.md => conlang.dj
A conlang.meta.yaml
M css/main.css
D css/syntax.css
A flake.lock
A flake.nix
D img/bg.png
D img/vbg.png
R index.md => index.dj
A index.meta.yaml
D inv-alid-pw.cabal
D js/mathjax/a11y/assistive-mml.js
D js/mathjax/a11y/complexity.js
D js/mathjax/a11y/explorer.js
D js/mathjax/a11y/semantic-enrich.js
D js/mathjax/adaptors/liteDOM.js
D js/mathjax/core.js
D js/mathjax/input/asciimath.js
D js/mathjax/input/mml.js
D js/mathjax/input/mml/entities.js
D js/mathjax/input/tex-base.js
D js/mathjax/input/tex-full.js
D js/mathjax/input/tex.js
D js/mathjax/input/tex/extensions/action.js
D js/mathjax/input/tex/extensions/all-packages.js
D js/mathjax/input/tex/extensions/ams.js
D js/mathjax/input/tex/extensions/amscd.js
D js/mathjax/input/tex/extensions/autoload.js
D js/mathjax/input/tex/extensions/bbox.js
D js/mathjax/input/tex/extensions/boldsymbol.js
D js/mathjax/input/tex/extensions/braket.js
D js/mathjax/input/tex/extensions/bussproofs.js
D js/mathjax/input/tex/extensions/cancel.js
D js/mathjax/input/tex/extensions/color.js
D js/mathjax/input/tex/extensions/colorV2.js
D js/mathjax/input/tex/extensions/configMacros.js
D js/mathjax/input/tex/extensions/enclose.js
D js/mathjax/input/tex/extensions/extpfeil.js
D js/mathjax/input/tex/extensions/html.js
D js/mathjax/input/tex/extensions/mhchem.js
D js/mathjax/input/tex/extensions/newcommand.js
D js/mathjax/input/tex/extensions/noerrors.js
D js/mathjax/input/tex/extensions/noundefined.js
D js/mathjax/input/tex/extensions/physics.js
D js/mathjax/input/tex/extensions/require.js
D js/mathjax/input/tex/extensions/tagFormat.js
D js/mathjax/input/tex/extensions/unicode.js
D js/mathjax/input/tex/extensions/verb.js
D js/mathjax/latest.js
D js/mathjax/loader.js
D js/mathjax/mml-chtml.js
D js/mathjax/mml-svg.js
D js/mathjax/node-main.js
D js/mathjax/output/chtml.js
D js/mathjax/output/chtml/fonts/tex.js
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff
D js/mathjax/output/chtml/fonts/woff-v2/MathJax_Zero.woff
D js/mathjax/output/svg.js
D js/mathjax/output/svg/fonts/tex.js
D js/mathjax/sre/mathmaps/en.js
D js/mathjax/sre/mathmaps/es.js
D js/mathjax/sre/mathmaps/fr.js
D js/mathjax/sre/mathmaps/mathmaps_ie.js
D js/mathjax/sre/mathmaps/nemeth.js
D js/mathjax/sre/sre_browser.js
D js/mathjax/startup.js
D js/mathjax/tex-chtml-full.js
D js/mathjax/tex-chtml.js
D js/mathjax/tex-mml-chtml.js
D js/mathjax/tex-mml-svg.js
D js/mathjax/tex-svg-full.js
D js/mathjax/tex-svg.js
D js/mathjax/ui/menu.js
R posts/{ccg-taxonomy.md => ccg-taxonomy.dj}
A posts/ccg-taxonomy.meta.yaml
R posts/{children-parents-adults.md => children-parents-adults.dj}
A posts/children-parents-adults.meta.yaml
A posts/dear-dr-whitehead.dj
D posts/dear-dr-whitehead.md
A posts/dear-dr-whitehead.meta.yaml
R posts/{dear-mr-walker.md => dear-mr-walker.dj}
A posts/dear-mr-walker.meta.yaml
R posts/{file-ascii.md => file-ascii.dj}
A posts/file-ascii.meta.yaml
R posts/{fowler-vs-hart.md => fowler-vs-hart.dj}
A posts/fowler-vs-hart.meta.yaml
R posts/{git-scratch-branch.md => git-scratch-branch.dj}
A posts/git-scratch-branch.meta.yaml
R posts/{googling-dates.md => googling-dates.dj}
A posts/googling-dates.meta.yaml
R posts/{hakyll-clean-urls-feeds.md => hakyll-clean-urls-feeds.dj}
A posts/hakyll-clean-urls-feeds.meta.yaml
R posts/{hakyll-sourcehut.md => hakyll-sourcehut.dj}
A posts/hakyll-sourcehut.meta.yaml
R posts/{j-riismo.md => j-riismo.dj}
A posts/j-riismo.meta.yaml
A posts/kleisli-lifting-distributive.dj
D posts/kleisli-lifting-distributive.md
A posts/kleisli-lifting-distributive.meta.yaml
R posts/{links-apr-2019.md => links-apr-2019.dj}
A posts/links-apr-2019.meta.yaml
R posts/{links-aug-2019.md => links-aug-2019.dj}
A posts/links-aug-2019.meta.yaml
A posts/links-dec-2019.dj
D posts/links-dec-2019.md
A posts/links-dec-2019.meta.yaml
A posts/links-jul-2019.dj
D posts/links-jul-2019.md
A posts/links-jul-2019.meta.yaml
A posts/links-jun-2019.dj
D posts/links-jun-2019.md
A posts/links-jun-2019.meta.yaml
R posts/{links-mar-2019.md => links-mar-2019.dj}
A posts/links-mar-2019.meta.yaml
A posts/links-may-2019.dj
D posts/links-may-2019.md
A posts/links-may-2019.meta.yaml
R posts/{links-nov-2019.md => links-nov-2019.dj}
A posts/links-nov-2019.meta.yaml
A posts/links-sep-2019.dj
D posts/links-sep-2019.md
A posts/links-sep-2019.meta.yaml
R posts/{more-slide-rules.md => more-slide-rules.dj}
A posts/more-slide-rules.meta.yaml
R posts/{new-site.md => new-site.dj}
A posts/new-site.meta.yaml
R posts/{nixos-container-postgres.md => nixos-container-postgres.dj}
A posts/nixos-container-postgres.meta.yaml
R posts/{punishments.md => punishments.dj}
A posts/punishments.meta.yaml
A posts/recluses-charter.dj
D posts/recluses-charter.md
A posts/recluses-charter.meta.yaml
R posts/{shined-shone.md => shined-shone.dj}
A posts/shined-shone.meta.yaml
R posts/{slide-rules.md => slide-rules.dj}
A posts/slide-rules.meta.yaml
R posts/{stgit-scratch.md => stgit-scratch.dj}
A posts/stgit-scratch.meta.yaml
R posts/{tech-choices.md => tech-choices.dj}
A posts/tech-choices.meta.yaml
R posts/{trying-pijul.md => trying-pijul.dj}
A posts/trying-pijul.meta.yaml
R posts/{why-write.md => why-write.dj}
A posts/why-write.meta.yaml
R posts/{worstsort-revisited.md => worstsort-revisited.dj}
A posts/worstsort-revisited.meta.yaml
R posts/{worstsort-rust.md => worstsort-rust.dj}
A posts/worstsort-rust.meta.yaml
D site.hs
D stack.yaml
D stack.yaml.lock
M templates/default.html
M templates/index.html
M templates/post.html
M .build.yml => .build.yml +14 -6
@@ 1,7 1,10 @@
image: archlinux
image: alpine/latest
packages:
  - stack
  - make
  - npm
  - pandoc-cli
  - rsync
  - yq
sources:
  - https://git.sr.ht/~jshholland/inv.alid.pw
environment:


@@ 11,13 14,18 @@ environment:
secrets:
  - 2959238e-ea6f-4276-9441-cdc71b933f73
tasks:
  - check_ref: |
      if [[ $GIT_REF != refs/heads/master ]]; then
        printf 'not running job on non-master ref: %s\n' "$GIT_REF"
        exit 1
      fi
  - setup: |
      sudo npm i -g @djot/djot
  - build: |
      export LANG=en_US.UTF-8
      cd inv.alid.pw
      stack install
      $HOME/.local/bin/site build
      make
  - deploy: |
      mkdir -p $HOME/.ssh
      echo "$webhost $hostkey" > $HOME/.ssh/known_hosts
      cd inv.alid.pw
      rsync -rlptzz --delete _site/ ${user}@${webhost}:
      rsync -rlptzz --delete site/ ${user}@${webhost}:

M .gitignore => .gitignore +4 -4
@@ 1,4 1,4 @@
.stack-work/
_site/
_cache/
dist-newstyle/
site/
posts/*.realmeta.yaml
posts/*.content.html
/allposts.meta.yaml

A Makefile => Makefile +50 -0
@@ 0,0 1,50 @@
OUT := site

PANDOC := pandoc
DJOT := djot
YQ := yq

ifdef DRAFTS
blogdjots := $(wildcard posts/*.dj)
else
blogdjots := $(shell for post in posts/*.dj; do grep -q published: $${post%.dj}.meta.yaml && echo $$post; done)
endif
pagedjots := about.dj conlang.dj
djotfiles := $(pagedjots) $(blogdjots)
htmlfiles := index.html $(djotfiles:.dj=/index.html)
literals := robots.txt $(shell find css img -type f)

all: $(addprefix $(OUT)/,$(htmlfiles) $(literals))
.PHONY: all

clean:
	rm -rf $(OUT) allposts.meta.yaml posts/*.realmeta.yaml posts/*.content.html
.PHONY: clean

$(OUT)/%: %
	install -Dm 644 $< $@

$(OUT)/index.html: index.dj index.meta.yaml allposts.meta.yaml templates/index.html templates/default.html
	mkdir -p $(dir $@)
	$(DJOT) -t pandoc $< | pandoc --template templates/index.html --metadata-file index.meta.yaml --metadata-file allposts.meta.yaml -f json | pandoc --template templates/default.html --metadata-file index.meta.yaml > $@

allposts.meta.yaml: $(blogdjots:.dj=.realmeta.yaml)
	$(YQ) eval-all '[.] | sort_by(.date) | reverse | sort_by(.published) | reverse | {"posts": .}' $^ > $@

posts/%.realmeta.yaml: posts/%.meta.yaml
	cp $< $@
	echo url: /$(<:.meta.yaml=)/ >> $@
	if d=$$(grep published: $<); then \
	  echo date: $$(date -d $${d#published: } +'%-d %B %Y') >> $@; \
	fi

posts/%.content.html: posts/%.dj posts/%.realmeta.yaml templates/post.html
	$(DJOT) -t pandoc $< | $(PANDOC) --template templates/post.html --metadata-file $(<:.dj=.realmeta.yaml) --mathml -f json > $@

$(addprefix $(OUT)/,$(blogdjots:.dj=/index.html)): $(OUT)/%/index.html: %.content.html %.realmeta.yaml templates/default.html
	mkdir -p $(dir $@)
	$(PANDOC) --template templates/default.html --metadata-file $(<:.content.html=.realmeta.yaml) --mathml $< > $@

$(OUT)/%/index.html: %.dj %.meta.yaml templates/default.html
	mkdir -p $(dir $@)
	$(DJOT) -t pandoc $< | $(PANDOC) --template templates/default.html --metadata-file $(<:.dj=.meta.yaml) -f json > $@

A about.dj => about.dj +19 -0
@@ 0,0 1,19 @@
# About this site

This site is produced with [Djot][], [Pandoc][] and a [monstrosity of
a Makefile][makefile].  The source code is [here][source].  The
typefaces are Equity and Concourse, from [MB Type][].

It is served by an [nginx][] server running on [Ubuntu][], hosted at
[BitFolk][].

All opinions and views expressed are my own.

[Djot]: https://djot.net/
[Pandoc]: https://pandoc.org/
[makefile]: https://git.sr.ht/~jshholland/inv.alid.pw/tree/master/item/Makefile
[source]: https://git.sr.ht/~jshholland/inv.alid.pw
[MB Type]: https://mbtype.com/
[nginx]: http://nginx.org/
[Ubuntu]: http://www.ubuntu.com/
[BitFolk]: http://bitfolk.com/

D about.md => about.md +0 -21
@@ 1,21 0,0 @@
---
title: About
---

# About this site

This site is produced with the [Hakyll] static site generator. The
source code is [here][source]. The typefaces are Equity and
Concourse, from [MB Type].

It is served by an [nginx] server running on [Ubuntu], hosted at [BitFolk].

All opinions and views expressed are my own.

[Hakyll]: https://jaspervdj.be/hakyll/
[Grunt]: http://gruntjs.com/
[source]: https://git.sr.ht/~jshholland/inv.alid.pw
[MB Type]: https://mbtype.com/
[nginx]: http://nginx.org/
[Ubuntu]: http://www.ubuntu.com/
[BitFolk]: http://bitfolk.com/

A about.meta.yaml => about.meta.yaml +1 -0
@@ 0,0 1,1 @@
title: About

R conlang.md => conlang.dj +162 -111
@@ 28,7 28,7 @@ These have a voiceless and voiced series, depending on grammatical
context:

|           | bilabial   | dental     | alveolar affricate | palato-velar | uvular      | glottal              |
|-----------+------------+------------+--------------------+--------------+-------------+----------------------|
|-----------|------------|------------|--------------------|--------------|-------------|----------------------|
| voiceless | [p]{.quth} | [t]{.quth} | [ch]{.quth}        | [k]{.quth}   | [q]{.quth}  | [h]{.quth}           |
|           | [p]{.ipa}  | [t]{.ipa}  | [tʃ]{.ipa}         | [k~c]{.ipa}  | [q]{.ipa}   | [ʔ]{.ipa}, [h]{.ipa} |
| voiced    | [b]{.quth} | [d]{.quth} | [j]{.quth}         | [g]{.quth}   | [qh]{.quth} | [y]{.quth}           |


@@ 42,7 42,7 @@ exceptionally [y]{.quth} [j]{.ipa}.
### Vowels

|       |             |             |             |             |             |             |
|-------+-------------+-------------+-------------+-------------+-------------+-------------|
|-------|-------------|-------------|-------------|-------------|-------------|-------------|
| short | [a]{.quth}  | [e]{.quth}  | [i]{.quth}  | [o]{.quth}  | [u]{.quth}  | [y]{.quth}  |
|       | [æ]{.ipa}   | [ɛ]{.ipa}   | [ɪ]{.ipa}   | [ɒ]{.ipa}   | [ʊ]{.ipa}   | [ə]{.ipa}   |
|       | cat         | pen         | tin         | hot         | foot        | cut         |


@@ 60,7 60,7 @@ native orthography.
### Final consonants

|            |            |             |            |             |            |             |            |            |            |            |            |
|------------+------------+-------------+------------+-------------+------------+-------------+------------+------------+------------+------------+------------|
|------------|------------|-------------|------------|-------------|------------|-------------|------------|------------|------------|------------|------------|
| [m]{.quth} | [n]{.quth} | [ng]{.quth} | [s]{.quth} | [sh]{.quth} | [f]{.quth} | [th]{.quth} | [x]{.quth} | [l]{.quth} | [r]{.quth} | [w]{.quth} | [z]{.quth} |
| [m]{.ipa}  | [n]{.ipa}  | [ŋ]{.ipa}   | [s]{.ipa}  | [ʃ]{.ipa}   | [f]{.ipa}  | [θ]{.ipa}   | [χ]{.ipa}  | [l]{.ipa}  | [r]{.ipa}  | [w]{.ipa}  | [ts]{.ipa} |



@@ 107,7 107,7 @@ meaning "There is an x" or "[Subject] is an/the x".
Nouns are derived from roots by suffixing as follows:

| Suffix      | Meaning                | Example       | Meaning               |
|-------------+------------------------+---------------+-----------------------|
|-------------|------------------------|---------------|-----------------------|
| [-a]{.quth} | indefinite             | [hafa]{.quth} | a dog                 |
| [-e]{.quth} | definite               | [hafe]{.quth} | the dog               |
| [-i]{.quth} | demonstrative proximal | [hafi]{.quth} | this dog (near me)    |


@@ 117,69 117,83 @@ Nouns are derived from roots by suffixing as follows:

To pluralise, simply lengthen the suffix vowel.

[hafe]{.quth}
~ the dog
: [hafe]{.quth}

[hafee]{.quth}
~ the dogs
  the dog

: [hafee]{.quth}

  the dogs

Nouns are marked for case, emphasis, and metaphor.  There are two
cases:

| Case       | Indication   | Example       |
|------------+--------------+---------------|
|------------|--------------|---------------|
| nominative | none         | [hafa]{.quth} |
| oblique    | voiced stops | [yafa]{.quth} |

The oblique is used when dropping the subject, so:

[tal hafe piza.]{.quth}
~ The dog eats a pizza.
: [tal hafe piza.]{.quth}

  The dog eats a pizza.

: [tal biza.]{.quth}

[tal biza.]{.quth}
~ [Unspecified] eats a pizza.
  [Unspecified] eats a pizza.

[tal hafe.]{.quth}
~ The dog eats [unspecified].
: [tal hafe.]{.quth}

[tal yafe.]{.quth}
~ [Unspecified] eats the dog.
  The dog eats [unspecified].

: [tal yafe.]{.quth}

  [Unspecified] eats the dog.

For ownership, use the [ho]{.quth} particle with a noun or pronoun.

[hafe ho hi]{.quth}
~ my dog
: [hafe ho hi]{.quth}

  my dog

[hafa ho hii]{.quth}
~ one of our dogs
: [hafa ho hii]{.quth}

  one of our dogs

The oblique will also be used in various other grammatical situations
which are yet to be worked out.

Nouns may be emphasised by lengthening the vowel.

[tal hafe piza.]{.quth}
~ The dog eats a pizza.
: [tal hafe piza.]{.quth}

  The dog eats a pizza.

: [tal haafe piza.]{.quth}

[tal haafe piza.]{.quth}
~ The _dog_ eats (a) pizza.
~ It's the dog that eats pizza.
  The _dog_ eats (a) pizza.

[tal hafe piiza.]{.quth}
~ The dog eats _pizza_.
  It's the dog that eats pizza.

: [tal hafe piiza.]{.quth}

  The dog eats _pizza_.

Lengthening the final consonant indicates that the use of the noun is
somewhat metaphorical (though I'm not 100% sold on this, maybe it'll
end up being something else).

[tal haffe piza.]{.quth}
~ The "dog" (perhaps a person considered to be a lap-dog, or something
else clear from the context) eats a pizza.
: [tal haffe piza.]{.quth}

  The "dog" (perhaps a person considered to be a lap-dog, or something
  else clear from the context) eats a pizza.

Of course, these may all be combined.

[tal biizza.]{.quth}
~ It's a pizza-like thing that [unspecified] eats.
: [tal biizza.]{.quth}

  It's a pizza-like thing that [unspecified] eats.

#### Pronouns



@@ 187,7 201,7 @@ Pronouns may be put into the oblique case by voicing the initial
consonant, but they may not be emphasised or marked as metaphorical.

|          | 1st          | 2nd          | 3rd          |
|----------+--------------+--------------+--------------|
|----------|--------------|--------------|--------------|
| Singular | [hi]{.quth}  | [to]{.quth}  | [ku]{.quth}  |
| Plural   | [hii]{.quth} | [too]{.quth} | [kuu]{.quth} |



@@ 200,28 214,30 @@ Imperative and other constructions are by periphrasis (e.g. "want
[that you] do").

| Tense    | Indication   | Example         | Meaning             |
|----------+--------------+-----------------+---------------------|
|----------|--------------|-----------------|---------------------|
| non-past | none         | [tal hi]{.quth} | I sleep, will sleep |
| past     | voiced stops | [dal hi]{.quth} | I slept             |

| Aspect       | Indication | Example          | Meaning       |
|--------------+------------+------------------+---------------|
|--------------|------------|------------------|---------------|
| perfective   | none       | [tal hi]{.quth}  | I sleep       |
| imperfective | long vowel | [taal hi]{.quth} | I am sleeping |

| Mood     | Indication | Example          | Meaning                    |
|----------+------------+------------------+----------------------------|
|----------|------------|------------------|----------------------------|
| realis   | none       | [tal hi]{.quth}  | I sleep                    |
| irrealis | long final | [tall hi]{.quth} | I would sleep, might sleep |

#### Negation

Similar to Toaq, we have a special verb combined with a subordinate
clause: "it is not true that ...".
There is a special verb combined with a subordinate clause: "it is not
true that ...".

: [pun qa taal hi]{.quth}

[pun qa taal hi]{.quth}
~ It is not true that I am sleeping.
~ I am not asleep.
  It is not true that I am sleeping.

  I am not asleep.

#### Questions



@@ 233,8 249,9 @@ Adjectives are normal content words.  As a verb, they behave as a
predicate, and as nouns, "the x one".  To modify a noun, use the
particle [ho]{.quth} with the bare root.

[hafe ho qoth]{.quth}
~ the black dog
: [hafe ho qoth]{.quth}

  the black dog

#### Comparison



@@ 245,11 262,13 @@ sentences, but the first noun outside the clause has its intial
consonant voiced. (todo: make sure this isn't going to end up being
ambiguous. SPOILER: IT ALREADY IS)

[tal pone piza.]{.quth}
~ The person eats a pizza.
: [tal pone piza.]{.quth}

[tal pone qu jas biza.]{.quth}
~ The person who slept eats a pizza.
  The person eats a pizza.

: [tal pone qu jas biza.]{.quth}

  The person who slept eats a pizza.

### Adverbs



@@ 258,8 277,9 @@ introduced by the particle [pi]{.quth} and then a subordinate phrase.
[pi]{.quth} could be translated as "in the way/style of", but it is
very flexible and often should be translated more loosely.

[tal ko piza pi haf.]{.quth}
~ You eat pizza like a dog.
: [tal ko piza pi haf.]{.quth}

  You eat pizza like a dog.

### Relative clauses



@@ 278,7 298,7 @@ time).  Numbers are considered a single word, so [go-hu]{.quth} is
pronounced as [gɒhʊ]{.ipa}.

| decimal | duodecimal | quth        | alternative |
|---------+------------+-------------+-------------|
|---------|------------|-------------|-------------|
|       0 |          0 | pa          |             |
|       1 |          1 | ko          | (ba)        |
|       2 |          2 | te          |             |


@@ 303,7 323,7 @@ pronounced as [gɒhʊ]{.ipa}.
### Time

|          |                         |
|----------+-------------------------|
|----------|-------------------------|
| 1 am     | "first hour of rising"  |
| midday   | "top of the day"        |
| 1 pm     | "first hour of falling" |


@@ 324,91 344,122 @@ Planets? Numbered? Duodecimal-ify these too?

## Examples

[tal hafe piza.]{.quth}
~ The dog eats a pizza.
: [tal hafe piza.]{.quth}

[chaas pony?]{.quth}
~ Which person is sleeping?
~ Who is asleep?
  The dog eats a pizza.

: [chaas pony?]{.quth}

  Which person is sleeping?

  Who is asleep?

## Vocabulary

quth
~ (noun) the name of the language
: quth

  (noun) the name of the language

: piz

  (noun) pizza

: haf

  (noun) dog

: tal

  (noun) food

  (verb) to eat

: pon

  (noun) person

: chas

  (verb) to sleep

: kim

  (noun) town, city

: tan

  (noun) thing

: has

  (noun) water

: kish

  (noun) fish

: qong

  (verb) die

: chix

  (noun) head

: pin

  (noun) bird

: tosh

  (noun) fire

piz
~ (noun) pizza
  (verb) to burn

haf
~ (noun) dog
: hang

tal
~ (noun) food
~ (verb) to eat
  (verb) to love

pon
~ (noun) person
: pal

chas
~ (verb) to sleep
  (noun) window

kim
~ (noun) town, city
: qosh

tan
~ (noun) thing
  (adjective) black

has
~ (noun) water
: ho

kish
~ (noun) fish
  (particle) link noun or adjective to noun

qong
~ (verb) die
: pi

chix
~ (noun) head
  (particle) introduce adverbial phrase

pin
~ (noun) bird
: chif

tosh
~ (noun) fire
~ (verb) to burn
  (noun) sheep/goat

hang
~ (verb) to love
: kuw

pal
~ (noun) window
  (noun) cow

qosh
~ (adjective) black
: tol

ho
~ (particle) link noun or adjective to noun
  (noun) horse

pi
~ (particle) introduce adverbial phrase
: qith

chif
~ (noun) sheep/goat
  (noun) tree

kuw
~ (noun) cow
: qa

tol
~ (noun) horse
  (particle) introduce subordinate clause

qith
~ (noun) tree
: tin

qa
~ (particle) introduce subordinate clause
  (verb) to know (a fact)

tin
~ (verb) to know (a fact)
: pun

pun
~ (verb) to be false, not true
  (verb) to be false, not true

A conlang.meta.yaml => conlang.meta.yaml +1 -0
@@ 0,0 1,1 @@
title: quth

M css/main.css => css/main.css +12 -14
@@ 52,7 52,10 @@ html {

@media all and (max-width: 770px) {
	#sidebar {
		width: 100%;
		text-align: center;
		background: linear-gradient(to bottom, #dfdfdf 80%, #d1d1d1);
		border-bottom: 1px solid black;
	}

	.link-list {


@@ 65,24 68,21 @@ html {
		margin: 1px;
	}

	body {
		background: url("/img/vbg.png") repeat-x;
	}

	main {
		margin: 5px
		margin: 10px;
	}
}

@media all and (min-width: 771px) {
	body {
		background: url("/img/bg.png") repeat-y;
	}

	#sidebar {
		position: fixed;
		margin-left: 10px;
		top: 0; left: 0;
		padding-top: 10px;
		padding-left: 10px;
		width: 140px;
		height: 100%;
		border-right: 1px solid black;
		background: linear-gradient(to right, #dfdfdf 80%, #d1d1d1);
	}

	main {


@@ 93,11 93,13 @@ html {
}

body {
	margin: 0;
	font-family: "Equity Text A", serif;
	hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	line-height: 1.4;
	text-align: justify;
}

h1, h2, h3, h4, h5, h6, .link-header {


@@ 176,10 178,6 @@ blockquote {
	margin-top: 8rem;
}

#commento {
	margin-top: 2rem;
}

.quth::before {
	content: "«";
}

D css/syntax.css => css/syntax.css +0 -60
@@ 1,60 0,0 @@
.highlight  { background: #ffffff; }
.highlight .c { color: #999988; font-style: italic } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { font-weight: bold } /* Keyword */
.highlight .o { font-weight: bold } /* Operator */
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #999999 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { font-weight: bold } /* Keyword.Constant */
.highlight .kd { font-weight: bold } /* Keyword.Declaration */
.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
.highlight .kr { font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #009999 } /* Literal.Number */
.highlight .s { color: #d14 } /* Literal.String */
.highlight .na { color: #008080 } /* Name.Attribute */
.highlight .nb { color: #0086B3 } /* Name.Builtin */
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
.highlight .no { color: #008080 } /* Name.Constant */
.highlight .ni { color: #800080 } /* Name.Entity */
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
.highlight .nn { color: #555555 } /* Name.Namespace */
.highlight .nt { color: #000080 } /* Name.Tag */
.highlight .nv { color: #008080 } /* Name.Variable */
.highlight .ow { font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mf { color: #009999 } /* Literal.Number.Float */
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
.highlight .sb { color: #d14 } /* Literal.String.Backtick */
.highlight .sc { color: #d14 } /* Literal.String.Char */
.highlight .sd { color: #d14 } /* Literal.String.Doc */
.highlight .s2 { color: #d14 } /* Literal.String.Double */
.highlight .se { color: #d14 } /* Literal.String.Escape */
.highlight .sh { color: #d14 } /* Literal.String.Heredoc */
.highlight .si { color: #d14 } /* Literal.String.Interpol */
.highlight .sx { color: #d14 } /* Literal.String.Other */
.highlight .sr { color: #009926 } /* Literal.String.Regex */
.highlight .s1 { color: #d14 } /* Literal.String.Single */
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #008080 } /* Name.Variable.Class */
.highlight .vg { color: #008080 } /* Name.Variable.Global */
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */

A flake.lock => flake.lock +27 -0
@@ 0,0 1,27 @@
{
  "nodes": {
    "nixpkgs": {
      "locked": {
        "lastModified": 1711370797,
        "narHash": "sha256-2xu0jVSjuKhN97dqc4bVtvEH52Rwh6+uyI1XCnzoUyI=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "c726225724e681b3626acc941c6f95d2b0602087",
        "type": "github"
      },
      "original": {
        "owner": "NixOS",
        "ref": "nixpkgs-unstable",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "root": {
      "inputs": {
        "nixpkgs": "nixpkgs"
      }
    }
  },
  "root": "root",
  "version": 7
}

A flake.nix => flake.nix +23 -0
@@ 0,0 1,23 @@
{
  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";

  outputs =
    { self, nixpkgs }:
    let
      systems = nixpkgs.lib.systems.flakeExposed;
      forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f nixpkgs.legacyPackages.${system});
    in
    {
      devShells = forAllSystems (pkgs: {
        default = pkgs.mkShellNoCC {
          packages = [
            pkgs.pandoc
            pkgs.djot-js
            pkgs.yq-go
          ];
        };
      });

      formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style);
    };
}

D img/bg.png => img/bg.png +0 -0
D img/vbg.png => img/vbg.png +0 -0
R index.md => index.dj +8 -12
@@ 1,36 1,32 @@
---
title: Home
---

# About me

My name is Josh Holland, and I'm currently a PhD student at the
University of Southampton.  I am investigating ways to use the string
diagrams of symmetric monoidal category theory to model systems of
computation such as signal flow graphs and Petri nets.  For a friendly
introduction, see [Graphical Linear Algebra], the blog run by my
introduction, see [Graphical Linear Algebra][], the blog run by my
supervisor, Paweł Sobociński.

Before I started my PhD, I worked for [Sirius], an independent IT
Before I started my PhD, I worked for [Sirius][], an independent IT
contractor based in the South of England specialising in open source
solutions, and prior to that I studied Mathematics at Keble College,
Oxford for my undergraduate degree, culminating in an MMath.  I grew up
in Worcester, in the West Midlands of the UK.

My extra-curricular interests include music, tabletop games, and
languages.  I sing with the [Southampton Philharmonic Choir], and
languages.  I sing with the [Southampton Philharmonic Choir][], and
previously in the Keble College Chapel Choir and Worcester Cathedral
Choir.  As well as my personal collection of board games, I play Go
and [Yomi] online, uploading tournament games of the latter to my
[YouTube] channel.  Beyond using languages to connect with people, I
and [Yomi][] online, uploading tournament games of the latter to my
[YouTube][] channel.  Beyond using languages to connect with people, I
am interested in languages which exemplify radically different
foundations to my native English, particularly conlangs.  To that end,
I have spent some time learning [Lojban], [Toki Pona] and [Esperanto];
I regularly attend the meetings of the [Southampton Esperanto Group],
I have spent some time learning [Lojban][], [Toki Pona][] and [Esperanto][];
I regularly attend the meetings of the [Southampton Esperanto Group][],
whose website I maintain and host.

I also enjoy playing with yoyos.  I post videos of tricks to my
[Instagram], as well as documenting my culinary exploits, family pets
[Instagram][], as well as documenting my culinary exploits, family pets
and other things I see around my life that catch my eye.

You can get in touch with me via the social media links in the

A index.meta.yaml => index.meta.yaml +1 -0
@@ 0,0 1,1 @@
title: Home

D inv-alid-pw.cabal => inv-alid-pw.cabal +0 -13
@@ 1,13 0,0 @@
name:               inv-alid-pw
version:            0.1.0.0
build-type:         Simple
cabal-version:      >= 1.10

executable site
  main-is:          site.hs
  build-depends:    base == 4.*
                  , hakyll == 4.12.*
                  , filepath == 1.4.*
                  , pandoc == 2.2.*
  ghc-options:      -threaded
  default-language: Haskell2010

D js/mathjax/a11y/assistive-mml.js => js/mathjax/a11y/assistive-mml.js +0 -1
@@ 1,1 0,0 @@
!function(i){var o={};function n(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,n),e.l=!0,e.exports}n.m=i,n.c=o,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=5)}([function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),s=this&&this.__assign||function(){return(s=Object.assign||function(t){for(var e,i=1,o=arguments.length;i<o;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}).apply(this,arguments)},r=this&&this.__read||function(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var o,n,r=i.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(o=r.next()).done;)s.push(o.value)}catch(t){n={error:t}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return s},a=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(r(arguments[e]));return t},l=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],o=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var u=i(2),c=i(3),p=i(4);function h(t){return n(e,i=t),e.prototype.assistiveMml=function(t){if(!(this.state()>=u.STATE.ASSISTIVEMML||this.isEscaped)){this.state(u.STATE.ASSISTIVEMML);var e=t.adaptor,i=t.toMML(this.root).replace(/\n */g,"").replace(/<!--.*?-->/g,""),o=e.firstChild(e.body(e.parse(i,"text/html"))),n=e.node("mjx-assistive-mml",{role:"presentation",unselectable:"on",display:this.display?"block":"inline"},[o]);e.setAttribute(this.typesetRoot,"role","presentation"),e.setAttribute(e.firstChild(this.typesetRoot),"aria-hidden","true"),e.setStyle(this.typesetRoot,"position","relative"),e.append(this.typesetRoot,n)}},e;function e(){return null!==i&&i.apply(this,arguments)||this}var i}function f(t){var e,r;return n(i,r=t),i.prototype.toMML=function(t){return this.visitor.visitTree(t)},i.prototype.assistiveMml=function(){var e,t;if(!this.processed.isSet("assistive-mml")){try{for(var i=l(this.math),o=i.next();!o.done;o=i.next())o.value.assistiveMml(this)}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}this.processed.set("assistive-mml")}return this},i.prototype.state=function(t,e){return void 0===e&&(e=!1),r.prototype.state.call(this,t,e),t<u.STATE.ASSISTIVEMML&&this.processed.clear("assistive-mml"),this},(e=i).OPTIONS=s(s({},t.OPTIONS),{renderActions:p.expandable(s(s({},t.OPTIONS.renderActions),{assistiveMml:[u.STATE.ASSISTIVEMML]}))}),e.assistiveStyles={"mjx-assistive-mml":{position:"absolute !important",top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)",padding:"1px 0px 0px 0px !important",border:"0px !important",display:"block !important",width:"auto !important",overflow:"hidden !important","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none"},'mjx-assistive-mml[display="block"]':{width:"100% !important"}},e;function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=r.apply(this,a(t))||this,o=i.constructor,n=o.ProcessBits;return n.has("assistive-mml")||n.allocate("assistive-mml"),i.visitor=new c.SerializedMmlVisitor(i.mmlFactory),i.options.MathItem=h(i.options.MathItem),"addStyles"in i&&i.addStyles(o.assistiveStyles),i}}u.newState("ASSISTIVEMML",153),e.AssistiveMmlMathItemMixin=h,e.AssistiveMmlMathDocumentMixin=f,e.AssistiveMmlHandler=function(t){return t.documentClass=f(t.documentClass),t}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=MathJax._.components.global.isObject,e.combineConfig=MathJax._.components.global.combineConfig,e.combineDefaults=MathJax._.components.global.combineDefaults,e.combineWithMathJax=MathJax._.components.global.combineWithMathJax,e.MathJax=MathJax._.components.global.MathJax},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.protoItem=MathJax._.core.MathItem.protoItem,e.AbstractMathItem=MathJax._.core.MathItem.AbstractMathItem,e.STATE=MathJax._.core.MathItem.STATE,e.newState=MathJax._.core.MathItem.newState},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DATAMJX=MathJax._.core.MmlTree.SerializedMmlVisitor.DATAMJX,e.SerializedMmlVisitor=MathJax._.core.MmlTree.SerializedMmlVisitor.SerializedMmlVisitor},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.APPEND=MathJax._.util.Options.APPEND,e.REMOVE=MathJax._.util.Options.REMOVE,e.Expandable=MathJax._.util.Options.Expandable,e.expandable=MathJax._.util.Options.expandable,e.makeArray=MathJax._.util.Options.makeArray,e.keys=MathJax._.util.Options.keys,e.copy=MathJax._.util.Options.copy,e.insert=MathJax._.util.Options.insert,e.defaultOptions=MathJax._.util.Options.defaultOptions,e.userOptions=MathJax._.util.Options.userOptions,e.selectOptions=MathJax._.util.Options.selectOptions,e.selectOptionsFromKeys=MathJax._.util.Options.selectOptionsFromKeys,e.separateOptions=MathJax._.util.Options.separateOptions},function(t,e,i){"use strict";i.r(e);var o=i(1),n=i(0);Object(o.combineWithMathJax)({_:{a11y:{"assistive-mml":n}}}),MathJax.startup&&MathJax.startup.extendHandler(function(t){return Object(n.AssistiveMmlHandler)(t)})}]);
\ No newline at end of file

D js/mathjax/a11y/complexity.js => js/mathjax/a11y/complexity.js +0 -1
@@ 1,1 0,0 @@
!function(o){var i={};function r(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return o[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}r.m=o,r.c=i,r.d=function(t,e,o){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(o,i,function(t){return e[t]}.bind(null,i));return o},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=9)}([function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=MathJax._.components.global.isObject,e.combineConfig=MathJax._.components.global.combineConfig,e.combineDefaults=MathJax._.components.global.combineDefaults,e.combineWithMathJax=MathJax._.components.global.combineWithMathJax,e.MathJax=MathJax._.components.global.MathJax},function(t,e,o){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),s=this&&this.__assign||function(){return(s=Object.assign||function(t){for(var e,o=1,i=arguments.length;o<i;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},n=this&&this.__read||function(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var i,r,n=o.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(i=n.next()).done;)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(o=n.return)&&o.call(n)}finally{if(r)throw r.error}}return s},l=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(n(arguments[e]));return t},a=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,o=e&&t[e],i=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var c=o(7),p=o(2),u=o(3),h=o(5);function d(t,e){return r(o,i=t),o.prototype.complexity=function(t){this.state()<c.STATE.COMPLEXITY&&!this.isEscaped&&(this.enrich(t),e(this.root),this.state(c.STATE.COMPLEXITY))},o;function o(){return null!==i&&i.apply(this,arguments)||this}var i}function y(t){var e,n;return r(o,n=t),o.prototype.complexity=function(){var e,t;if(!this.processed.isSet("complexity")){try{for(var o=a(this.math),i=o.next();!i.done;i=o.next())i.value.complexity(this)}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}this.processed.set("complexity")}return this},o.prototype.state=function(t,e){return void 0===e&&(e=!1),n.prototype.state.call(this,t,e),t<c.STATE.COMPLEXITY&&this.processed.clear("complexity"),this},(e=o).OPTIONS=s(s(s({},t.OPTIONS),u.ComplexityVisitor.OPTIONS),{ComplexityVisitor:u.ComplexityVisitor,renderActions:h.expandable(s(s({},t.OPTIONS.renderActions),{complexity:[c.STATE.COMPLEXITY]}))}),e;function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var o=n.apply(this,l(t))||this,i=o.constructor.ProcessBits;i.has("complexity")||i.allocate("complexity");var r=h.selectOptionsFromKeys(o.options,o.options.ComplexityVisitor.OPTIONS);o.complexityVisitor=new o.options.ComplexityVisitor(o.mmlFactory,r);return o.options.MathItem=d(o.options.MathItem,function(t){return o.complexityVisitor.visitTree(t)}),o}}c.newState("COMPLEXITY",40),e.ComplexityMathItemMixin=d,e.ComplexityMathDocumentMixin=y,e.ComplexityHandler=function(t,e){return void 0===e&&(e=null),!t.documentClass.prototype.enrich&&e&&(t=p.EnrichHandler(t,e)),t.documentClass=y(t.documentClass),t}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EnrichedMathItemMixin=MathJax._.a11y["semantic-enrich"].EnrichedMathItemMixin,e.EnrichedMathDocumentMixin=MathJax._.a11y["semantic-enrich"].EnrichedMathDocumentMixin,e.EnrichHandler=MathJax._.a11y["semantic-enrich"].EnrichHandler},function(t,e,o){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),l=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,o=e&&t[e],i=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var a,n=o(8),s=o(4),c=o(5),p=(a=n.MmlVisitor,r(u,a),u.prototype.visitTree=function(t){a.prototype.visitTree.call(this,t,!0),this.options.makeCollapsible&&this.collapse.makeCollapse(t)},u.prototype.visitNode=function(t,e){if(!t.attributes.get("data-semantic-complexity"))return a.prototype.visitNode.call(this,t,e)},u.prototype.visitDefault=function(t,e){var o;if(t.isToken){var i=t.getText();o=this.complexity.text*i.length+this.complexity.token}else o=this.childrenComplexity(t);return this.setComplexity(t,o,e)},u.prototype.visitMfracNode=function(t,e){var o=this.childrenComplexity(t)*this.complexity.script+this.complexity.fraction;return this.setComplexity(t,o,e)},u.prototype.visitMsqrtNode=function(t,e){var o=this.childrenComplexity(t)+this.complexity.sqrt;return this.setComplexity(t,o,e)},u.prototype.visitMrootNode=function(t,e){var o=this.childrenComplexity(t)+this.complexity.sqrt-(1-this.complexity.script)*this.getComplexity(t.childNodes[1]);return this.setComplexity(t,o,e)},u.prototype.visitMphantomNode=function(t,e){return this.setComplexity(t,this.complexity.phantom,e)},u.prototype.visitMsNode=function(t,e){var o=(t.attributes.get("lquote")+t.getText()+t.attributes.get("rquote")).length*this.complexity.text;return this.setComplexity(t,o,e)},u.prototype.visitMsubsupNode=function(t,e){a.prototype.visitDefault.call(this,t,!0);var o=t.childNodes[t.sub],i=t.childNodes[t.sup],r=t.childNodes[t.base],n=Math.max(o?this.getComplexity(o):0,i?this.getComplexity(i):0)*this.complexity.script;return n+=this.complexity.child*((o?1:0)+(i?1:0)),n+=r?this.getComplexity(r)+this.complexity.child:0,n+=this.complexity.subsup,this.setComplexity(t,n,e)},u.prototype.visitMsubNode=function(t,e){return this.visitMsubsupNode(t,e)},u.prototype.visitMsupNode=function(t,e){return this.visitMsubsupNode(t,e)},u.prototype.visitMunderoverNode=function(t,e){a.prototype.visitDefault.call(this,t,!0);var o=t.childNodes[t.under],i=t.childNodes[t.over],r=t.childNodes[t.base],n=Math.max(o?this.getComplexity(o):0,i?this.getComplexity(i):0)*this.complexity.script;return r&&(n=Math.max(this.getComplexity(r),n)),n+=this.complexity.child*((o?1:0)+(i?1:0)+(r?1:0)),n+=this.complexity.underover,this.setComplexity(t,n,e)},u.prototype.visitMunderNode=function(t,e){return this.visitMunderoverNode(t,e)},u.prototype.visitMoverNode=function(t,e){return this.visitMunderoverNode(t,e)},u.prototype.visitMencloseNode=function(t,e){var o=this.childrenComplexity(t)+this.complexity.enclose;return this.setComplexity(t,o,e)},u.prototype.visitMactionNode=function(t,e){this.childrenComplexity(t);var o=this.getComplexity(t.selected);return this.setComplexity(t,o,e)},u.prototype.visitMsemanticsNode=function(t,e){var o=t.childNodes[0],i=0;return o&&(this.visitNode(o,!0),i=this.getComplexity(o)),this.setComplexity(t,i,e)},u.prototype.visitAnnotationNode=function(t,e){return this.setComplexity(t,this.complexity.xml,e)},u.prototype.visitAnnotation_xmlNode=function(t,e){return this.setComplexity(t,this.complexity.xml,e)},u.prototype.visitMglyphNode=function(t,e){return this.setComplexity(t,this.complexity.glyph,e)},u.prototype.getComplexity=function(t){var e=t.getProperty("collapsedComplexity");return null!=e?e:t.attributes.get("data-semantic-complexity")},u.prototype.setComplexity=function(t,e,o){return o&&(this.options.identifyCollapsible&&(e=this.collapse.check(t,e)),t.attributes.set("data-semantic-complexity",e)),e},u.prototype.childrenComplexity=function(t){var e,o;a.prototype.visitDefault.call(this,t,!0);var i=0;try{for(var r=l(t.childNodes),n=r.next();!n.done;n=r.next()){var s=n.value;i+=this.getComplexity(s)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(e)throw e.error}}return 1<t.childNodes.length&&(i+=t.childNodes.length*this.complexity.child),i},u.OPTIONS={identifyCollapsible:!0,makeCollapsible:!0,Collapse:s.Collapse},u);function u(t,e){var o=a.call(this,t)||this;o.complexity={text:.5,token:.5,child:1,script:.8,sqrt:2,subsup:2,underover:2,fraction:2,enclose:2,action:2,phantom:0,xml:2,glyph:2};var i=o.constructor;return o.options=c.userOptions(c.defaultOptions({},i.OPTIONS),e),o.collapse=new o.options.Collapse(o),o.factory=t,o}e.ComplexityVisitor=p},function(t,e,o){"use strict";var a=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,o=e&&t[e],i=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var i=(n.prototype.check=function(t,e){var o=t.attributes.get("data-semantic-type");return this.collapse.has(o)?this.collapse.get(o).call(this,t,e):this.cutoff.hasOwnProperty(o)?this.defaultCheck(t,e,o):e},n.prototype.defaultCheck=function(t,e,o){var i=t.attributes.get("data-semantic-role"),r=this.cutoff[o];if(("number"==typeof r?r:r[i]||r.value)<e){var n=this.marker[o]||"??",s="string"==typeof n?n:n[i]||n.value;e=this.recordCollapse(t,e,s)}return e},n.prototype.recordCollapse=function(t,e,o){return o="\u25c2"+o+"\u25b8",t.setProperty("collapse-marker",o),t.setProperty("collapse-complexity",e),o.length*this.complexity.complexity.text},n.prototype.unrecordCollapse=function(t){var e=t.getProperty("collapse-complexity");null!=e&&(t.attributes.set("data-semantic-complexity",e),t.removeProperty("collapse-complexity"),t.removeProperty("collapse-marker"))},n.prototype.canUncollapse=function(t,e,o){if(void 0===o&&(o=1),this.splitAttribute(t,"children").length===o){var i=1===t.childNodes.length&&t.childNodes[0].isInferred?t.childNodes[0]:t;if(i&&i.childNodes[e]){var r=i.childNodes[e];if(r.getProperty("collapse-marker"))return r}}return null},n.prototype.uncollapseChild=function(t,e,o,i){void 0===i&&(i=1);var r=this.canUncollapse(e,o,i);return r&&(this.unrecordCollapse(r),r.parent!==e&&r.parent.attributes.set("data-semantic-complexity",void 0),t=this.complexity.visitNode(e,!1)),t},n.prototype.splitAttribute=function(t,e){return(t.attributes.get("data-semantic-"+e)||"").split(/,/)},n.prototype.getText=function(t){var e=this;return t.isToken?t.getText():t.childNodes.map(function(t){return e.getText(t)}).join("")},n.prototype.findChildText=function(t,e){var o=this.findChild(t,e);return this.getText(o.coreMO()||o)},n.prototype.findChild=function(t,e){var o,i;if(!t||t.attributes.get("data-semantic-id")===e)return t;if(!t.isToken)try{for(var r=a(t.childNodes),n=r.next();!n.done;n=r.next()){var s=n.value,l=this.findChild(s,e);if(l)return l}}catch(t){o={error:t}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(o)throw o.error}}return null},n.prototype.makeCollapse=function(t){var e=[];t.walkTree(function(t){t.getProperty("collapse-marker")&&e.push(t)}),this.makeActions(e)},n.prototype.makeActions=function(t){var e,o;try{for(var i=a(t),r=i.next();!r.done;r=i.next()){var n=r.value;this.makeAction(n)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(e)throw e.error}}},n.prototype.makeId=function(){return"mjx-collapse-"+this.idCount++},n.prototype.makeAction=function(t){t.isKind("math")&&(t=this.addMrow(t));var e=this.complexity.factory,o=t.getProperty("collapse-marker"),i=t.parent,r=e.create("maction",{actiontype:"toggle",selection:2,"data-collapsible":!0,id:this.makeId(),"data-semantic-complexity":t.attributes.get("data-semantic-complexity")},[e.create("mtext",{mathcolor:"blue"},[e.create("text").setText(o)])]);r.inheritAttributesFrom(t),t.attributes.set("data-semantic-complexity",t.getProperty("collapse-complexity")),t.removeProperty("collapse-marker"),t.removeProperty("collapse-complexity"),i.replaceChild(r,t),r.appendChild(t)},n.prototype.addMrow=function(t){var e,o,i=this.complexity.factory.create("mrow",null,t.childNodes[0].childNodes);t.childNodes[0].setChildren([i]);var r=t.attributes.getAllAttributes();try{for(var n=a(Object.keys(r)),s=n.next();!s.done;s=n.next()){var l=s.value;"data-semantic-"===l.substr(0,14)&&(i.attributes.set(l,r[l]),delete r[l])}}catch(t){e={error:t}}finally{try{s&&!s.done&&(o=n.return)&&o.call(n)}finally{if(e)throw e.error}}return i.setProperty("collapse-marker",t.getProperty("collapse-marker")),i.setProperty("collapse-complexity",t.getProperty("collapse-complexity")),t.removeProperty("collapse-marker"),t.removeProperty("collapse-complexity"),i},n.NOCOLLAPSE=1e7,n);function n(t){var r=this;this.cutoff={identifier:3,number:3,text:10,infixop:15,relseq:15,multirel:15,fenced:18,bigop:20,integral:20,fraction:12,sqrt:9,root:12,vector:15,matrix:15,cases:15,superscript:9,subscript:9,subsup:9,punctuated:{endpunct:n.NOCOLLAPSE,startpunct:n.NOCOLLAPSE,value:12}},this.marker={identifier:"x",number:"#",text:"...",appl:{"limit function":"lim",value:"f()"},fraction:"/",sqrt:"\u221a",root:"\u221a",superscript:"\u25fd\u02d9",subscript:"\u25fd.",subsup:"\u25fd:",vector:{binomial:"(:)",determinant:"|:|",value:"\u27e8:\u27e9"},matrix:{squarematrix:"[::]",rowvector:"\u27e8\u22ef\u27e9",columnvector:"\u27e8\u22ee\u27e9",determinant:"|::|",value:"(::)"},cases:"{:",infixop:{addition:"+",subtraction:"\u2212",multiplication:"\u22c5",implicit:"\u22c5",value:"+"},punctuated:{text:"...",value:","}},this.collapse=new Map([["fenced",function(t,e){return(e=r.uncollapseChild(e,t,1))>r.cutoff.fenced&&"leftright"===t.attributes.get("data-semantic-role")&&(e=r.recordCollapse(t,e,r.getText(t.childNodes[0])+r.getText(t.childNodes[t.childNodes.length-1]))),e}],["appl",function(t,e){if(r.canUncollapse(t,2,2)){e=r.complexity.visitNode(t,!1);var o=r.marker.appl,i=o[t.attributes.get("data-semantic-role")]||o.value;e=r.recordCollapse(t,e,i)}return e}],["sqrt",function(t,e){return(e=r.uncollapseChild(e,t,0))>r.cutoff.sqrt&&(e=r.recordCollapse(t,e,r.marker.sqrt)),e}],["root",function(t,e){return(e=r.uncollapseChild(e,t,0,2))>r.cutoff.sqrt&&(e=r.recordCollapse(t,e,r.marker.sqrt)),e}],["enclose",function(t,e){if(1===r.splitAttribute(t,"children").length){var o=r.canUncollapse(t,1);if(o){var i=o.getProperty("collapse-marker");r.unrecordCollapse(o),e=r.recordCollapse(t,r.complexity.visitNode(t,!1),i)}}return e}],["bigop",function(t,e){if(e>r.cutoff.bigop||!t.isKind("mo")){var o=r.splitAttribute(t,"content").pop(),i=r.findChildText(t,o);e=r.recordCollapse(t,e,i)}return e}],["integral",function(t,e){if(e>r.cutoff.integral||!t.isKind("mo")){var o=r.splitAttribute(t,"content").pop(),i=r.findChildText(t,o);e=r.recordCollapse(t,e,i)}return e}],["relseq",function(t,e){if(e>r.cutoff.relseq){var o=r.splitAttribute(t,"content")[0],i=r.findChildText(t,o);e=r.recordCollapse(t,e,i)}return e}],["multirel",function(t,e){if(e>r.cutoff.relseq){var o=r.splitAttribute(t,"content")[0],i=r.findChildText(t,o)+"\u22ef";e=r.recordCollapse(t,e,i)}return e}],["superscript",function(t,e){return(e=r.uncollapseChild(e,t,0,2))>r.cutoff.superscript&&(e=r.recordCollapse(t,e,r.marker.superscript)),e}],["subscript",function(t,e){return(e=r.uncollapseChild(e,t,0,2))>r.cutoff.subscript&&(e=r.recordCollapse(t,e,r.marker.subscript)),e}],["subsup",function(t,e){return(e=r.uncollapseChild(e,t,0,3))>r.cutoff.subsup&&(e=r.recordCollapse(t,e,r.marker.subsup)),e}]]),this.idCount=0,this.complexity=t}e.Collapse=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.APPEND=MathJax._.util.Options.APPEND,e.REMOVE=MathJax._.util.Options.REMOVE,e.Expandable=MathJax._.util.Options.Expandable,e.expandable=MathJax._.util.Options.expandable,e.makeArray=MathJax._.util.Options.makeArray,e.keys=MathJax._.util.Options.keys,e.copy=MathJax._.util.Options.copy,e.insert=MathJax._.util.Options.insert,e.defaultOptions=MathJax._.util.Options.defaultOptions,e.userOptions=MathJax._.util.Options.userOptions,e.selectOptions=MathJax._.util.Options.selectOptions,e.selectOptionsFromKeys=MathJax._.util.Options.selectOptionsFromKeys,e.separateOptions=MathJax._.util.Options.separateOptions},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sreReady=MathJax._.a11y.sre.sreReady},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.protoItem=MathJax._.core.MathItem.protoItem,e.AbstractMathItem=MathJax._.core.MathItem.AbstractMathItem,e.STATE=MathJax._.core.MathItem.STATE,e.newState=MathJax._.core.MathItem.newState},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MmlVisitor=MathJax._.core.MmlTree.MmlVisitor.MmlVisitor},function(t,e,o){"use strict";o.r(e);var i=o(0),r=o(1),n=o(4),s=o(3),l=o(2),a=o(6);Object(i.combineWithMathJax)({_:{a11y:{complexity_ts:r,complexity:{collapse:n,visitor:s},"semantic-enrich":l,sre:a}}}),MathJax.startup&&(MathJax.startup.extendHandler(function(t){return Object(r.ComplexityHandler)(t)}),Object(i.combineDefaults)(MathJax.config,"options",MathJax.config["a11y/complexity"]||{}))}]);
\ No newline at end of file

D js/mathjax/a11y/explorer.js => js/mathjax/a11y/explorer.js +0 -1
@@ 1,1 0,0 @@
!function(o){var r={};function i(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return o[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}i.m=o,i.c=r,i.d=function(t,e,o){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(o,r,function(t){return e[t]}.bind(null,r));return o},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=14)}([function(t,e,o){"use strict";var s=this&&this.__read||function(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var r,i,n=o.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(r=n.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(o=n.return)&&o.call(n)}finally{if(i)throw i.error}}return a},n=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(s(arguments[e]));return t},l=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,o=e&&t[e],r=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var r=(i.stopEvent=function(t){t.preventDefault?t.preventDefault():t.returnValue=!1,t.stopImmediatePropagation?t.stopImmediatePropagation():t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0},i.create=function(t,e,o){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i];return new(this.bind.apply(this,n([void 0,t,e,o],r)))},i.prototype.Events=function(){return this.events},Object.defineProperty(i.prototype,"active",{get:function(){return this._active},set:function(t){this._active=t},enumerable:!0,configurable:!0}),i.prototype.Attach=function(){this.AddEvents()},i.prototype.Detach=function(){this.RemoveEvents()},i.prototype.Start=function(){this.highlighter=this.getHighlighter(),this.active=!0},i.prototype.Stop=function(){this.active&&(this.region.Clear(),this.region.Hide(),this.active=!1)},i.prototype.AddEvents=function(){var e,t;try{for(var o=l(this.events),r=o.next();!r.done;r=o.next()){var i=s(r.value,2),n=i[0],a=i[1];this.node.addEventListener(n,a)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}},i.prototype.RemoveEvents=function(){var e,t;try{for(var o=l(this.events),r=o.next();!r.done;r=o.next()){var i=s(r.value,2),n=i[0],a=i[1];this.node.removeEventListener(n,a)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}},i.prototype.Update=function(t){void 0===t&&(t=!1)},i.prototype.getHighlighter=function(){var t=this.document.options.a11y,e={color:t.foregroundColor.toLowerCase(),alpha:t.foregroundOpacity},o={color:t.backgroundColor.toLowerCase(),alpha:t.backgroundOpacity};return sre.HighlighterFactory.highlighter(o,e,{renderer:this.document.outputJax.name,browser:"v3"})},i.prototype.stopEvent=function(t){this.stoppable&&i.stopEvent(t)},i);function i(t,e,o){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i];this.document=t,this.region=e,this.node=o,this.stoppable=!0,this.events=[],this.highlighter=this.getHighlighter(),this._active=!1}e.AbstractExplorer=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sreReady=MathJax._.a11y.sre.sreReady},function(t,e,o){"use strict";var r,i,n,a,s=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var l=o(13);o(1);var h=(c.prototype.AddStyles=function(){if(!this.CLASS.styleAdded){var t=this.document.adaptor.node("style");t.innerHTML=this.CLASS.style.cssText,this.document.adaptor.head(this.document.adaptor.document).appendChild(t),this.CLASS.styleAdded=!0}},c.prototype.AddElement=function(){var t=this.document.adaptor.node("div");t.classList.add(this.CLASS.className),t.style.backgroundColor="white",this.div=t,this.inner=this.document.adaptor.node("div"),this.div.appendChild(this.inner),this.document.adaptor.body(this.document.adaptor.document).appendChild(this.div)},c.prototype.Show=function(t,e){this.position(t),this.highlight(e),this.div.classList.add(this.CLASS.className+"_Show")},c.prototype.Hide=function(){this.div.classList.remove(this.CLASS.className+"_Show")},c.prototype.stackRegions=function(t){for(var e=t.getBoundingClientRect(),o=0,r=Number.POSITIVE_INFINITY,i=this.document.adaptor.document.getElementsByClassName(this.CLASS.className+"_Show"),n=0,a=void 0;a=i[n];n++)a!==this.div&&(o=Math.max(a.getBoundingClientRect().bottom,o),r=Math.min(a.getBoundingClientRect().left,r));var s=(o||e.bottom+10)+window.pageYOffset,l=(r<Number.POSITIVE_INFINITY?r:e.left)+window.pageXOffset;this.div.style.top=s+"px",this.div.style.left=l+"px"},c.styleAdded=!1,c);function c(t){this.document=t,this.CLASS=this.constructor,this.AddStyles(),this.AddElement()}e.AbstractRegion=h;var p,u=(s(d,p=h),d.prototype.Clear=function(){},d.prototype.Update=function(){},d.prototype.Hide=function(){},d.prototype.Show=function(){},d.prototype.AddElement=function(){},d.prototype.AddStyles=function(){},d.prototype.position=function(){},d.prototype.highlight=function(t){},d);function d(){return null!==p&&p.apply(this,arguments)||this}e.DummyRegion=u;var f,y=(s(v,f=h),v.prototype.Clear=function(){this.Update(""),this.inner.style.top="",this.inner.style.backgroundColor=""},v.prototype.Update=function(t){this.inner.textContent="",this.inner.textContent=t},v.prototype.position=function(t){this.stackRegions(t)},v.prototype.highlight=function(t){var e=t.colorString();this.inner.style.backgroundColor=e.background,this.inner.style.color=e.foreground},v);function v(){return null!==f&&f.apply(this,arguments)||this}e.StringRegion=y;var g,m=(s(b,g=y),b.className="MJX_ToolTip",b.style=new l.CssStyles(((i={})["."+b.className]={position:"absolute",display:"inline-block",height:"1px",width:"1px"},i["."+b.className+"_Show"]={width:"auto",height:"auto",opacity:1,"text-align":"center","border-radius":"6px",padding:"0px 0px","border-bottom":"1px dotted black",position:"absolute","z-index":202},i)),b);function b(){return null!==g&&g.apply(this,arguments)||this}e.ToolTip=m;var x,_=(s(S,x=y),S.className="MJX_LiveRegion",S.style=new l.CssStyles(((n={})["."+S.className]={position:"absolute",top:"0",height:"1px",width:"1px",padding:"1px",overflow:"hidden"},n["."+S.className+"_Show"]={top:"0",position:"absolute",width:"auto",height:"auto",padding:"0px 0px",opacity:1,"z-index":"202",left:0,right:0,margin:"0 auto","background-color":"rgba(0, 0, 255, 0.2)","box-shadow":"0px 10px 20px #888",border:"2px solid #CCCCCC"},n)),S);function S(t){var e=x.call(this,t)||this;return e.document=t,e.div.setAttribute("aria-live","assertive"),e}e.LiveRegion=_;var M,w=(s(O,M=h),O.prototype.position=function(t){var e,o=t.getBoundingClientRect(),r=this.div.getBoundingClientRect(),i=o.left+o.width/2-r.width/2;switch(i=i<0?0:i,i+=window.pageXOffset,this.document.options.a11y.align){case"top":e=o.top-r.height-10;break;case"bottom":e=o.bottom+10;break;case"center":default:e=o.top+o.height/2-r.height/2}e=(e+=window.pageYOffset)<0?0:e,this.div.style.top=e+"px",this.div.style.left=i+"px"},O.prototype.highlight=function(t){if(!this.inner.firstChild||this.inner.firstChild.hasAttribute("sre-highlight")){var e=t.colorString();this.inner.style.backgroundColor=e.background,this.inner.style.color=e.foreground}},O.prototype.Show=function(t,e){this.div.style.fontSize=this.document.options.a11y.magnify,this.Update(t),M.prototype.Show.call(this,t,e)},O.prototype.Clear=function(){this.inner.textContent="",this.inner.style.top="",this.inner.style.backgroundColor=""},O.prototype.Update=function(t){this.Clear();var e=this.cloneNode(t);this.inner.appendChild(e)},O.prototype.cloneNode=function(t){var e=t.cloneNode(!0);if("MJX-CONTAINER"!==e.nodeName){"g"!==e.nodeName&&(e.style.marginLeft=e.style.marginRight="0");for(var o=t;o&&"MJX-CONTAINER"!==o.nodeName;)o=o.parentNode;if("MJX-MATH"!==e.nodeName&&"svg"!==e.nodeName&&"svg"===(e=o.firstChild.cloneNode(!1).appendChild(e).parentNode).nodeName){e.firstChild.setAttribute("transform","matrix(1 0 0 -1 0 0)");var r=parseFloat(e.getAttribute("viewBox").split(/ /)[2]),i=parseFloat(e.getAttribute("width")),n=t.getBBox(),a=n.x,s=n.y,l=n.width,h=n.height;e.setAttribute("viewBox",[a,-(s+h),l,h].join(" ")),e.removeAttribute("style"),e.setAttribute("width",i/r*l+"ex"),e.setAttribute("height",i/r*h+"ex"),o.setAttribute("sre-highlight","false")}(e=o.cloneNode(!1).appendChild(e).parentNode).style.margin="0"}return e},O.className="MJX_HoverRegion",O.style=new l.CssStyles(((a={})["."+O.className]={position:"absolute",height:"1px",width:"1px",padding:"1px",overflow:"hidden"},a["."+O.className+"_Show"]={position:"absolute",width:"max-content",height:"auto",padding:"0px 0px",opacity:1,"z-index":"202",margin:"0 auto","background-color":"rgba(0, 0, 255, 0.2)","box-shadow":"0px 10px 20px #888",border:"2px solid #CCCCCC"},a)),O);function O(t){var e=M.call(this,t)||this;return e.document=t,e.inner.style.lineHeight="0",e}e.HoverRegion=w},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,o=1,r=arguments.length;o<r;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},h=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,o=e&&t[e],r=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},c=this&&this.__read||function(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var r,i,n=o.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(r=n.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(o=n.return)&&o.call(n)}finally{if(i)throw i.error}}return a},p=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(c(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var l=o(8),a=o(9),s=o(10),u=o(11),d=o(12),f=o(5),y=o(6),v=o(7),g=o(2);function m(t,r){return i(e,s=t),e.prototype.explorable=function(t){if(!(this.state()>=l.STATE.EXPLORER||this.isEscaped)){var e=this.typesetRoot,o=r(this.root);this.savedId&&(this.typesetRoot.setAttribute("sre-explorer-id",this.savedId),this.savedId=null),this.explorers=function(t,e,o){var r,i,n={};try{for(var a=h(Object.keys(x)),s=a.next();!s.done;s=a.next()){var l=s.value;n[l]=x[l](t,e,o)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return n}(t,e,o),this.attachExplorers(t),this.state(l.STATE.EXPLORER)}},e.prototype.attachExplorers=function(t){var e,o;this.attached=[];try{for(var r=h(Object.keys(this.explorers)),i=r.next();!i.done;i=r.next()){var n=i.value,a=this.explorers[n];t.options.a11y[n]?(a.Attach(),this.attached.push(a)):a.Detach()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(o=r.return)&&o.call(r)}finally{if(e)throw e.error}}this.addExplorers(this.attached)},e.prototype.rerender=function(t,e){var o,r;void 0===e&&(e=l.STATE.RERENDER),this.savedId=this.typesetRoot.getAttribute("sre-explorer-id"),this.refocus=window.document.activeElement===this.typesetRoot;try{for(var i=h(this.attached),n=i.next();!n.done;n=i.next()){var a=n.value;a.active&&(this.restart=!0,a.Stop())}}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}s.prototype.rerender.call(this,t,e)},e.prototype.updateDocument=function(t){s.prototype.updateDocument.call(this,t),this.refocus&&this.typesetRoot.focus(),this.restart&&this.attached.forEach(function(t){return t.Start()}),this.refocus=this.restart=!1},e.prototype.addExplorers=function(t){var e,o;if(!(t.length<=1)){var r=null;try{for(var i=h(this.attached),n=i.next();!n.done;n=i.next()){var a=n.value;a instanceof f.AbstractKeyExplorer&&(a.stoppable=!1,r=a)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(o=i.return)&&o.call(i)}finally{if(e)throw e.error}}r&&(r.stoppable=!0)}},e;function e(){var t=null!==s&&s.apply(this,arguments)||this;return t.explorers={},t.attached=[],t.restart=!1,t.refocus=!1,t.savedId=null,t}var s}function b(t){var e,a;return i(o,a=t),o.prototype.explorable=function(){var e,t;if(!this.processed.isSet("explorer")){try{for(var o=h(this.math),r=o.next();!r.done;r=o.next())r.value.explorable(this)}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}this.processed.set("explorer")}return this},o.prototype.state=function(t,e){return void 0===e&&(e=!1),a.prototype.state.call(this,t,e),t<l.STATE.EXPLORER&&this.processed.clear("explorer"),this},(e=o).OPTIONS=n(n({},t.OPTIONS),{enrichSpeech:"shallow",renderActions:s.expandable(n(n({},t.OPTIONS.renderActions),{explorable:[l.STATE.EXPLORER]})),a11y:{align:"top",backgroundColor:"Blue",backgroundOpacity:.2,braille:!1,flame:!1,foregroundColor:"Black",foregroundOpacity:1,highlight:"None",hover:!1,infoPrefix:!1,infoRole:!1,infoType:!1,keyMagnifier:!1,locale:"en",magnification:"None",magnify:"400%",mouseMagnifier:!1,speech:!0,speechRules:"mathspeak-default",subtitles:!0,treeColoring:!1,viewBraille:!1}}),e;function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var o=a.apply(this,p(t))||this,r=o.constructor.ProcessBits;r.has("explorer")||r.allocate("explorer");var i,n=new u.SerializedMmlVisitor(o.mmlFactory);return o.options.MathItem=m(o.options.MathItem,function(t){return n.visitTree(t)}),o.explorerRegions=(i=o,{speechRegion:new g.LiveRegion(i),brailleRegion:new g.LiveRegion(i),magnifier:new g.HoverRegion(i),tooltip1:new g.ToolTip(i),tooltip2:new g.ToolTip(i),tooltip3:new g.ToolTip(i)}),o}}l.newState("EXPLORER",160),e.ExplorerMathItemMixin=m,e.ExplorerMathDocumentMixin=b,e.ExplorerHandler=function(t,e){return void 0===e&&(e=null),!t.documentClass.prototype.enrich&&e&&(t=a.EnrichHandler(t,e)),t.documentClass=b(t.documentClass),t};var x={speech:function(t,e){for(var o,r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var n=(o=f.SpeechExplorer).create.apply(o,p([t,t.explorerRegions.speechRegion,e],r)),a=c(t.options.a11y.speechRules.split("-"),2),s=a[0],l=a[1];return n.speechGenerator.setOptions({locale:t.options.a11y.locale,domain:s,style:l,modality:"speech"}),n.showRegion="subtitles",n},braille:function(t,e){for(var o,r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var n=(o=f.SpeechExplorer).create.apply(o,p([t,t.explorerRegions.brailleRegion,e],r));return n.speechGenerator.setOptions({locale:"nemeth",domain:"default",style:"default",modality:"braille"}),n.showRegion="viewBraille",n},keyMagnifier:function(t,e){for(var o,r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return(o=f.Magnifier).create.apply(o,p([t,t.explorerRegions.magnifier,e],r))},mouseMagnifier:function(t,e){for(var o=[],r=2;r<arguments.length;r++)o[r-2]=arguments[r];return y.ContentHoverer.create(t,t.explorerRegions.magnifier,e,function(t){return t.hasAttribute("data-semantic-type")},function(t){return t})},hover:function(t,e){for(var o=[],r=2;r<arguments.length;r++)o[r-2]=arguments[r];return y.FlameHoverer.create(t,null,e)},infoType:function(t,e){for(var o=[],r=2;r<arguments.length;r++)o[r-2]=arguments[r];return y.ValueHoverer.create(t,t.explorerRegions.tooltip1,e,function(t){return t.hasAttribute("data-semantic-type")},function(t){return t.getAttribute("data-semantic-type")})},infoRole:function(t,e){for(var o=[],r=2;r<arguments.length;r++)o[r-2]=arguments[r];return y.ValueHoverer.create(t,t.explorerRegions.tooltip2,e,function(t){return t.hasAttribute("data-semantic-role")},function(t){return t.getAttribute("data-semantic-role")})},infoPrefix:function(t,e){for(var o=[],r=2;r<arguments.length;r++)o[r-2]=arguments[r];return y.ValueHoverer.create(t,t.explorerRegions.tooltip3,e,function(t){return t.hasAttribute("data-semantic-prefix")},function(t){return t.getAttribute("data-semantic-prefix")})},flame:function(t,e){for(var o=[],r=2;r<arguments.length;r++)o[r-2]=arguments[r];return v.FlameColorer.create(t,null,e)},treeColoring:function(t,e){for(var o=[],r=2;r<arguments.length;r++)o[r-2]=arguments[r];return v.TreeColorer.create.apply(v.TreeColorer,p([t,null,e],o))}};function _(t,e,o){switch(e){case"magnification":switch(o){case"None":t.options.a11y.magnification=o,t.options.a11y.keyMagnifier=!1,t.options.a11y.mouseMagnifier=!1;break;case"Keyboard":t.options.a11y.magnification=o,t.options.a11y.keyMagnifier=!0,t.options.a11y.mouseMagnifier=!1;break;case"Mouse":t.options.a11y.magnification=o,t.options.a11y.keyMagnifier=!1,t.options.a11y.mouseMagnifier=!0}break;case"highlight":switch(o){case"None":t.options.a11y.highlight=o,t.options.a11y.hover=!1,t.options.a11y.flame=!1;break;case"Hover":t.options.a11y.highlight=o,t.options.a11y.hover=!0,t.options.a11y.flame=!1;break;case"Flame":t.options.a11y.highlight=o,t.options.a11y.hover=!1,t.options.a11y.flame=!0}break;default:t.options.a11y[e]=o}}e.setA11yOptions=function(t,e){var o,r;for(var i in e)void 0!==t.options.a11y[i]&&_(t,i,e[i]);try{for(var n=h(t.math),a=n.next();!a.done;a=n.next()){a.value.attachExplorers(t)}}catch(t){o={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}},e.setA11yOption=_;d.MJContextMenu.DynamicSubmenus.set("Clearspeak",function(t,e){var o=sre.ClearspeakPreferences.smartPreferences(t.mathItem,"en");return ContextMenu.SubMenu.parse({items:o,id:"Clearspeak"},e)})},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=MathJax._.components.global.isObject,e.combineConfig=MathJax._.components.global.combineConfig,e.combineDefaults=MathJax._.components.global.combineDefaults,e.combineWithMathJax=MathJax._.components.global.combineWithMathJax,e.MathJax=MathJax._.components.global.MathJax},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=this&&this.__read||function(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var r,i,n=o.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(r=n.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(o=n.return)&&o.call(n)}finally{if(i)throw i.error}}return a};Object.defineProperty(e,"__esModule",{value:!0});var a,s=o(0),l=o(1),h=(a=s.AbstractExplorer,i(c,a),c.prototype.FocusIn=function(t){},c.prototype.FocusOut=function(t){this.Stop()},c.prototype.Update=function(t){void 0===t&&(t=!1),(this.active||t)&&(this.highlighter.unhighlight(),this.highlighter.highlight(this.walker.getFocus(!0).getNodes()))},c.prototype.Attach=function(){a.prototype.Attach.call(this),this.oldIndex=this.node.tabIndex,this.node.tabIndex=1,this.node.setAttribute("role","application")},c.prototype.Detach=function(){this.node.tabIndex=this.oldIndex,this.oldIndex=null,this.node.removeAttribute("role"),a.prototype.Detach.call(this)},c.prototype.Stop=function(){this.active&&(this.highlighter.unhighlight(),this.walker.deactivate()),a.prototype.Stop.call(this)},c);function c(){var t=null!==a&&a.apply(this,arguments)||this;return t.events=a.prototype.Events.call(t).concat([["keydown",t.KeyDown.bind(t)],["focusin",t.FocusIn.bind(t)],["focusout",t.FocusOut.bind(t)]]),t.oldIndex=null,t}e.AbstractKeyExplorer=h;var p,u=(i(d,p=h),d.prototype.Start=function(){var t=this,e=this.getOptions();if(!this.init)return this.init=!0,void l.sreReady().then(function(){SRE.engineSetup().locale!==e.locale&&SRE.setupEngine({locale:e.locale}),l.sreReady().then(function(){t.Speech(t.walker),t.Start()})}).catch(function(t){return console.log(t.message)});p.prototype.Start.call(this),this.speechGenerator=sre.SpeechGeneratorFactory.generator("Direct"),this.speechGenerator.setOptions(e),this.walker=sre.WalkerFactory.walker("table",this.node,this.speechGenerator,this.highlighter,this.mml),this.walker.activate(),this.Update(),this.document.options.a11y[this.showRegion]&&this.region.Show(this.node,this.highlighter),this.restarted=!0},d.prototype.Update=function(t){void 0===t&&(t=!1),p.prototype.Update.call(this,t),this.region.Update(this.walker.speech());var e=this.speechGenerator.getOptions();"speech"===e.modality&&(this.document.options.a11y.speechRules=e.domain+"-"+e.style)},d.prototype.Speech=function(t){t.speech(),this.node.setAttribute("hasspeech","true"),this.Update(),this.restarted&&this.document.options.a11y[this.showRegion]&&this.region.Show(this.node,this.highlighter)},d.prototype.KeyDown=function(t){var e=t.keyCode;return 27===e?(this.Stop(),void this.stopEvent(t)):this.active?(this.Move(e),void this.stopEvent(t)):void((32===e&&t.shiftKey||13===e)&&(this.Start(),this.stopEvent(t)))},d.prototype.Move=function(t){this.walker.move(t),this.Update()},d.prototype.initWalker=function(){this.speechGenerator=sre.SpeechGeneratorFactory.generator("Tree");var t=sre.WalkerFactory.walker("dummy",this.node,this.speechGenerator,this.highlighter,this.mml);this.walker=t},d.prototype.getOptions=function(){var t=this.speechGenerator.getOptions(),e=n(this.document.options.a11y.speechRules.split("-"),2),o=e[0],r=e[1];return"speech"!==t.modality||t.domain===o&&t.style===r||(t.domain=o,t.style=r,this.walker.update(t)),t},d);function d(t,e,o,r){var i=p.call(this,t,e,o)||this;return i.document=t,i.region=e,i.node=o,i.mml=r,i.showRegion="subtitles",i.init=!1,i.restarted=!1,i.initWalker(),i}e.SpeechExplorer=u;var f,y=(i(v,f=h),v.prototype.Update=function(t){void 0===t&&(t=!1),f.prototype.Update.call(this,t),this.showFocus()},v.prototype.Start=function(){f.prototype.Start.call(this),this.region.Show(this.node,this.highlighter),this.walker.activate(),this.Update()},v.prototype.showFocus=function(){var t=this.walker.getFocus().getNodes()[0];this.region.Show(t,this.highlighter)},v.prototype.Move=function(t){this.walker.move(t)&&this.Update()},v.prototype.KeyDown=function(t){var e=t.keyCode;return 27===e?(this.Stop(),void this.stopEvent(t)):this.active&&13!==e?(this.Move(e),void this.stopEvent(t)):void((32===e&&t.shiftKey||13===e)&&(this.Start(),this.stopEvent(t)))},v);function v(t,e,o,r){var i=f.call(this,t,e,o)||this;return i.document=t,i.region=e,i.node=o,i.mml=r,i.walker=sre.WalkerFactory.walker("table",i.node,sre.SpeechGeneratorFactory.generator("Dummy"),i.highlighter,i.mml),i}e.Magnifier=y},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=this&&this.__read||function(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var r,i,n=o.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(r=n.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(o=n.return)&&o.call(n)}finally{if(i)throw i.error}}return a};Object.defineProperty(e,"__esModule",{value:!0});var a,s=o(2),l=o(0),h=(a=l.AbstractExplorer,i(c,a),c.prototype.MouseOver=function(t){this.Start()},c.prototype.MouseOut=function(t){this.Stop()},c);function c(){var t=null!==a&&a.apply(this,arguments)||this;return t.events=a.prototype.Events.call(t).concat([["mouseover",t.MouseOver.bind(t)],["mouseout",t.MouseOut.bind(t)]]),t}e.AbstractMouseExplorer=h;var p,u=(i(d,p=h),d.prototype.MouseOut=function(t){t.clientX===this.coord[0]&&t.clientY===this.coord[1]||(this.highlighter.unhighlight(),this.region.Hide(),p.prototype.MouseOut.call(this,t))},d.prototype.MouseOver=function(t){p.prototype.MouseOver.call(this,t);var e=t.target;this.coord=[t.clientX,t.clientY];var o=n(this.getNode(e),2),r=o[0],i=o[1];r&&(this.highlighter.unhighlight(),this.highlighter.highlight([r]),this.region.Update(i),this.region.Show(r,this.highlighter))},d.prototype.getNode=function(t){for(var e=t;t&&t!==this.node;){if(this.nodeQuery(t))return[t,this.nodeAccess(t)];t=t.parentNode}for(t=e;t;){if(this.nodeQuery(t))return[t,this.nodeAccess(t)];var o=t.childNodes[0];t=o&&"defs"===o.tagName?t.childNodes[1]:o}return[null,null]},d);function d(t,e,o,r,i){var n=p.call(this,t,e,o)||this;return n.document=t,n.region=e,n.node=o,n.nodeQuery=r,n.nodeAccess=i,n}e.Hoverer=u;var f,y=(i(v,f=u),v);function v(){return null!==f&&f.apply(this,arguments)||this}e.ValueHoverer=y;var g,m=(i(b,g=u),b);function b(){return null!==g&&g.apply(this,arguments)||this}e.ContentHoverer=m;var x,_=(i(S,x=u),S);function S(t,e,o){var r=x.call(this,t,new s.DummyRegion(t),o,function(t){return r.highlighter.isMactionNode(t)},function(t){})||this;return r.document=t,r.node=o,r}e.FlameHoverer=_},function(t,e,o){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var n,a=o(0),s=(n=a.AbstractExplorer,i(l,n),l.prototype.Attach=function(){n.prototype.Attach.call(this),this.Start()},l.prototype.Detach=function(){this.Stop(),n.prototype.Detach.call(this)},l);function l(t,e,o,r){var i=n.call(this,t,null,o)||this;return i.document=t,i.region=e,i.node=o,i.mml=r,i.stoppable=!1,i}e.AbstractTreeExplorer=s;var h,c=(i(p,h=s),p.prototype.Start=function(){this.active||(this.active=!0,this.highlighter.highlightAll(this.node))},p.prototype.Stop=function(){this.active&&this.highlighter.unhighlightAll(this.node),this.active=!1},p);function p(){return null!==h&&h.apply(this,arguments)||this}e.FlameColorer=c;var u,d=(i(f,u=s),f.prototype.Start=function(){if(!this.active){this.active=!0;var t=sre.SpeechGeneratorFactory.generator("Color");this.node.hasAttribute("hasforegroundcolor")||(t.generateSpeech(this.node,this.mml),this.node.setAttribute("hasforegroundcolor","true")),this.highlighter.colorizeAll(this.node)}},f.prototype.Stop=function(){this.active&&this.highlighter.uncolorizeAll(this.node),this.active=!1},f);function f(){return null!==u&&u.apply(this,arguments)||this}e.TreeColorer=d},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.protoItem=MathJax._.core.MathItem.protoItem,e.AbstractMathItem=MathJax._.core.MathItem.AbstractMathItem,e.STATE=MathJax._.core.MathItem.STATE,e.newState=MathJax._.core.MathItem.newState},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EnrichedMathItemMixin=MathJax._.a11y["semantic-enrich"].EnrichedMathItemMixin,e.EnrichedMathDocumentMixin=MathJax._.a11y["semantic-enrich"].EnrichedMathDocumentMixin,e.EnrichHandler=MathJax._.a11y["semantic-enrich"].EnrichHandler},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.APPEND=MathJax._.util.Options.APPEND,e.REMOVE=MathJax._.util.Options.REMOVE,e.Expandable=MathJax._.util.Options.Expandable,e.expandable=MathJax._.util.Options.expandable,e.makeArray=MathJax._.util.Options.makeArray,e.keys=MathJax._.util.Options.keys,e.copy=MathJax._.util.Options.copy,e.insert=MathJax._.util.Options.insert,e.defaultOptions=MathJax._.util.Options.defaultOptions,e.userOptions=MathJax._.util.Options.userOptions,e.selectOptions=MathJax._.util.Options.selectOptions,e.selectOptionsFromKeys=MathJax._.util.Options.selectOptionsFromKeys,e.separateOptions=MathJax._.util.Options.separateOptions},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DATAMJX=MathJax._.core.MmlTree.SerializedMmlVisitor.DATAMJX,e.SerializedMmlVisitor=MathJax._.core.MmlTree.SerializedMmlVisitor.SerializedMmlVisitor},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MJContextMenu=MathJax._.ui.menu.MJContextMenu.MJContextMenu},function(t,e,o){"use strict";var h=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,o=e&&t[e],r=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var r=(Object.defineProperty(i.prototype,"cssText",{get:function(){return this.getStyleString()},enumerable:!0,configurable:!0}),i.prototype.addStyles=function(t){var e,o;if(t)try{for(var r=h(Object.keys(t)),i=r.next();!i.done;i=r.next()){var n=i.value;this.styles[n]||(this.styles[n]={}),Object.assign(this.styles[n],t[n])}}catch(t){e={error:t}}finally{try{i&&!i.done&&(o=r.return)&&o.call(r)}finally{if(e)throw e.error}}},i.prototype.removeStyles=function(){for(var e,t,o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];try{for(var i=h(o),n=i.next();!n.done;n=i.next()){var a=n.value;delete this.styles[a]}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}},i.prototype.clear=function(){this.styles={}},i.prototype.getStyleString=function(){var e,t,o=Object.keys(this.styles),r=new Array(o.length),i=0;try{for(var n=h(o),a=n.next();!a.done;a=n.next()){var s=a.value;r[i++]=s+" {\n"+this.getStyleDefString(this.styles[s])+"\n}"}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r.join("\n\n")},i.prototype.getStyleDefString=function(t){var e,o,r=Object.keys(t),i=new Array(r.length),n=0;try{for(var a=h(r),s=a.next();!s.done;s=a.next()){var l=s.value;i[n++]="  "+l+": "+t[l]+";"}}catch(t){e={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(e)throw e.error}}return i.join("\n")},i);function i(t){void 0===t&&(t=null),this.styles={},this.addStyles(t)}e.CssStyles=r},function(t,e,o){"use strict";o.r(e);var r=o(4),i=o(3),n=o(0),a=o(5),s=o(6),l=o(2),h=o(7),c=o(1);Object(r.combineWithMathJax)({_:{a11y:{explorer_ts:i,explorer:{Explorer:n,KeyExplorer:a,MouseExplorer:s,Region:l,TreeExplorer:h},sre:c}}}),MathJax.startup&&MathJax.startup.extendHandler(function(t){return Object(i.ExplorerHandler)(t)})}]);
\ No newline at end of file

D js/mathjax/a11y/semantic-enrich.js => js/mathjax/a11y/semantic-enrich.js +0 -1
@@ 1,1 0,0 @@
!function(r){var n={};function i(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}i.m=r,i.c=n,i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=9)}([function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(8),i="undefined"==typeof window?"./a11y/sre-node.js":"../../../speech-rule-engine/lib/sre_browser.js",a="undefined"==typeof sre?n.asyncLoad(i):Promise.resolve();e.sreReady=function(){return new Promise(function(r,n){a.then(function(){var e=(new Date).getTime();!function t(){sre.Engine.isReady()?r():(new Date).getTime()-e<2e4?setTimeout(t,100):n("Timed out waiting for Speech-Rule-Engine")}()}).catch(function(t){return n(t.message||t)})})}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=MathJax._.components.global.isObject,e.combineConfig=MathJax._.components.global.combineConfig,e.combineDefaults=MathJax._.components.global.combineDefaults,e.combineWithMathJax=MathJax._.components.global.combineWithMathJax,e.MathJax=MathJax._.components.global.MathJax},function(t,e,r){"use strict";var n,s=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},l=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,a=r.call(t),o=[];try{for(;(void 0===e||0<e--)&&!(n=a.next()).done;)o.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},c=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var o=r(4),u=r(5),h=r(6),p=r(7),f=r(0),d="none";function y(t,r,n){return s(e,i=t),e.prototype.serializeMml=function(t){if("outerHTML"in t)return t.outerHTML;if("undefined"!=typeof Element&&"undefined"!=typeof window&&t instanceof Element){var e=window.document.createElement("div");return e.appendChild(t),e.innerHTML}return t.toString()},e.prototype.enrich=function(t){if(!(this.state()>=u.STATE.ENRICHED||this.isEscaped)){"undefined"!=typeof sre&&sre.Engine.isReady()||o.mathjax.retryAfter(f.sreReady()),t.options.enrichSpeech!==d&&(SRE.setupEngine({speech:t.options.enrichSpeech}),d=t.options.enrichSpeech);var e=new t.options.MathItem("",r);e.math=this.serializeMml(SRE.toEnriched(n(this.root))),e.display=this.display,e.compile(t),this.root=e.root,this.inputData.originalMml=e.math,this.state(u.STATE.ENRICHED)}},e.prototype.attachSpeech=function(t){var e,r;if(!(this.state()>=u.STATE.ATTACHSPEECH)){var n=this.root.attributes.get("aria-label")||this.getSpeech(this.root);if(n){var i=t.adaptor,a=this.typesetRoot;i.setAttribute(a,"aria-label",n);try{for(var o=l(i.childNodes(a)),s=o.next();!s.done;s=o.next()){var c=s.value;i.setAttribute(c,"aria-hidden","true")}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}}this.state(u.STATE.ATTACHSPEECH)}},e.prototype.getSpeech=function(t){var e,r,n=t.attributes;if(n){var i=n.getExplicit("data-semantic-speech");if(!n.getExplicit("data-semantic-parent")&&i)return i;try{for(var a=l(t.childNodes),o=a.next();!o.done;o=a.next()){var s=o.value,c=this.getSpeech(s);if(null!=c)return c}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}}},e;function e(){return null!==i&&i.apply(this,arguments)||this}var i}function M(t,a){var e,o;return s(r,o=t),r.prototype.attachSpeech=function(){var e,t;if(!this.processed.isSet("attach-speech")){try{for(var r=l(this.math),n=r.next();!n.done;n=r.next())n.value.attachSpeech(this)}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this.processed.set("attach-speech")}return this},r.prototype.enrich=function(){var e,t;if(!this.processed.isSet("enriched")){try{for(var r=l(this.math),n=r.next();!n.done;n=r.next())n.value.enrich(this)}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this.processed.set("enriched")}return this},r.prototype.state=function(t,e){return void 0===e&&(e=!1),o.prototype.state.call(this,t,e),t<u.STATE.ENRICHED&&this.processed.clear("enriched"),this},(e=r).OPTIONS=i(i({},t.OPTIONS),{enrichSpeech:"none",renderActions:p.expandable(i(i({},t.OPTIONS.renderActions),{enrich:[u.STATE.ENRICHED],attachSpeech:[u.STATE.ATTACHSPEECH]}))}),e;function r(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=o.apply(this,c(t))||this;a.setMmlFactory(r.mmlFactory);var n=r.constructor.ProcessBits;n.has("enriched")||(n.allocate("enriched"),n.allocate("attach-speech"));var i=new h.SerializedMmlVisitor(r.mmlFactory);return r.options.MathItem=y(r.options.MathItem,a,function(t){return i.visitTree(t)}),r}}u.newState("ENRICHED",30),u.newState("ATTACHSPEECH",155),e.EnrichedMathItemMixin=y,e.EnrichedMathDocumentMixin=M,e.EnrichHandler=function(t,e){return e.setAdaptor(t.adaptor),t.documentClass=M(t.documentClass,e),t}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MathML=MathJax._.input.mathml_ts.MathML},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mathjax=MathJax._.mathjax.mathjax},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.protoItem=MathJax._.core.MathItem.protoItem,e.AbstractMathItem=MathJax._.core.MathItem.AbstractMathItem,e.STATE=MathJax._.core.MathItem.STATE,e.newState=MathJax._.core.MathItem.newState},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DATAMJX=MathJax._.core.MmlTree.SerializedMmlVisitor.DATAMJX,e.SerializedMmlVisitor=MathJax._.core.MmlTree.SerializedMmlVisitor.SerializedMmlVisitor},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.APPEND=MathJax._.util.Options.APPEND,e.REMOVE=MathJax._.util.Options.REMOVE,e.Expandable=MathJax._.util.Options.Expandable,e.expandable=MathJax._.util.Options.expandable,e.makeArray=MathJax._.util.Options.makeArray,e.keys=MathJax._.util.Options.keys,e.copy=MathJax._.util.Options.copy,e.insert=MathJax._.util.Options.insert,e.defaultOptions=MathJax._.util.Options.defaultOptions,e.userOptions=MathJax._.util.Options.userOptions,e.selectOptions=MathJax._.util.Options.selectOptions,e.selectOptionsFromKeys=MathJax._.util.Options.selectOptionsFromKeys,e.separateOptions=MathJax._.util.Options.separateOptions},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.asyncLoad=MathJax._.util.AsyncLoad.asyncLoad},function(t,e,r){"use strict";r.r(e);var n=r(1),i=r(2),a=r(0);Object(n.combineWithMathJax)({_:{a11y:{"semantic-enrich":i,sre:a}}});var o=r(3);MathJax.loader&&Object(n.combineDefaults)(MathJax.config.loader,"a11y/semantic-enrich",{checkReady:function(){return Object(a.sreReady)()}}),MathJax.startup&&MathJax.startup.extendHandler(function(t){return Object(i.EnrichHandler)(t,new o.MathML)})}]);
\ No newline at end of file

D js/mathjax/adaptors/liteDOM.js => js/mathjax/adaptors/liteDOM.js +0 -1
@@ 1,1 0,0 @@
!function(n){var r={};function o(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}o.m=n,o.c=r,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=12)}([function(t,e,n){"use strict";var u=this&&this.__assign||function(){return(u=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},r=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},s=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(r(arguments[e]));return t},l=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});function o(t,e,n){var r,o;void 0===e&&(e={}),void 0===n&&(n=[]),this.kind=t,this.attributes=u({},e),this.children=s(n);try{for(var i=l(this.children),a=i.next();!a.done;a=i.next())a.value.parent=this}catch(t){r={error:t}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}this.styles=null}e.LiteElement=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=(Object.defineProperty(i.prototype,"kind",{get:function(){return"#document"},enumerable:!0,configurable:!0}),i);function i(){this.root=new r.LiteElement("html",{},[this.head=new r.LiteElement("head"),this.body=new r.LiteElement("body")])}e.LiteDocument=o},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=(Object.defineProperty(a.prototype,"kind",{get:function(){return"#text"},enumerable:!0,configurable:!0}),a);function a(t){void 0===t&&(t=""),this.value=t}e.LiteText=i;var u,s=(o(l,u=i),Object.defineProperty(l.prototype,"kind",{get:function(){return"#comment"},enumerable:!0,configurable:!0}),l);function l(){return null!==u&&u.apply(this,arguments)||this}e.LiteComment=s},function(t,e,n){"use strict";var c=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},s=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var l,r,p=n(9),f=n(0),o=n(2);(r=l=e.PATTERNS||(e.PATTERNS={})).TAGNAME="[a-z][^\\s\\n>]*",r.ATTNAME="[a-z][^\\s\\n>=]*",r.VALUE="(?:'[^']*'|\"[^\"]*\"|[^\\s\\n]+)",r.VALUESPLIT="(?:'([^']*)'|\"([^\"]*)\"|([^\\s\\n]+))",r.SPACE="(?:\\s|\\n)+",r.OPTIONALSPACE="(?:\\s|\\n)*",r.ATTRIBUTE=r.ATTNAME+"(?:"+r.OPTIONALSPACE+"="+r.OPTIONALSPACE+r.VALUE+")?",r.ATTRIBUTESPLIT="("+r.ATTNAME+")(?:"+r.OPTIONALSPACE+"="+r.OPTIONALSPACE+r.VALUESPLIT+")?",r.TAG="(<(?:"+r.TAGNAME+"(?:"+r.SPACE+r.ATTRIBUTE+")*"+r.OPTIONALSPACE+"/?|/"+r.TAGNAME+"|!--[^]*?--|![^]*?)(?:>|$))",r.tag=new RegExp(r.TAG,"i"),r.attr=new RegExp(r.ATTRIBUTE,"i"),r.attrsplit=new RegExp(r.ATTRIBUTESPLIT,"i");var i=(a.prototype.parseFromString=function(t,e,n){void 0===e&&(e="text/html"),void 0===n&&(n=null);for(var r=n.createDocument(),o=n.body(r),i=t.replace(/<\?.*?\?>/g,"").split(l.tag);i.length;){var a=i.shift(),u=i.shift();a&&this.addText(n,o,a),u&&">"===u.charAt(u.length-1)&&("!"===u.charAt(1)?this.addComment(n,o,u):o="/"===u.charAt(1)?this.closeTag(n,o,u):this.openTag(n,o,u,i))}return this.checkDocument(n,r),r},a.prototype.addText=function(t,e,n){return n=p.translate(n),t.append(e,t.text(n))},a.prototype.addComment=function(t,e,n){return t.append(e,new o.LiteComment(n))},a.prototype.closeTag=function(t,e,n){for(var r=n.slice(2,n.length-1).toLowerCase();t.parent(e)&&t.kind(e)!==r;)e=t.parent(e);return t.parent(e)},a.prototype.openTag=function(t,e,n,r){var o=this.constructor.PCDATA,i=this.constructor.SELF_CLOSING,a=n.match(/<(.*?)[\s\n>/]/)[1].toLowerCase(),u=t.node(a),s=n.replace(/^<.*?[\s\n>]/,"").split(l.attrsplit);return(s.pop().match(/>$/)||s.length<5)&&(this.addAttributes(t,u,s),t.append(e,u),i[a]||n.match(/\/>$/)||(o[a]?this.handlePCDATA(t,u,a,r):e=u)),e},a.prototype.addAttributes=function(t,e,n){for(var r=this.constructor.CDATA_ATTR;n.length;){var o=c(n.splice(0,5),5),i=(o[0],o[1]),a=o[2],u=o[3],s=o[4],l=a||u||s||"";r[i]||(l=p.translate(l)),t.setAttribute(e,i,l)}},a.prototype.handlePCDATA=function(t,e,n,r){for(var o=[],i="</"+n+">",a="";r.length&&a!==i;)o.push(a),o.push(r.shift()),a=r.shift();t.append(e,t.text(o.join("")))},a.prototype.checkDocument=function(t,e){var n,r,o=this.getOnlyChild(t,t.body(e));if(o)switch(t.kind(o)){case"html":try{for(var i=s(o.children),a=i.next();!a.done;a=i.next()){var u=a.value;switch(t.kind(u)){case"head":e.head=u;break;case"body":e.body=u}}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}e.root=o,t.remove(o),t.parent(e.body)!==o&&t.append(o,e.body),t.parent(e.head)!==o&&t.insert(e.head,e.body);break;case"head":e.head=t.replace(o,e.head);break;case"body":e.body=t.replace(o,e.body)}},a.prototype.getOnlyChild=function(t,e){var n,r,o=null;try{for(var i=s(t.childNodes(e)),a=i.next();!a.done;a=i.next()){var u=a.value;if(u instanceof f.LiteElement){if(o)return null;o=u}}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o},a.prototype.serialize=function(t,e){var n=this,r=this.constructor.SELF_CLOSING,o=this.constructor.CDATA_ATTR,i=t.kind(e),a=t.allAttributes(e).map(function(t){return t.name+'="'+(o[t.name]?t.value:n.protectAttribute(t.value))+'"'}).join(" ");return"<"+i+(a?" "+a:"")+">"+(r[i]?"":t.innerHTML(e)+"</"+i+">")},a.prototype.serializeInner=function(n,t){var r=this;return this.constructor.PCDATA.hasOwnProperty(t.kind)?n.childNodes(t).map(function(t){return n.value(t)}).join(""):n.childNodes(t).map(function(t){var e=n.kind(t);return"#text"===e?r.protectHTML(n.value(t)):"#comment"===e?n.value(t):r.serialize(n,t)}).join("")},a.prototype.protectAttribute=function(t){return"string"!=typeof t&&(t=String(t)),t.replace(/"/g,"&quot;")},a.prototype.protectHTML=function(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},a.SELF_CLOSING={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},a.PCDATA={option:!0,textarea:!0,fieldset:!0,title:!0,style:!0,script:!0},a.CDATA_ATTR={style:!0,datafld:!0,datasrc:!0,href:!0,src:!0,longdesc:!0,usemap:!0,cite:!0,datetime:!0,action:!0,axis:!0,profile:!0,content:!0,scheme:!0},a);function a(){}e.LiteParser=i},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},c=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},u=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var s,l=n(8),p=n(1),f=n(0),d=n(2),h=n(5),y=n(3),v=n(10),b=n(11),m=(s=l.AbstractDOMAdaptor,o(_,s),_.prototype.parse=function(t,e){return this.parser.parseFromString(t,e,this)},_.prototype.create=function(t,e){return void 0===e&&(e=null),new f.LiteElement(t)},_.prototype.text=function(t){return new d.LiteText(t)},_.prototype.comment=function(t){return new d.LiteComment(t)},_.prototype.createDocument=function(){return new p.LiteDocument},_.prototype.head=function(t){return t.head},_.prototype.body=function(t){return t.body},_.prototype.root=function(t){return t.root},_.prototype.tags=function(t,e,n){void 0===n&&(n=null);var r=[],o=[];if(n)return o;for(var i=t;i;){var a=i.kind;"#text"!==a&&"#comment"!==a&&(i=i,a===e&&o.push(i),i.children.length&&(r=i.children.concat(r))),i=r.shift()}return o},_.prototype.elementById=function(t,e){for(var n=[],r=t;r;){if("#text"!==r.kind&&"#comment"!==r.kind){if((r=r).attributes.id===e)return r;r.children.length&&(n=r.children.concat(n))}r=n.shift()}return null},_.prototype.elementsByClass=function(t,e){for(var n=[],r=[],o=t;o;)"#text"!==o.kind&&"#comment"!==o.kind&&(((o=o).attributes.class||"").trim().split(/ +/).includes(e)&&r.push(o),o.children.length&&(n=o.children.concat(n))),o=n.shift();return r},_.prototype.getElements=function(t,e){var n,r,o=[],i=this.body(e);try{for(var a=c(t),u=a.next();!u.done;u=a.next()){var s=u.value;if("string"==typeof s)if("#"===s.charAt(0)){var l=this.elementById(i,s.slice(1));l&&o.push(l)}else"."===s.charAt(0)?o=o.concat(this.elementsByClass(i,s.slice(1))):s.match(/^[-a-z][-a-z0-9]*$/i)&&(o=o.concat(this.tags(i,s)));else Array.isArray(s)?o=o.concat(s):s instanceof this.window.NodeList||s instanceof this.window.HTMLCollection?o=o.concat(s.nodes):o.push(s)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o},_.prototype.parent=function(t){return t.parent},_.prototype.childIndex=function(e){return e.parent?e.parent.children.findIndex(function(t){return t===e}):-1},_.prototype.append=function(t,e){return e.parent&&this.remove(e),t.children.push(e),e.parent=t,e},_.prototype.insert=function(t,e){if(t.parent&&this.remove(t),e&&e.parent){var n=this.childIndex(e);e.parent.children.splice(n,0,t),t.parent=e.parent}},_.prototype.remove=function(t){var e=this.childIndex(t);return 0<=e&&t.parent.children.splice(e,1),t.parent=null,t},_.prototype.replace=function(t,e){var n=this.childIndex(e);return 0<=n&&(e.parent.children[n]=t),e},_.prototype.clone=function(t){var n=this,r=new f.LiteElement(t.kind);return r.attributes=i({},t.attributes),r.children=t.children.map(function(t){if("#text"===t.kind)return new d.LiteText(t.value);if("#comment"===t.kind)return new d.LiteComment(t.value);var e=n.clone(t);return e.parent=r,e}),r},_.prototype.split=function(t,e){var n=new d.LiteText(t.value.slice(e));return t.value=t.value.slice(0,e),t.parent.children.splice(this.childIndex(t)+1,0,n),n.parent=t.parent,n},_.prototype.next=function(t){var e=t.parent;if(e){var n=this.childIndex(t)+1;return 0<=n&&n<e.children.length?e.children[n]:null}},_.prototype.previous=function(t){var e=t.parent;if(e){var n=this.childIndex(t)-1;return 0<=n?e.children[n]:null}},_.prototype.firstChild=function(t){return t.children[0]},_.prototype.lastChild=function(t){return t.children[t.children.length-1]},_.prototype.childNodes=function(t){return u(t.children)},_.prototype.childNode=function(t,e){return t.children[e]},_.prototype.kind=function(t){return t.kind},_.prototype.value=function(t){return"#text"===t.kind?t.value:""},_.prototype.textContent=function(t){var n=this;return t.children.reduce(function(t,e){return t+("#text"===e.kind?e.value:"#comment"===e.kind?"":n.textContent(e))},"")},_.prototype.innerHTML=function(t){return this.parser.serializeInner(this,t)},_.prototype.outerHTML=function(t){return this.parser.serialize(this,t)},_.prototype.setAttribute=function(t,e,n,r){void 0===r&&(r=null),"string"!=typeof n&&(n=String(n)),r&&(e=r.replace(/.*\//,"")+":"+e.replace(/^.*:/,"")),t.attributes[e]=n,"style"===e&&(t.styles=null)},_.prototype.getAttribute=function(t,e){return t.attributes[e]},_.prototype.removeAttribute=function(t,e){delete t.attributes[e]},_.prototype.hasAttribute=function(t,e){return t.attributes.hasOwnProperty(e)},_.prototype.allAttributes=function(t){var e,n,r=t.attributes,o=[];try{for(var i=c(Object.keys(r)),a=i.next();!a.done;a=i.next()){var u=a.value;o.push({name:u,value:r[u]})}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return o},_.prototype.addClass=function(t,e){var n=(t.attributes.class||"").split(/ /);n.find(function(t){return t===e})||(n.push(e),t.attributes.class=n.join(" "))},_.prototype.removeClass=function(t,e){var n=(t.attributes.class||"").split(/ /),r=n.findIndex(function(t){return t===e});0<=r&&(n.splice(r,1),t.attributes.class=n.join(" "))},_.prototype.hasClass=function(t,e){return!!(t.attributes.class||"").split(/ /).find(function(t){return t===e})},_.prototype.setStyle=function(t,e,n){t.styles||(t.styles=new v.Styles(this.getAttribute(t,"style"))),t.styles.set(e,n),t.attributes.style=t.styles.cssText},_.prototype.getStyle=function(t,e){if(!t.styles){var n=this.getAttribute(t,"style");if(!n)return"";t.styles=new v.Styles(n)}return t.styles.get(e)},_.prototype.allStyles=function(t){return this.getAttribute(t,"style")},_.prototype.fontSize=function(t){return this.options.fontSize},_.prototype.nodeSize=function(t,e,n){return void 0===e&&(e=1),void 0===n&&(n=null),[.6*this.textContent(t).length,0]},_.prototype.nodeBBox=function(t){return{left:0,right:0,top:0,bottom:0}},_.OPTIONS={fontSize:16},_);function _(t){void 0===t&&(t=null);var e=s.call(this)||this,n=e.constructor;return e.options=b.userOptions(b.defaultOptions({},n.OPTIONS),t),e.parser=new y.LiteParser,e.window=new h.LiteWindow,e}e.LiteAdaptor=m,e.liteAdaptor=function(t){return void 0===t&&(t=null),new m(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function r(){this.DOMParser=u.LiteParser,this.NodeList=a.LiteList,this.HTMLCollection=a.LiteList,this.HTMLElement=o.LiteElement,this.DocumentFragment=a.LiteList,this.Document=i.LiteDocument,this.document=new i.LiteDocument}var o=n(0),i=n(1),a=n(6),u=n(3);e.LiteWindow=r},function(t,e,n){"use strict";var r=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(r(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var i=(a.prototype.append=function(t){this.nodes.push(t)},a.prototype[Symbol.iterator]=function(){var t=0;return{next:function(){return t===this.nodes.length?{value:null,done:!0}:{value:this.nodes[t++],done:!1}}}},a);function a(t){this.nodes=[],this.nodes=o(t)}e.LiteList=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=MathJax._.components.global.isObject,e.combineConfig=MathJax._.components.global.combineConfig,e.combineDefaults=MathJax._.components.global.combineDefaults,e.combineWithMathJax=MathJax._.components.global.combineWithMathJax,e.MathJax=MathJax._.components.global.MathJax},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractDOMAdaptor=MathJax._.core.DOMAdaptor.AbstractDOMAdaptor},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.options=MathJax._.util.Entities.options,e.entities=MathJax._.util.Entities.entities,e.add=MathJax._.util.Entities.add,e.remove=MathJax._.util.Entities.remove,e.translate=MathJax._.util.Entities.translate,e.numeric=MathJax._.util.Entities.numeric},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Styles=MathJax._.util.Styles.Styles},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.APPEND=MathJax._.util.Options.APPEND,e.REMOVE=MathJax._.util.Options.REMOVE,e.Expandable=MathJax._.util.Options.Expandable,e.expandable=MathJax._.util.Options.expandable,e.makeArray=MathJax._.util.Options.makeArray,e.keys=MathJax._.util.Options.keys,e.copy=MathJax._.util.Options.copy,e.insert=MathJax._.util.Options.insert,e.defaultOptions=MathJax._.util.Options.defaultOptions,e.userOptions=MathJax._.util.Options.userOptions,e.selectOptions=MathJax._.util.Options.selectOptions,e.selectOptionsFromKeys=MathJax._.util.Options.selectOptionsFromKeys,e.separateOptions=MathJax._.util.Options.separateOptions},function(t,e,n){"use strict";n.r(e);var r=n(7),o=n(4),i=n(1),a=n(0),u=n(6),s=n(3),l=n(2),c=n(5);Object(r.combineWithMathJax)({_:{adaptors:{liteAdaptor:o,lite:{Document:i,Element:a,List:u,Parser:s,Text:l,Window:c}}}}),MathJax.startup&&(MathJax.startup.registerConstructor("liteAdaptor",o.liteAdaptor),MathJax.startup.useAdaptor("liteAdaptor",!0))}]);
\ No newline at end of file

D js/mathjax/core.js => js/mathjax/core.js +0 -1
@@ 1,1 0,0 @@
!function(r){var n={};function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}o.m=r,o.c=n,o.d=function(t,e,r){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=76)}([function(t,a,e){"use strict";var n,r=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),l=this&&this.__assign||function(){return(l=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},d=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s};Object.defineProperty(a,"__esModule",{value:!0});var o=e(2),i=e(11);a.TEXCLASS={ORD:0,OP:1,BIN:2,REL:3,OPEN:4,CLOSE:5,PUNCT:6,INNER:7,VCENTER:8,NONE:-1},a.TEXCLASSNAMES=["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER","VCENTER"];var s=["","thinmathspace","mediummathspace","thickmathspace"],u=[[0,-1,2,3,0,0,0,1],[-1,-1,0,3,0,0,0,1],[2,2,0,0,2,0,0,2],[3,3,0,0,3,0,0,3],[0,0,0,0,0,0,0,0],[0,-1,2,3,0,0,0,1],[1,1,0,1,1,1,1,1],[1,-1,2,3,1,0,1,1]];a.indentAttributes=["indentalign","indentalignfirst","indentshift","indentshiftfirst"];var c,p=(c=i.AbstractNode,r(O,c),Object.defineProperty(O.prototype,"isToken",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(O.prototype,"isEmbellished",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(O.prototype,"isSpacelike",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(O.prototype,"linebreakContainer",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(O.prototype,"hasNewLine",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(O.prototype,"arity",{get:function(){return 1/0},enumerable:!0,configurable:!0}),Object.defineProperty(O.prototype,"isInferred",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(O.prototype,"Parent",{get:function(){for(var t=this.parent;t&&t.notParent;)t=t.Parent;return t},enumerable:!0,configurable:!0}),Object.defineProperty(O.prototype,"notParent",{get:function(){return!1},enumerable:!0,configurable:!0}),O.prototype.setChildren=function(t){return this.arity<0?this.childNodes[0].setChildren(t):c.prototype.setChildren.call(this,t)},O.prototype.appendChild=function(t){return this.arity<0?(this.childNodes[0].appendChild(t),t):c.prototype.appendChild.call(this,t)},O.prototype.replaceChild=function(t,e){return this.arity<0?(this.childNodes[0].replaceChild(t,e),t):c.prototype.replaceChild.call(this,t,e)},O.prototype.core=function(){return this},O.prototype.coreMO=function(){return this},O.prototype.coreIndex=function(){return 0},O.prototype.childPosition=function(){for(var e,t,r=this,n=r.parent;n&&n.notParent;)n=(r=n).parent;if(n){var o=0;try{for(var i=d(n.childNodes),s=i.next();!s.done;s=i.next()){if(s.value===r)return o;o++}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}}return null},O.prototype.setTeXclass=function(t){return this.getPrevClass(t),null!=this.texClass?this:t},O.prototype.updateTeXclass=function(t){t&&(this.prevClass=t.prevClass,this.prevLevel=t.prevLevel,t.prevClass=t.prevLevel=null,this.texClass=t.texClass)},O.prototype.getPrevClass=function(t){t&&(this.prevClass=t.texClass,this.prevLevel=t.attributes.get("scriptlevel"))},O.prototype.texSpacing=function(){var t=null!=this.prevClass?this.prevClass:a.TEXCLASS.NONE,e=this.texClass||a.TEXCLASS.ORD;if(t===a.TEXCLASS.NONE||e===a.TEXCLASS.NONE)return"";t===a.TEXCLASS.VCENTER&&(t=a.TEXCLASS.ORD),e===a.TEXCLASS.VCENTER&&(e=a.TEXCLASS.ORD);var r=u[t][e];return(0<this.prevLevel||0<this.attributes.get("scriptlevel"))&&0<=r?"":s[Math.abs(r)]},O.prototype.hasSpacingAttributes=function(){return this.isEmbellished&&this.coreMO().hasSpacingAttributes()},O.prototype.setInheritedAttributes=function(t,e,r,n){var o,i;void 0===t&&(t={}),void 0===e&&(e=!1),void 0===r&&(r=0),void 0===n&&(n=!1);var s=this.attributes.getAllDefaults();try{for(var a=d(Object.keys(t)),l=a.next();!l.done;l=a.next()){var u=l.value;if(s.hasOwnProperty(u)){var c=y(t[u],2),p=c[0],f=c[1];((O.noInherit[p]||{})[this.kind]||{})[u]||this.attributes.setInherited(u,f)}}}catch(t){o={error:t}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}void 0===this.attributes.getExplicit("displaystyle")&&this.attributes.setInherited("displaystyle",e),void 0===this.attributes.getExplicit("scriptlevel")&&this.attributes.setInherited("scriptlevel",r),n&&this.setProperty("texprimestyle",n);var h=this.arity;if(0<=h&&h!==1/0&&(1===h&&0===this.childNodes.length||1!==h&&this.childNodes.length!==h))if(h<this.childNodes.length)this.childNodes=this.childNodes.slice(0,h);else for(;this.childNodes.length<h;)this.appendChild(this.factory.create("mrow"));this.setChildInheritedAttributes(t,e,r,n)},O.prototype.setChildInheritedAttributes=function(t,e,r,n){var o,i;try{for(var s=d(this.childNodes),a=s.next();!a.done;a=s.next())a.value.setInheritedAttributes(t,e,r,n)}catch(t){o={error:t}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}},O.prototype.addInheritedAttributes=function(t,e){var r,n,o=l({},t);try{for(var i=d(Object.keys(e)),s=i.next();!s.done;s=i.next()){var a=s.value;"displaystyle"!==a&&"scriptlevel"!==a&&"style"!==a&&(o[a]=[this.kind,e[a]])}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o},O.prototype.inheritAttributesFrom=function(t){var e=t.attributes,r=e.get("displaystyle"),n=e.get("scriptlevel"),o=e.isSet("mathsize")?{mathsize:["math",e.get("mathsize")]}:{},i=t.getProperty("texprimestyle")||!1;this.setInheritedAttributes(o,r,n,i)},O.prototype.verifyTree=function(t){if(void 0===t&&(t=null),null!==t){this.verifyAttributes(t);var e=this.arity;t.checkArity&&0<=e&&e!==1/0&&(1===e&&0===this.childNodes.length||1!==e&&this.childNodes.length!==e)&&this.mError('Wrong number of children for "'+this.kind+'" node',t,!0),this.verifyChildren(t)}},O.prototype.verifyAttributes=function(t){var e,r;if(t.checkAttributes){var n=this.attributes,o=[];try{for(var i=d(n.getExplicitNames()),s=i.next();!s.done;s=i.next()){var a=s.value;"data-"===a.substr(0,5)||void 0!==n.getDefault(a)||a.match(/^(?:class|style|id|(?:xlink:)?href)$/)||o.push(a)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}o.length&&this.mError("Unknown attributes for "+this.kind+" node: "+o.join(", "),t)}},O.prototype.verifyChildren=function(t){var e,r;try{for(var n=d(this.childNodes),o=n.next();!o.done;o=n.next())o.value.verifyTree(t)}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},O.prototype.mError=function(t,e,r){if(void 0===r&&(r=!1),!this.parent||!this.parent.isKind("merror")){var n=this.factory.create("merror");if(e.fullErrors||r){var o=this.factory.create("mtext"),i=this.factory.create("text");i.setText(e.fullErrors?t:this.kind),o.appendChild(i),n.appendChild(o),this.parent.replaceChild(n,this)}else this.parent.replaceChild(n,this),n.appendChild(this);return n}},O.defaults={mathbackground:o.INHERIT,mathcolor:o.INHERIT,mathsize:o.INHERIT,dir:o.INHERIT},O.noInherit={mstyle:{mpadded:{width:!0,height:!0,depth:!0,lspace:!0,voffset:!0},mtable:{width:!0,height:!0,depth:!0,align:!0}},maligngroup:{mrow:{groupalign:!0},mtable:{groupalign:!0}}},O.verifyDefaults={checkArity:!0,checkAttributes:!1,fullErrors:!1,fixMmultiscripts:!0,fixMtables:!0},O);function O(t,e,r){void 0===e&&(e={}),void 0===r&&(r=[]);var n=c.call(this,t)||this;return n.texClass=null,n.prevClass=null,n.prevLevel=null,n.arity<0&&(n.childNodes=[t.create("inferredMrow")],n.childNodes[0].parent=n),n.setChildren(r),n.attributes=new o.Attributes(t.getNodeClass(n.kind).defaults,t.getNodeClass("math").defaults),n.attributes.setList(e),n}a.AbstractMmlNode=p;var f,h=(r(M,f=p),Object.defineProperty(M.prototype,"isToken",{get:function(){return!0},enumerable:!0,configurable:!0}),M.prototype.getText=function(){var e,t,r="";try{for(var n=d(this.childNodes),o=n.next();!o.done;o=n.next()){var i=o.value;i instanceof A&&(r+=i.getText())}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},M.prototype.setChildInheritedAttributes=function(t,e,r,n){var o,i;try{for(var s=d(this.childNodes),a=s.next();!a.done;a=s.next()){var l=a.value;l instanceof p&&l.setInheritedAttributes(t,e,r,n)}}catch(t){o={error:t}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}},M.prototype.walkTree=function(t,e){var r,n;t(this,e);try{for(var o=d(this.childNodes),i=o.next();!i.done;i=o.next()){var s=i.value;s instanceof p&&s.walkTree(t,e)}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return e},M.defaults=l(l({},p.defaults),{mathvariant:"normal",mathsize:o.INHERIT}),M);function M(){return null!==f&&f.apply(this,arguments)||this}a.AbstractMmlTokenNode=h;var E,b=(r(v,E=p),Object.defineProperty(v.prototype,"isSpacelike",{get:function(){return this.childNodes[0].isSpacelike},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"isEmbellished",{get:function(){return this.childNodes[0].isEmbellished},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"arity",{get:function(){return-1},enumerable:!0,configurable:!0}),v.prototype.core=function(){return this.childNodes[0]},v.prototype.coreMO=function(){return this.childNodes[0].coreMO()},v.prototype.setTeXclass=function(t){return t=this.childNodes[0].setTeXclass(t),this.updateTeXclass(this.childNodes[0]),t},v.defaults=p.defaults,v);function v(){return null!==E&&E.apply(this,arguments)||this}a.AbstractMmlLayoutNode=b;var m,g=(r(L,m=p),Object.defineProperty(L.prototype,"isEmbellished",{get:function(){return this.childNodes[0].isEmbellished},enumerable:!0,configurable:!0}),L.prototype.core=function(){return this.childNodes[0]},L.prototype.coreMO=function(){return this.childNodes[0].coreMO()},L.prototype.setTeXclass=function(t){var e,r;this.getPrevClass(t),this.texClass=a.TEXCLASS.ORD;var n=this.childNodes[0];n?this.isEmbellished||n.isKind("mi")?(t=n.setTeXclass(t),this.updateTeXclass(this.core())):(n.setTeXclass(null),t=this):t=this;try{for(var o=d(this.childNodes.slice(1)),i=o.next();!i.done;i=o.next()){var s=i.value;s&&s.setTeXclass(null)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return t},L.defaults=p.defaults,L);function L(){return null!==m&&m.apply(this,arguments)||this}a.AbstractMmlBaseNode=g;var R,N=(R=i.AbstractEmptyNode,r(T,R),Object.defineProperty(T.prototype,"isToken",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"isEmbellished",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"isSpacelike",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"linebreakContainer",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"hasNewLine",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"arity",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"isInferred",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"notParent",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"Parent",{get:function(){return this.parent},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"texClass",{get:function(){return a.TEXCLASS.NONE},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"prevClass",{get:function(){return a.TEXCLASS.NONE},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"prevLevel",{get:function(){return 0},enumerable:!0,configurable:!0}),T.prototype.hasSpacingAttributes=function(){return!1},Object.defineProperty(T.prototype,"attributes",{get:function(){return null},enumerable:!0,configurable:!0}),T.prototype.core=function(){return this},T.prototype.coreMO=function(){return this},T.prototype.coreIndex=function(){return 0},T.prototype.childPosition=function(){return 0},T.prototype.setTeXclass=function(t){return t},T.prototype.texSpacing=function(){return""},T.prototype.setInheritedAttributes=function(t,e,r,n){},T.prototype.inheritAttributesFrom=function(t){},T.prototype.verifyTree=function(t){},T.prototype.mError=function(t,e,r){void 0===r&&(r=!1)},T);function T(){return null!==R&&R.apply(this,arguments)||this}a.AbstractMmlEmptyNode=N;var _,A=(r(S,_=N),Object.defineProperty(S.prototype,"kind",{get:function(){return"text"},enumerable:!0,configurable:!0}),S.prototype.getText=function(){return this.text},S.prototype.setText=function(t){return this.text=t,this},S.prototype.toString=function(){return this.text},S);function S(){var t=null!==_&&_.apply(this,arguments)||this;return t.text="",t}a.TextNode=A;var C,I=(r(x,C=N),Object.defineProperty(x.prototype,"kind",{get:function(){return"XML"},enumerable:!0,configurable:!0}),x.prototype.getXML=function(){return this.xml},x.prototype.setXML=function(t,e){return void 0===e&&(e=null),this.xml=t,this.adaptor=e,this},x.prototype.getSerializedXML=function(){return this.adaptor.outerHTML(this.xml)},x.prototype.toString=function(){return"XML data"},x);function x(){var t=null!==C&&C.apply(this,arguments)||this;return t.xml=null,t.adaptor=null,t}a.XMLNode=I},function(t,l,e){"use strict";var O=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},r=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},u=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(r(arguments[e]));return t};Object.defineProperty(l,"__esModule",{value:!0});var n={}.constructor;function c(t){return"object"==typeof t&&null!==t&&(t.constructor===n||t.constructor===p)}l.APPEND="[+]",l.REMOVE="[-]";var p=function(){};function f(t){return Object.assign(Object.create(p.prototype),t)}function h(t){return t?Object.keys(t).concat(Object.getOwnPropertySymbols(t)):[]}function d(t){var e,r,n={};try{for(var o=O(h(t)),i=o.next();!i.done;i=o.next()){var s=i.value,a=Object.getOwnPropertyDescriptor(t,s),l=a.value;Array.isArray(l)?a.value=y([],l,!1):c(l)&&(a.value=d(l)),a.enumerable&&(n[s]=a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return Object.defineProperties(t.constructor===p?f({}):{},n)}function y(o,i,s){var e,t;void 0===s&&(s=!0);function r(t){if(s&&void 0===o[t]&&o.constructor!==p)throw"symbol"==typeof t&&(t=t.toString()),new Error('Invalid option "'+t+'" (no default value).');var e=i[t],r=o[t];if(!c(e)||null===r||"object"!=typeof r&&"function"!=typeof r)Array.isArray(e)?(o[t]=[],y(o[t],e,!1)):c(e)?o[t]=d(e):o[t]=e;else{var n=h(e);Array.isArray(r)&&(1===n.length&&(n[0]===l.APPEND||n[0]===l.REMOVE)&&Array.isArray(e[n[0]])||2===n.length&&n.sort().join(",")===l.APPEND+","+l.REMOVE&&Array.isArray(e[l.APPEND])&&Array.isArray(e[l.REMOVE]))?(e[l.REMOVE]&&(r=o[t]=r.filter(function(t){return e[l.REMOVE].indexOf(t)<0})),e[l.APPEND]&&(o[t]=u(r,e[l.APPEND]))):y(r,e,s)}}try{for(var n=O(h(i)),a=n.next();!a.done;a=n.next()){r(a.value)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return o}function o(t){for(var e,r,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i={};try{for(var s=O(n),a=s.next();!a.done;a=s.next()){var l=a.value;t.hasOwnProperty(l)&&(i[l]=t[l])}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}return i}l.Expandable=p,l.expandable=f,l.makeArray=function(t){return Array.isArray(t)?t:[t]},l.keys=h,l.copy=d,l.insert=y,l.defaultOptions=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.forEach(function(t){return y(e,t,!1)}),e},l.userOptions=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.forEach(function(t){return y(e,t,!0)}),e},l.selectOptions=o,l.selectOptionsFromKeys=function(t,e){return o.apply(void 0,u([t],Object.keys(e)))},l.separateOptions=function(t){for(var e,r,n,o,i=[],s=1;s<arguments.length;s++)i[s-1]=arguments[s];var a=[];try{for(var l=O(i),u=l.next();!u.done;u=l.next()){var c=u.value,p={},f={};try{for(var h=(n=void 0,O(Object.keys(t||{}))),d=h.next();!d.done;d=h.next()){var y=d.value;(void 0===c[y]?f:p)[y]=t[y]}}catch(t){n={error:t}}finally{try{d&&!d.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}a.push(p),t=f}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}return a.unshift(t),a}},function(t,r,e){"use strict";var l=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.INHERIT="_inherit_";var n=(o.prototype.set=function(t,e){this.attributes[t]=e},o.prototype.setList=function(t){Object.assign(this.attributes,t)},o.prototype.get=function(t){var e=this.attributes[t];return e===r.INHERIT&&(e=this.global[t]),e},o.prototype.getExplicit=function(t){if(this.attributes.hasOwnProperty(t))return this.attributes[t]},o.prototype.getList=function(){for(var e,t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o={};try{for(var i=l(r),s=i.next();!s.done;s=i.next()){var a=s.value;o[a]=this.get(a)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return o},o.prototype.setInherited=function(t,e){this.inherited[t]=e},o.prototype.getInherited=function(t){return this.inherited[t]},o.prototype.getDefault=function(t){return this.defaults[t]},o.prototype.isSet=function(t){return this.attributes.hasOwnProperty(t)||this.inherited.hasOwnProperty(t)},o.prototype.hasDefault=function(t){return t in this.defaults},o.prototype.getExplicitNames=function(){return Object.keys(this.attributes)},o.prototype.getInheritedNames=function(){return Object.keys(this.inherited)},o.prototype.getDefaultNames=function(){return Object.keys(this.defaults)},o.prototype.getGlobalNames=function(){return Object.keys(this.global)},o.prototype.getAllAttributes=function(){return this.attributes},o.prototype.getAllInherited=function(){return this.inherited},o.prototype.getAllDefaults=function(){return this.defaults},o.prototype.getAllGlobals=function(){return this.global},o);function o(t,e){this.global=e,this.defaults=Object.create(e),this.inherited=Object.create(this.defaults),this.attributes=Object.create(this.inherited),Object.assign(this.defaults,t)}r.Attributes=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(o.prototype[Symbol.iterator]=function(){var t=0,e=this.items;return{next:function(){return{value:e[t++],done:t>e.length}}}},o.prototype.add=function(t,e){void 0===e&&(e=o.DEFAULTPRIORITY);for(var r=this.items.length;0<=--r&&e<this.items[r].priority;);return this.items.splice(r+1,0,{item:t,priority:e}),t},o.prototype.remove=function(t){for(var e=this.items.length;0<=--e&&this.items[e].item!==t;);0<=e&&this.items.splice(e,1)},o.prototype.toArray=function(){return Array.from(this)},o.DEFAULTPRIORITY=5,o);function o(){this.items=[],this.items=[]}e.PrioritizedList=n},function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.protoItem=function(t,e,r,n,o,i,s){return void 0===s&&(s=null),{open:t,math:e,close:r,n:n,start:{n:o},end:{n:i},display:s}};var r=(Object.defineProperty(n.prototype,"isEscaped",{get:function(){return null===this.display},enumerable:!0,configurable:!0}),n.prototype.render=function(t){t.renderActions.renderMath(this,t)},n.prototype.rerender=function(t,e){void 0===e&&(e=i.STATE.RERENDER),this.state()>=e&&this.state(e-1),t.renderActions.renderMath(this,t,e)},n.prototype.convert=function(t,e){void 0===e&&(e=i.STATE.LAST),t.renderActions.renderConvert(this,t,e)},n.prototype.compile=function(t){this.state()<i.STATE.COMPILED&&(this.root=this.inputJax.compile(this,t),this.state(i.STATE.COMPILED))},n.prototype.typeset=function(t){this.state()<i.STATE.TYPESET&&(this.typesetRoot=t.outputJax[this.isEscaped?"escaped":"typeset"](this,t),this.state(i.STATE.TYPESET))},n.prototype.updateDocument=function(t){},n.prototype.removeFromDocument=function(t){void 0===t&&(t=!1)},n.prototype.setMetrics=function(t,e,r,n,o){this.metrics={em:t,ex:e,containerWidth:r,lineWidth:n,scale:o}},n.prototype.state=function(t,e){return void 0===t&&(t=null),void 0===e&&(e=!1),null!=t&&(t<i.STATE.INSERTED&&this._state>=i.STATE.INSERTED&&this.removeFromDocument(e),t<i.STATE.TYPESET&&this._state>=i.STATE.TYPESET&&(this.bbox={},this.outputData={}),t<i.STATE.COMPILED&&this._state>=i.STATE.COMPILED&&(this.inputData={}),this._state=t),this._state},n.prototype.reset=function(t){void 0===t&&(t=!1),this.state(i.STATE.UNPROCESSED)},n);function n(t,e,r,n,o){void 0===r&&(r=!0),void 0===n&&(n={i:0,n:0,delim:""}),void 0===o&&(o={i:0,n:0,delim:""}),this.root=null,this.typesetRoot=null,this._state=i.STATE.UNPROCESSED,this.metrics={},this.bbox={},this.inputData={},this.outputData={},this.math=t,this.inputJax=e,this.display=r,this.start=n,this.end=o,this.root=null,this.typesetRoot=null,this.metrics={},this.bbox={},this.inputData={},this.outputData={}}i.AbstractMathItem=r,i.STATE={UNPROCESSED:0,FINDMATH:10,COMPILED:20,CONVERT:100,METRICS:110,RERENDER:125,TYPESET:150,INSERTED:200,LAST:1e4},i.newState=function(t,e){if(t in i.STATE)throw Error("State "+t+" already exists");i.STATE[t]=e}},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i,s=r(23),a=r(60),l=(i=s.AbstractHandler,o(u,i),u.prototype.handlesDocument=function(t){var e=this.adaptor;if("string"==typeof t)try{t=e.parse(t,"text/html")}catch(t){}return t instanceof e.window.Document||t instanceof e.window.HTMLElement||t instanceof e.window.DocumentFragment},u.prototype.create=function(t,e){var r=this.adaptor;if("string"==typeof t)t=r.parse(t,"text/html");else if(t instanceof r.window.HTMLElement||t instanceof r.window.DocumentFragment){var n=t;t=r.parse("","text/html"),r.append(r.body(t),n)}return i.prototype.create.call(this,t,e)},u);function u(){var t=null!==i&&i.apply(this,arguments)||this;return t.documentClass=a.HTMLDocument,t}e.HTMLHandler=l},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},h=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s};Object.defineProperty(e,"__esModule",{value:!0});var i,d=r(1),s=r(24),a=r(25),l=r(8),y=r(4),u=r(9),c=r(57),f=r(3),O=(i=f.PrioritizedList,o(M,i),M.create=function(t){var e,r,n=new this;try{for(var o=p(Object.keys(t)),i=o.next();!i.done;i=o.next()){var s=i.value,a=h(this.action(s,t[s]),2),l=a[0],u=a[1];u&&n.add(l,u)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},M.action=function(t,e){var r,n,o,i,s,a,l=!0,u=e[0];if(1===e.length||"boolean"==typeof e[1])2===e.length&&(l=e[1]),s=(r=h(this.methodActions(t),2))[0],a=r[1];else if("string"==typeof e[1])if("string"==typeof e[2]){4===e.length&&(l=e[3]);var c=h(e.slice(1),2),p=c[0],f=c[1];s=(n=h(this.methodActions(p,f),2))[0],a=n[1]}else 3===e.length&&(l=e[2]),s=(o=h(this.methodActions(e[1]),2))[0],a=o[1];else 4===e.length&&(l=e[3]),s=(i=h(e.slice(1),2))[0],a=i[1];return[{id:t,renderDoc:s,renderMath:a,convert:l},u]},M.methodActions=function(e,r){return void 0===r&&(r=e),[function(t){return e&&t[e](),!1},function(t,e){return r&&t[r](e),!1}]},M.prototype.renderDoc=function(t,e){var r,n;void 0===e&&(e=y.STATE.UNPROCESSED);try{for(var o=p(this.items),i=o.next();!i.done;i=o.next()){var s=i.value;if(s.priority>=e&&s.item.renderDoc(t))return}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},M.prototype.renderMath=function(t,e,r){var n,o;void 0===r&&(r=y.STATE.UNPROCESSED);try{for(var i=p(this.items),s=i.next();!s.done;s=i.next()){var a=s.value;if(a.priority>=r&&a.item.renderMath(t,e))return}}catch(t){n={error:t}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}},M.prototype.renderConvert=function(t,e,r){var n,o;void 0===r&&(r=y.STATE.LAST);try{for(var i=p(this.items),s=i.next();!s.done;s=i.next()){var a=s.value;if(a.priority>r)return;if(a.item.convert&&a.item.renderMath(t,e))return}}catch(t){n={error:t}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}},M.prototype.findID=function(t){var e,r;try{for(var n=p(this.items),o=n.next();!o.done;o=n.next()){var i=o.value;if(i.item.id===t)return i.item}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},M);function M(){return null!==i&&i.apply(this,arguments)||this}e.RenderList=O;var E,b=(E=s.AbstractInputJax,o(v,E),v.prototype.compile=function(t){return null},v);function v(){return null!==E&&E.apply(this,arguments)||this}var m,g=(m=a.AbstractOutputJax,o(L,m),L.prototype.typeset=function(t,e){return void 0===e&&(e=null),null},L.prototype.escaped=function(t,e){return null},L);function L(){return null!==m&&m.apply(this,arguments)||this}var R,N=(R=l.AbstractMathList,o(T,R),T);function T(){return null!==R&&R.apply(this,arguments)||this}var _,A=(_=y.AbstractMathItem,o(S,_),S);function S(){return null!==_&&_.apply(this,arguments)||this}var C=(Object.defineProperty(I.prototype,"kind",{get:function(){return this.constructor.KIND},enumerable:!0,configurable:!0}),I.prototype.addRenderAction=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=h(O.action(t,e),2),o=n[0],i=n[1];this.renderActions.add(o,i)},I.prototype.removeRenderAction=function(t){var e=this.renderActions.findID(t);e&&this.renderActions.remove(e)},I.prototype.render=function(){return this.renderActions.renderDoc(this),this},I.prototype.rerender=function(t){return void 0===t&&(t=y.STATE.RERENDER),this.state(t-1),this.render(),this},I.prototype.convert=function(t,e){void 0===e&&(e={});var r=d.userOptions({format:this.inputJax[0].name,display:!0,end:y.STATE.LAST,em:16,ex:8,containerWidth:null,lineWidth:1e6,scale:1},e),n=r.format,o=r.display,i=r.end,s=r.ex,a=r.em,l=r.containerWidth,u=r.lineWidth,c=r.scale;null===l&&(l=80*s);var p=this.inputJax.reduce(function(t,e){return e.name===n?e:t},null),f=new this.options.MathItem(t,p,o);return f.start.node=this.adaptor.body(this.document),f.setMetrics(a,s,l,u,c),f.convert(this,i),f.typesetRoot||f.root},I.prototype.findMath=function(t){return void 0===t&&(t=null),this.processed.set("findMath"),this},I.prototype.compile=function(){var e,t,r,n;if(!this.processed.isSet("compile")){var o=[];try{for(var i=p(this.math),s=i.next();!s.done;s=i.next()){var a=s.value;this.compileMath(a),void 0!==a.inputData.recompile&&o.push(a)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}try{for(var l=p(o),u=l.next();!u.done;u=l.next()){var c=(a=u.value).inputData.recompile;a.state(c.state),a.inputData.recompile=c,this.compileMath(a)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}this.processed.set("compile")}return this},I.prototype.compileMath=function(e){try{e.compile(this)}catch(t){if(t.retry||t.restart)throw t;this.options.compileError(this,e,t),e.inputData.error=t}},I.prototype.compileError=function(t,e){t.root=this.mmlFactory.create("math",null,[this.mmlFactory.create("merror",{"data-mjx-error":e.message},[this.mmlFactory.create("mtext",null,[this.mmlFactory.create("text").setText("Math input error")])])]),t.display&&t.root.attributes.set("display","block")},I.prototype.typeset=function(){var e,t;if(!this.processed.isSet("typeset")){try{for(var r=p(this.math),n=r.next();!n.done;n=r.next()){var o=n.value;try{o.typeset(this)}catch(t){if(t.retry||t.restart)throw t;this.options.typesetError(this,o,t),o.outputData.error=t}}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this.processed.set("typeset")}return this},I.prototype.typesetError=function(t,e){t.typesetRoot=this.adaptor.node("span",{"data-mjx-error":e.message},[this.adaptor.text("Math output error")])},I.prototype.getMetrics=function(){return this.processed.isSet("getMetrics")||(this.outputJax.getMetrics(this),this.processed.set("getMetrics")),this},I.prototype.updateDocument=function(){var e,t;if(!this.processed.isSet("updateDocument")){try{for(var r=p(this.math.reversed()),n=r.next();!n.done;n=r.next())n.value.updateDocument(this)}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this.processed.set("updateDocument")}return this},I.prototype.removeFromDocument=function(t){return void 0===t&&(t=!1),this},I.prototype.state=function(t,e){var r,n;void 0===e&&(e=!1);try{for(var o=p(this.math),i=o.next();!i.done;i=o.next())i.value.state(t,e)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return t<y.STATE.INSERTED&&this.processed.clear("updateDocument"),t<y.STATE.TYPESET&&(this.processed.clear("typeset"),this.processed.clear("getMetrics")),t<y.STATE.COMPILED&&this.processed.clear("compile"),this},I.prototype.reset=function(){return this.processed.reset(),this},I.prototype.clear=function(){return this.reset(),this.math.clear(),this},I.prototype.concat=function(t){return this.math.merge(t),this},I.KIND="MathDocument",I.OPTIONS={OutputJax:null,InputJax:null,MmlFactory:null,MathList:N,MathItem:A,compileError:function(t,e,r){t.compileError(e,r)},typesetError:function(t,e,r){t.typesetError(e,r)},renderActions:d.expandable({find:[y.STATE.FINDMATH,"findMath","",!1],compile:[y.STATE.COMPILED],metrics:[y.STATE.METRICS,"getMetrics","",!1],typeset:[y.STATE.TYPESET],update:[y.STATE.INSERTED,"updateDocument",!1]})},I.ProcessBits=c.BitFieldClass("findMath","compile","getMetrics","typeset","updateDocument"),I);function I(t,e,r){var n=this,o=this.constructor;this.document=t,this.options=d.userOptions(d.defaultOptions({},o.OPTIONS),r),this.math=new(this.options.MathList||N),this.renderActions=O.create(this.options.renderActions),this.processed=new I.ProcessBits,this.outputJax=this.options.OutputJax||new g;var i=this.options.InputJax||[new b];Array.isArray(i)||(i=[i]),this.inputJax=i,this.adaptor=e,this.outputJax.setAdaptor(e),this.inputJax.map(function(t){return t.setAdaptor(e)}),this.mmlFactory=this.options.MmlFactory||new u.MmlFactory,this.inputJax.map(function(t){return t.setMmlFactory(n.mmlFactory)}),this.outputJax.initialize(),this.inputJax.map(function(t){return t.initialize()})}e.AbstractMathDocument=C},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},l=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(i(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var s,u=r(3),c=(s=u.PrioritizedList,o(p,s),p.prototype.execute=function(){for(var e,t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{for(var o=a(this),i=o.next();!i.done;i=o.next()){var s=i.value;if(!1===s.item.apply(s,l(r)))return!1}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return!0},p.prototype.asyncExecute=function(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];var s=-1,a=this.items;return new Promise(function(n,o){!function t(){for(var e;++s<a.length;){var r=(e=a[s]).item.apply(e,l(i));if(r instanceof Promise)return void r.then(t).catch(function(t){return o(t)});if(!1===r)return void n(!1)}n(!0)}()})},p);function p(){return null!==s&&s.apply(this,arguments)||this}e.FunctionList=c},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i,s=r(26),a=(i=s.LinkedList,o(l,i),l.prototype.isBefore=function(t,e){return t.start.i<e.start.i||t.start.i===e.start.i&&t.start.n<e.start.n},l);function l(){return null!==i&&i.apply(this,arguments)||this}e.AbstractMathList=a},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i,s=r(27),a=r(28),l=(i=s.AbstractNodeFactory,o(u,i),Object.defineProperty(u.prototype,"MML",{get:function(){return this.node},enumerable:!0,configurable:!0}),u.defaultNodes=a.MML,u);function u(){return null!==i&&i.apply(this,arguments)||this}e.MmlFactory=l},function(t,e,r){"use strict";var s=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},n=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},o=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(n(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var i=(a.prototype.create=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return(this.node[t]||this.node[this.defaultKind]).apply(void 0,o(e))},a.prototype.setNodeClass=function(t,e){this.nodeMap.set(t,e);var r=this,n=this.nodeMap.get(t);this.node[t]=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return new(n.bind.apply(n,o([void 0,r],t)))}},a.prototype.getNodeClass=function(t){return this.nodeMap.get(t)},a.prototype.deleteNodeClass=function(t){this.nodeMap.delete(t),delete this.node[t]},a.prototype.nodeIsKind=function(t,e){return t instanceof this.getNodeClass(e)},a.prototype.getKinds=function(){return Array.from(this.nodeMap.keys())},a.defaultNodes={},a);function a(t){var e,r;void 0===t&&(t=null),this.defaultKind="unknown",this.nodeMap=new Map,this.node={},null===t&&(t=this.constructor.defaultNodes);try{for(var n=s(Object.keys(t)),o=n.next();!o.done;o=n.next()){var i=o.value;this.setNodeClass(i,t[i])}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}}e.AbstractFactory=i},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),l=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var i=(Object.defineProperty(s.prototype,"factory",{get:function(){return this._factory},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"kind",{get:function(){return"unknown"},enumerable:!0,configurable:!0}),s.prototype.setProperty=function(t,e){this.properties[t]=e},s.prototype.getProperty=function(t){return this.properties[t]},s.prototype.getPropertyNames=function(){return Object.keys(this.properties)},s.prototype.getAllProperties=function(){return this.properties},s.prototype.removeProperty=function(){for(var e,t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{for(var o=l(r),i=o.next();!i.done;i=o.next()){var s=i.value;delete this.properties[s]}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}},s.prototype.isKind=function(t){return this.factory.nodeIsKind(this,t)},s.prototype.setChildren=function(t){var e,r;this.childNodes=[];try{for(var n=l(t),o=n.next();!o.done;o=n.next()){var i=o.value;this.appendChild(i)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},s.prototype.appendChild=function(t){return this.childNodes.push(t),t.parent=this,t},s.prototype.replaceChild=function(t,e){var r=this.childIndex(e);return null!==r&&((this.childNodes[r]=t).parent=this),t},s.prototype.childIndex=function(t){var e=this.childNodes.indexOf(t);return-1===e?null:e},s.prototype.findNodes=function(e){var r=[];return this.walkTree(function(t){t.isKind(e)&&r.push(t)}),r},s.prototype.walkTree=function(t,e){var r,n;t(this,e);try{for(var o=l(this.childNodes),i=o.next();!i.done;i=o.next()){var s=i.value;s&&s.walkTree(t,e)}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return e},s.prototype.toString=function(){return this.kind+"("+this.childNodes.join(",")+")"},s);function s(t,e,r){var n,o;void 0===e&&(e={}),void 0===r&&(r=[]),this.parent=null,this.properties={},this._factory=null,this.childNodes=[],this._factory=t;try{for(var i=l(Object.keys(e)),s=i.next();!s.done;s=i.next()){var a=s.value;this.setProperty(a,e[a])}}catch(t){n={error:t}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}r.length&&this.setChildren(r)}e.AbstractNode=i;var a,u=(o(c,a=i),c.prototype.setChildren=function(t){},c.prototype.appendChild=function(t){return t},c.prototype.replaceChild=function(t,e){return e},c.prototype.childIndex=function(t){return null},c.prototype.walkTree=function(t,e){return t(this,e),e},c.prototype.toString=function(){return this.kind},c);function c(){return null!==a&&a.apply(this,arguments)||this}e.AbstractEmptyNode=u},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlTokenNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"mi"},enumerable:!0,configurable:!0}),u.prototype.setInheritedAttributes=function(t,e,r,n){void 0===t&&(t={}),void 0===e&&(e=!1),void 0===r&&(r=0),void 0===n&&(n=!1),s.prototype.setInheritedAttributes.call(this,t,e,r,n),this.getText().match(u.singleCharacter)&&!t.mathvariant&&this.attributes.setInherited("mathvariant","italic")},u.prototype.setTeXclass=function(t){this.getPrevClass(t);var e=this.getText();return 1<e.length&&e.match(u.operatorName)&&this.texClass===a.TEXCLASS.ORD&&(this.texClass=a.TEXCLASS.OP,this.setProperty("autoOP",!0)),this},u.defaults=i({},a.AbstractMmlTokenNode.defaults),u.operatorName=/^[a-z][a-z0-9]*$/i,u.singleCharacter=/^[\uD800-\uDBFF]?.$/,u);function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texClass=a.TEXCLASS.ORD,t}e.MmlMi=l},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},E=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},b=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var v,a=r(0),s=r(31),l=(v=a.AbstractMmlTokenNode,o(u,v),Object.defineProperty(u.prototype,"texClass",{get:function(){if(null!==this._texClass)return this._texClass;var t=this.getText(),e=E(this.handleExplicitForm(this.getForms()),3),r=e[0],n=e[1],o=e[2],i=this.constructor.OPTABLE,s=i[r][t]||i[n][t]||i[o][t];return s?s[2]:a.TEXCLASS.REL},set:function(t){this._texClass=t},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"kind",{get:function(){return"mo"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"isEmbellished",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"hasNewLine",{get:function(){return"newline"===this.attributes.get("linebreak")},enumerable:!0,configurable:!0}),u.prototype.coreParent=function(){for(var t=this,e=this,r=this.factory.getNodeClass("math");e&&e.isEmbellished&&e.coreMO()===this&&!(e instanceof r);)e=(t=e).Parent;return t},u.prototype.coreText=function(t){if(!t)return"";if(t.isEmbellished)return t.coreMO().getText();for(;((t.isKind("mrow")||t.isKind("TeXAtom")||t.isKind("mstyle")||t.isKind("mphantom"))&&1===t.childNodes.length||t.isKind("munderover"))&&t.childNodes[0];)t=t.childNodes[0];return t.isToken?t.getText():""},u.prototype.hasSpacingAttributes=function(){return this.attributes.isSet("lspace")||this.attributes.isSet("rspace")},Object.defineProperty(u.prototype,"isAccent",{get:function(){var t=!1,e=this.coreParent().parent;if(e){var r=e.isKind("mover")?e.childNodes[e.over].coreMO()?"accent":"":e.isKind("munder")?e.childNodes[e.under].coreMO()?"accentunder":"":e.isKind("munderover")?this===e.childNodes[e.over].coreMO()?"accent":this===e.childNodes[e.under].coreMO()?"accentunder":"":"";r&&(t=void 0!==e.attributes.getExplicit(r)?t:this.attributes.get("accent"))}return t},enumerable:!0,configurable:!0}),u.prototype.setTeXclass=function(t){var e=this.attributes.getList("form","fence"),r=e.form,n=e.fence;return void 0===this.getProperty("texClass")&&(this.attributes.isSet("lspace")||this.attributes.isSet("rspace"))?(this.texClass=a.TEXCLASS.NONE,null):(n&&this.texClass===a.TEXCLASS.REL&&("prefix"===r&&(this.texClass=a.TEXCLASS.OPEN),"postfix"===r&&(this.texClass=a.TEXCLASS.CLOSE)),"\u2061"===this.getText()?(t&&(t.texClass=a.TEXCLASS.OP,t.setProperty("fnOP",!0)),this.texClass=this.prevClass=a.TEXCLASS.NONE,t):this.adjustTeXclass(t))},u.prototype.adjustTeXclass=function(t){var e=this.texClass,r=this.prevClass;if(e===a.TEXCLASS.NONE)return t;if(t?(!t.getProperty("autoOp")||e!==a.TEXCLASS.BIN&&e!==a.TEXCLASS.REL||(e=this.texClass=a.TEXCLASS.ORD),r=this.prevClass=t.texClass||a.TEXCLASS.ORD,this.prevLevel=this.attributes.getInherited("scriptlevel")):r=this.prevClass=a.TEXCLASS.NONE,e!==a.TEXCLASS.BIN||r!==a.TEXCLASS.NONE&&r!==a.TEXCLASS.BIN&&r!==a.TEXCLASS.OP&&r!==a.TEXCLASS.REL&&r!==a.TEXCLASS.OPEN&&r!==a.TEXCLASS.PUNCT)if(r!==a.TEXCLASS.BIN||e!==a.TEXCLASS.REL&&e!==a.TEXCLASS.CLOSE&&e!==a.TEXCLASS.PUNCT){if(e===a.TEXCLASS.BIN){for(var n=this,o=this.parent;o&&o.parent&&o.isEmbellished&&(1===o.childNodes.length||!o.isKind("mrow")&&o.core()===n);)o=(n=o).parent;o.childNodes[o.childNodes.length-1]===n&&(this.texClass=a.TEXCLASS.ORD)}}else t.texClass=this.prevClass=a.TEXCLASS.ORD;else this.texClass=a.TEXCLASS.ORD;return this},u.prototype.setInheritedAttributes=function(t,e,r,n){var o,i;void 0===t&&(t={}),void 0===e&&(e=!1),void 0===r&&(r=0),void 0===n&&(n=!1),v.prototype.setInheritedAttributes.call(this,t,e,r,n);var s=this.getText(),a=E(this.handleExplicitForm(this.getForms()),3),l=a[0],u=a[1],c=a[2];this.attributes.setInherited("form",l);var p=this.constructor.OPTABLE,f=p[l][s]||p[u][s]||p[c][s];if(f){void 0===this.getProperty("texClass")&&(this.texClass=f[2]);try{for(var h=b(Object.keys(f[3]||{})),d=h.next();!d.done;d=h.next()){var y=d.value;this.attributes.setInherited(y,f[3][y])}}catch(t){o={error:t}}finally{try{d&&!d.done&&(i=h.return)&&i.call(h)}finally{if(o)throw o.error}}this.lspace=(f[0]+1)/18,this.rspace=(f[1]+1)/18}else{var O=this.getRange(s);if(O){void 0===this.getProperty("texClass")&&(this.texClass=O[2]);var M=this.constructor.MMLSPACING[O[2]];this.lspace=(M[0]+1)/18,this.rspace=(M[1]+1)/18}}},u.prototype.getForms=function(){for(var t=this,e=this.parent,r=this.Parent;r&&r.isEmbellished;)t=e,e=r.parent,r=r.Parent;if(e&&e.isKind("mrow")&&1!==e.nonSpaceLength()){if(e.firstNonSpace()===t)return["prefix","infix","postfix"];if(e.lastNonSpace()===t)return["postfix","infix","prefix"]}return["infix","prefix","postfix"]},u.prototype.handleExplicitForm=function(t){if(this.attributes.isSet("form")){var e=this.attributes.get("form");t=[e].concat(t.filter(function(t){return t!==e}))}return t},u.prototype.getRange=function(t){var e,r;if(!t.match(/^[\uD800-\uDBFF]?.$/))return null;var n=t.charCodeAt(0);2===t.length&&(n=1024*(n-55296)+t.charCodeAt(1)-56320+65536);var o=this.constructor.RANGES;try{for(var i=b(o),s=i.next();!s.done;s=i.next()){var a=s.value;if(a[0]<=n&&n<=a[1])return a;if(n<a[0])return null}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return null},u.defaults=i(i({},a.AbstractMmlTokenNode.defaults),{form:"infix",fence:!1,separator:!1,lspace:"thickmathspace",rspace:"thickmathspace",stretchy:!1,symmetric:!1,maxsize:"infinity",minsize:"0em",largeop:!1,movablelimits:!1,accent:!1,linebreak:"auto",lineleading:"1ex",linebreakstyle:"before",indentalign:"auto",indentshift:"0",indenttarget:"",indentalignfirst:"indentalign",indentshiftfirst:"indentshift",indentalignlast:"indentalign",indentshiftlast:"indentshift"}),u.RANGES=s.RANGES,u.MMLSPACING=s.MMLSPACING,u.OPTABLE=s.OPTABLE,u);function u(){var t=null!==v&&v.apply(this,arguments)||this;return t._texClass=null,t.lspace=5/18,t.rspace=5/18,t}e.MmlMo=l},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlBaseNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"msubsup"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"arity",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"base",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"sub",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"sup",{get:function(){return 2},enumerable:!0,configurable:!0}),u.prototype.setChildInheritedAttributes=function(t,e,r,n){var o=this.childNodes;o[0].setInheritedAttributes(t,e,r,n),o[1].setInheritedAttributes(t,!1,r+1,n||1===this.sub),o[2]&&o[2].setInheritedAttributes(t,!1,r+1,n||2===this.sub)},u.defaults=i(i({},a.AbstractMmlBaseNode.defaults),{subscriptshift:"",superscriptshift:""}),u);function u(){return null!==s&&s.apply(this,arguments)||this}e.MmlMsubsup=l;var c,p=(o(f,c=l),Object.defineProperty(f.prototype,"kind",{get:function(){return"msub"},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"arity",{get:function(){return 2},enumerable:!0,configurable:!0}),f.defaults=i({},l.defaults),f);function f(){return null!==c&&c.apply(this,arguments)||this}e.MmlMsub=p;var h,d=(o(y,h=l),Object.defineProperty(y.prototype,"kind",{get:function(){return"msup"},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"arity",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"sup",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"sub",{get:function(){return 2},enumerable:!0,configurable:!0}),y.defaults=i({},l.defaults),y);function y(){return null!==h&&h.apply(this,arguments)||this}e.MmlMsup=d},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sortLength=function(t,e){return t.length!==e.length?e.length-t.length:t===e?0:t<e?-1:1},e.quotePattern=function(t){return t.replace(/([\^$(){}+*?\-|\[\]\:\\])/g,"\\$1")},e.unicodeChars=function(t){for(var e=[],r=0,n=t.length;r<n;r++){var o=t.charCodeAt(r);55296<=o&&o<56319&&(o=(o-55296<<10)+(t.charCodeAt(++r)-56320)+65536),e.push(o)}return e},e.isPercent=function(t){return!!t.match(/%\s*$/)},e.split=function(t){return t.trim().split(/\s+/)}},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i,s=r(9),a=r(59),l=(i=a.AbstractVisitor,o(u,i),u.prototype.visitTextNode=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r]},u.prototype.visitXMLNode=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r]},u);function u(t){void 0===t&&(t=null);return t=t||new s.MmlFactory,i.call(this,t)||this}e.MmlVisitor=l},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e(58),o=e(18);r.mathjax={version:"3.0.5",handlers:new n.HandlerList,document:function(t,e){return r.mathjax.handlers.document(t,e)},handleRetriesFor:o.handleRetriesFor,retryAfter:o.retryAfter,asyncLoad:null}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.handleRetriesFor=function(t){return new Promise(function e(r,n){try{r(t())}catch(t){t.retry&&t.retry instanceof Promise?t.retry.then(function(){return e(r,n)}).catch(function(t){return n(t)}):t.restart&&t.restart.isCallback?MathJax.Callback.After(function(){return e(r,n)},t.restart):n(t)}})},e.retryAfter=function(t){var e=new Error("MathJax retry");throw e.retry=t,e}},function(t,e,r){"use strict";(function(t){var u=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};function c(t){return"object"==typeof t&&null!==t}function a(t,e){var r,n;try{for(var o=u(Object.keys(e)),i=o.next();!i.done;i=o.next()){var s=i.value;"__esModule"!==s&&(!c(t[s])||!c(e[s])||e[s]instanceof Promise?null!==e[s]&&void 0!==e[s]&&(t[s]=e[s]):a(t[s],e[s]))}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return t}Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=c,e.combineConfig=a,e.combineDefaults=function t(e,r,n){var o,i;e[r]||(e[r]={}),e=e[r];try{for(var s=u(Object.keys(n)),a=s.next();!a.done;a=s.next()){var l=a.value;c(e[l])&&c(n[l])?t(e,l,n[l]):null==e[l]&&null!=n[l]&&(e[l]=n[l])}}catch(t){o={error:t}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return e},e.combineWithMathJax=function(t){return a(e.MathJax,t)},void 0===t.MathJax&&(t.MathJax={}),t.MathJax.version||(t.MathJax={version:"3.0.5",_:{},config:t.MathJax}),e.MathJax=t.MathJax}).call(this,r(75))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(21);e.browserAdaptor=function(){return new n.HTMLAdaptor(window)}},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),l=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var i,s=r(22),a=(i=s.AbstractDOMAdaptor,o(u,i),u.prototype.parse=function(t,e){return void 0===e&&(e="text/html"),this.parser.parseFromString(t,e)},u.prototype.create=function(t,e){return e?this.document.createElementNS(e,t):this.document.createElement(t)},u.prototype.text=function(t){return this.document.createTextNode(t)},u.prototype.head=function(t){return t.head},u.prototype.body=function(t){return t.body},u.prototype.root=function(t){return t.documentElement},u.prototype.tags=function(t,e,r){void 0===r&&(r=null);var n=r?t.getElementsByTagNameNS(r,e):t.getElementsByTagName(e);return Array.from(n)},u.prototype.getElements=function(t,e){var r,n,o=[];try{for(var i=l(t),s=i.next();!s.done;s=i.next()){var a=s.value;"string"==typeof a?o=o.concat(Array.from(this.document.querySelectorAll(a))):Array.isArray(a)||a instanceof this.window.NodeList||a instanceof this.window.HTMLCollection?o=o.concat(Array.from(a)):o.push(a)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o},u.prototype.parent=function(t){return t.parentNode},u.prototype.append=function(t,e){return t.appendChild(e)},u.prototype.insert=function(t,e){return this.parent(e).insertBefore(t,e)},u.prototype.remove=function(t){return this.parent(t).removeChild(t)},u.prototype.replace=function(t,e){return this.parent(e).replaceChild(t,e)},u.prototype.clone=function(t){return t.cloneNode(!0)},u.prototype.split=function(t,e){return t.splitText(e)},u.prototype.next=function(t){return t.nextSibling},u.prototype.previous=function(t){return t.previousSibling},u.prototype.firstChild=function(t){return t.firstChild},u.prototype.lastChild=function(t){return t.lastChild},u.prototype.childNodes=function(t){return Array.from(t.childNodes)},u.prototype.childNode=function(t,e){return t.childNodes[e]},u.prototype.kind=function(t){return t.nodeName.toLowerCase()},u.prototype.value=function(t){return t.nodeValue||""},u.prototype.textContent=function(t){return t.textContent},u.prototype.innerHTML=function(t){return t.innerHTML},u.prototype.outerHTML=function(t){return t.outerHTML},u.prototype.setAttribute=function(t,e,r,n){return void 0===n&&(n=null),n?(e=n.replace(/.*\//,"")+":"+e.replace(/^.*:/,""),t.setAttributeNS(n,e,r)):t.setAttribute(e,r)},u.prototype.getAttribute=function(t,e){return t.getAttribute(e)},u.prototype.removeAttribute=function(t,e){return t.removeAttribute(e)},u.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},u.prototype.allAttributes=function(t){return Array.from(t.attributes).map(function(t){return{name:t.name,value:t.value}})},u.prototype.addClass=function(t,e){t.classList.add(e)},u.prototype.removeClass=function(t,e){return t.classList.remove(e)},u.prototype.hasClass=function(t,e){return t.classList.contains(e)},u.prototype.setStyle=function(t,e,r){t.style[e]=r},u.prototype.getStyle=function(t,e){return t.style[e]},u.prototype.allStyles=function(t){return t.style.cssText},u.prototype.fontSize=function(t){var e=this.window.getComputedStyle(t);return parseFloat(e.fontSize)},u.prototype.nodeSize=function(t,e,r){if(void 0===e&&(e=1),void 0===r&&(r=!1),r&&t.getBBox){var n=t.getBBox();return[n.width/e,n.height/e]}return[t.offsetWidth/e,t.offsetHeight/e]},u.prototype.nodeBBox=function(t){var e=t.getBoundingClientRect();return{left:e.left,right:e.right,top:e.top,bottom:e.bottom}},u);function u(t){var e=i.call(this,t.document)||this;return e.window=t,e.parser=new t.DOMParser,e}e.HTMLAdaptor=a},function(t,e,r){"use strict";var y=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var n=(o.prototype.node=function(t,e,r,n){var o,i;void 0===e&&(e={}),void 0===r&&(r=[]);var s=this.create(t,n);this.setAttributes(s,e);try{for(var a=y(r),l=a.next();!l.done;l=a.next()){var u=l.value;this.append(s,u)}}catch(t){o={error:t}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}return s},o.prototype.setAttributes=function(t,e){var r,n,o,i,s,a;if(e.style&&"string"!=typeof e.style)try{for(var l=y(Object.keys(e.style)),u=l.next();!u.done;u=l.next()){var c=u.value;this.setStyle(t,c.replace(/-([a-z])/g,function(t,e){return e.toUpperCase()}),e.style[c])}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}if(e.properties)try{for(var p=y(Object.keys(e.properties)),f=p.next();!f.done;f=p.next())t[c=f.value]=e.properties[c]}catch(t){o={error:t}}finally{try{f&&!f.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}try{for(var h=y(Object.keys(e)),d=h.next();!d.done;d=h.next())"style"===(c=d.value)&&"string"!=typeof e.style||"properties"===c||this.setAttribute(t,c,e[c])}catch(t){s={error:t}}finally{try{d&&!d.done&&(a=h.return)&&a.call(h)}finally{if(s)throw s.error}}},o.prototype.replace=function(t,e){return this.insert(t,e),this.remove(e),e},o.prototype.childNode=function(t,e){return this.childNodes(t)[e]},o.prototype.allClasses=function(t){var e=this.getAttribute(t,"class");return e?e.replace(/  +/g," ").replace(/^ /,"").replace(/ $/,"").split(/ /):[]},o);function o(t){void 0===t&&(t=null),this.document=t}e.AbstractDOMAdaptor=n},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i,s=r(6),a=(i=s.AbstractMathDocument,o(l,i),l);function l(){return null!==i&&i.apply(this,arguments)||this}var u=(Object.defineProperty(c.prototype,"name",{get:function(){return this.constructor.NAME},enumerable:!0,configurable:!0}),c.prototype.handlesDocument=function(t){return!1},c.prototype.create=function(t,e){return new this.documentClass(t,this.adaptor,e)},c.NAME="generic",c);function c(t,e){void 0===e&&(e=5),this.documentClass=a,this.adaptor=t,this.priority=e}e.AbstractHandler=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=r(7),i=(Object.defineProperty(s.prototype,"name",{get:function(){return this.constructor.NAME},enumerable:!0,configurable:!0}),s.prototype.setAdaptor=function(t){this.adaptor=t},s.prototype.setMmlFactory=function(t){this.mmlFactory=t},s.prototype.initialize=function(){},Object.defineProperty(s.prototype,"processStrings",{get:function(){return!0},enumerable:!0,configurable:!0}),s.prototype.findMath=function(t,e){return[]},s.prototype.executeFilters=function(t,e,r,n){var o={math:e,document:r,data:n};return t.execute(o),o.data},s.NAME="generic",s.OPTIONS={},s);function s(t){void 0===t&&(t={}),this.adaptor=null,this.mmlFactory=null;var e=this.constructor;this.options=n.userOptions(n.defaultOptions({},e.OPTIONS),t),this.preFilters=new o.FunctionList,this.postFilters=new o.FunctionList}e.AbstractInputJax=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=r(7),i=(Object.defineProperty(s.prototype,"name",{get:function(){return this.constructor.NAME},enumerable:!0,configurable:!0}),s.prototype.setAdaptor=function(t){this.adaptor=t},s.prototype.initialize=function(){},s.prototype.getMetrics=function(t){},s.prototype.styleSheet=function(t){return null},s.prototype.pageElements=function(t){return null},s.prototype.executeFilters=function(t,e,r,n){var o={math:e,document:r,data:n};return t.execute(o),o.data},s.NAME="generic",s.OPTIONS={},s);function s(t){void 0===t&&(t={}),this.adaptor=null;var e=this.constructor;this.options=n.userOptions(n.defaultOptions({},e.OPTIONS),t),this.postFilters=new o.FunctionList}e.AbstractOutputJax=i},function(t,e,r){"use strict";var u=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},n=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(u(arguments[e]));return t},c=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var p=Symbol(),l=function(t){void 0===t&&(t=null),this.next=null,this.prev=null,this.data=t};e.ListItem=l;var o=(f.prototype.toArray=function(){return Array.from(this)},f.prototype.isBefore=function(t,e){return t<e},f.prototype.push=function(){for(var e,t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{for(var o=c(r),i=o.next();!i.done;i=o.next()){var s=i.value,a=new l(s);a.next=this.list,a.prev=this.list.prev,(this.list.prev=a).prev.next=a}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return this},f.prototype.pop=function(){var t=this.list.prev;return t.data===p?null:(this.list.prev=t.prev,t.prev.next=this.list,t.next=t.prev=null,t.data)},f.prototype.unshift=function(){for(var e,t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{for(var o=c(r.slice(0).reverse()),i=o.next();!i.done;i=o.next()){var s=i.value,a=new l(s);a.next=this.list.next,a.prev=this.list,(this.list.next=a).next.prev=a}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return this},f.prototype.shift=function(){var t=this.list.next;return t.data===p?null:(this.list.next=t.next,t.next.prev=this.list,t.next=t.prev=null,t.data)},f.prototype.clear=function(){return this.list.next.prev=this.list.prev.next=null,this.list.next=this.list.prev=this.list,this},f.prototype[Symbol.iterator]=function(){var t=this.list;return{next:function(){return(t=t.next).data===p?{value:null,done:!0}:{value:t.data,done:!1}}}},f.prototype.reversed=function(){var t,e=this.list;return(t={})[Symbol.iterator]=function(){return this},t.next=function(){return(e=e.prev).data===p?{value:null,done:!0}:{value:e.data,done:!1}},t.toArray=function(){return Array.from(this)},t},f.prototype.insert=function(t,e){void 0===e&&(e=null),null===e&&(e=this.isBefore.bind(this));for(var r=new l(t),n=this.list.next;n.data!==p&&e(n.data,r.data);)n=n.next;return r.prev=n.prev,(r.next=n).prev.next=n.prev=r,this},f.prototype.sort=function(t){var e,r;void 0===t&&(t=null),null===t&&(t=this.isBefore.bind(this));var n=[];try{for(var o=c(this),i=o.next();!i.done;i=o.next()){var s=i.value;n.push(new f(s))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}for(this.list.next=this.list.prev=this.list;1<n.length;){var a=n.shift(),l=n.shift();a.merge(l,t),n.push(a)}return n.length&&(this.list=n[0].list),this},f.prototype.merge=function(t,e){var r,n,o,i,s;void 0===e&&(e=null),null===e&&(e=this.isBefore.bind(this));for(var a=this.list.next,l=t.list.next;a.data!==p&&l.data!==p;)e(l.data,a.data)?(r=u([a,l],2),l.prev.next=r[0],a.prev.next=r[1],n=u([a.prev,l.prev],2),l.prev=n[0],a.prev=n[1],o=u([t.list,this.list],2),this.list.prev.next=o[0],t.list.prev.next=o[1],i=u([t.list.prev,this.list.prev],2),this.list.prev=i[0],t.list.prev=i[1],a=(s=u([l.next,a],2))[0],l=s[1]):a=a.next;return l.data!==p&&(this.list.prev.next=t.list.next,t.list.next.prev=this.list.prev,t.list.prev.next=this.list,this.list.prev=t.list.prev,t.list.next=t.list.prev=t.list),this},f);function f(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.list=new l(p),this.list.next=this.list.prev=this.list,this.push.apply(this,n(t))}e.LinkedList=o},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i,s=r(10),a=(i=s.AbstractFactory,o(l,i),l.prototype.create=function(t,e,r){return void 0===e&&(e={}),void 0===r&&(r=[]),this.node[t](e,r)},l);function l(){return null!==i&&i.apply(this,arguments)||this}e.AbstractNodeFactory=a},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var o=r(0),i=r(29),s=r(12),a=r(30),l=r(13),u=r(32),c=r(33),p=r(34),f=r(35),h=r(36),d=r(37),y=r(38),O=r(39),M=r(40),E=r(41),b=r(42),v=r(43),m=r(44),g=r(45),L=r(14),R=r(46),N=r(47),T=r(48),_=r(49),A=r(50),S=r(51),C=r(52),I=r(53),x=r(54),P=r(55),w=r(56);e.MML=((n={})[i.MmlMath.prototype.kind]=i.MmlMath,n[s.MmlMi.prototype.kind]=s.MmlMi,n[a.MmlMn.prototype.kind]=a.MmlMn,n[l.MmlMo.prototype.kind]=l.MmlMo,n[u.MmlMtext.prototype.kind]=u.MmlMtext,n[c.MmlMspace.prototype.kind]=c.MmlMspace,n[p.MmlMs.prototype.kind]=p.MmlMs,n[f.MmlMrow.prototype.kind]=f.MmlMrow,n[f.MmlInferredMrow.prototype.kind]=f.MmlInferredMrow,n[h.MmlMfrac.prototype.kind]=h.MmlMfrac,n[d.MmlMsqrt.prototype.kind]=d.MmlMsqrt,n[y.MmlMroot.prototype.kind]=y.MmlMroot,n[O.MmlMstyle.prototype.kind]=O.MmlMstyle,n[M.MmlMerror.prototype.kind]=M.MmlMerror,n[E.MmlMpadded.prototype.kind]=E.MmlMpadded,n[b.MmlMphantom.prototype.kind]=b.MmlMphantom,n[v.MmlMfenced.prototype.kind]=v.MmlMfenced,n[m.MmlMenclose.prototype.kind]=m.MmlMenclose,n[g.MmlMaction.prototype.kind]=g.MmlMaction,n[L.MmlMsub.prototype.kind]=L.MmlMsub,n[L.MmlMsup.prototype.kind]=L.MmlMsup,n[L.MmlMsubsup.prototype.kind]=L.MmlMsubsup,n[R.MmlMunder.prototype.kind]=R.MmlMunder,n[R.MmlMover.prototype.kind]=R.MmlMover,n[R.MmlMunderover.prototype.kind]=R.MmlMunderover,n[N.MmlMmultiscripts.prototype.kind]=N.MmlMmultiscripts,n[N.MmlMprescripts.prototype.kind]=N.MmlMprescripts,n[N.MmlNone.prototype.kind]=N.MmlNone,n[T.MmlMtable.prototype.kind]=T.MmlMtable,n[_.MmlMlabeledtr.prototype.kind]=_.MmlMlabeledtr,n[_.MmlMtr.prototype.kind]=_.MmlMtr,n[A.MmlMtd.prototype.kind]=A.MmlMtd,n[S.MmlMaligngroup.prototype.kind]=S.MmlMaligngroup,n[C.MmlMalignmark.prototype.kind]=C.MmlMalignmark,n[I.MmlMglyph.prototype.kind]=I.MmlMglyph,n[x.MmlSemantics.prototype.kind]=x.MmlSemantics,n[x.MmlAnnotation.prototype.kind]=x.MmlAnnotation,n[x.MmlAnnotationXML.prototype.kind]=x.MmlAnnotationXML,n[P.TeXAtom.prototype.kind]=P.TeXAtom,n[w.mathchoice.prototype.kind]=w.mathchoice,n[o.TextNode.prototype.kind]=o.TextNode,n[o.XMLNode.prototype.kind]=o.XMLNode,n)},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlLayoutNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"math"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"linebreakContainer",{get:function(){return!0},enumerable:!0,configurable:!0}),u.prototype.setChildInheritedAttributes=function(t,e,r,n){"display"===this.attributes.get("mode")&&this.attributes.setInherited("display","block"),t=this.addInheritedAttributes(t,this.attributes.getAllAttributes()),e=!!this.attributes.get("displaystyle")||!this.attributes.get("displaystyle")&&"block"===this.attributes.get("display"),this.attributes.setInherited("displaystyle",e),r=this.attributes.get("scriptlevel")||this.constructor.defaults.scriptlevel,s.prototype.setChildInheritedAttributes.call(this,t,e,r,n)},u.defaults=i(i({},a.AbstractMmlLayoutNode.defaults),{mathvariant:"normal",mathsize:"normal",mathcolor:"",mathbackground:"transparent",dir:"ltr",scriptlevel:0,displaystyle:!1,display:"inline",maxwidth:"",overflow:"linebreak",altimg:"","altimg-width":"","altimg-height":"","altimg-valign":"",alttext:"",cdgroup:"",scriptsizemultiplier:1/Math.sqrt(2),scriptminsize:"8px",infixlinebreakstyle:"before",lineleading:"1ex",linebreakmultchar:"\u2062",indentshift:"auto",indentalign:"auto",indenttarget:"",indentalignfirst:"indentalign",indentshiftfirst:"indentshift",indentalignlast:"indentalign",indentshiftlast:"indentshift"}),u);function u(){return null!==s&&s.apply(this,arguments)||this}e.MmlMath=l},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlTokenNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"mn"},enumerable:!0,configurable:!0}),u.defaults=i({},a.AbstractMmlTokenNode.defaults),u);function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texClass=a.TEXCLASS.ORD,t}e.MmlMn=l},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r(0);function n(t,e,r,n){return void 0===r&&(r=o.TEXCLASS.BIN),void 0===n&&(n=null),[t,e,r,n]}e.OPDEF=n,e.MO={ORD:n(0,0,o.TEXCLASS.ORD),ORD11:n(1,1,o.TEXCLASS.ORD),ORD21:n(2,1,o.TEXCLASS.ORD),ORD02:n(0,2,o.TEXCLASS.ORD),ORD55:n(5,5,o.TEXCLASS.ORD),OP:n(1,2,o.TEXCLASS.OP,{largeop:!0,movablelimits:!0,symmetric:!0}),OPFIXED:n(1,2,o.TEXCLASS.OP,{largeop:!0,movablelimits:!0}),INTEGRAL:n(0,1,o.TEXCLASS.OP,{largeop:!0,symmetric:!0}),INTEGRAL2:n(1,2,o.TEXCLASS.OP,{largeop:!0,symmetric:!0}),BIN3:n(3,3,o.TEXCLASS.BIN),BIN4:n(4,4,o.TEXCLASS.BIN),BIN01:n(0,1,o.TEXCLASS.BIN),BIN5:n(5,5,o.TEXCLASS.BIN),TALLBIN:n(4,4,o.TEXCLASS.BIN,{stretchy:!0}),BINOP:n(4,4,o.TEXCLASS.BIN,{largeop:!0,movablelimits:!0}),REL:n(5,5,o.TEXCLASS.REL),REL1:n(1,1,o.TEXCLASS.REL,{stretchy:!0}),REL4:n(4,4,o.TEXCLASS.REL),RELSTRETCH:n(5,5,o.TEXCLASS.REL,{stretchy:!0}),RELACCENT:n(5,5,o.TEXCLASS.REL,{accent:!0}),WIDEREL:n(5,5,o.TEXCLASS.REL,{accent:!0,stretchy:!0}),OPEN:n(0,0,o.TEXCLASS.OPEN,{fence:!0,stretchy:!0,symmetric:!0}),CLOSE:n(0,0,o.TEXCLASS.CLOSE,{fence:!0,stretchy:!0,symmetric:!0}),INNER:n(0,0,o.TEXCLASS.INNER),PUNCT:n(0,3,o.TEXCLASS.PUNCT),ACCENT:n(0,0,o.TEXCLASS.ORD,{accent:!0}),WIDEACCENT:n(0,0,o.TEXCLASS.ORD,{accent:!0,stretchy:!0})},e.RANGES=[[32,127,o.TEXCLASS.REL,"BasicLatin"],[160,255,o.TEXCLASS.ORD,"Latin1Supplement"],[256,383,o.TEXCLASS.ORD,"LatinExtendedA"],[384,591,o.TEXCLASS.ORD,"LatinExtendedB"],[688,767,o.TEXCLASS.ORD,"SpacingModLetters"],[768,879,o.TEXCLASS.ORD,"CombDiacritMarks"],[880,1023,o.TEXCLASS.ORD,"GreekAndCoptic"],[7680,7935,o.TEXCLASS.ORD,"LatinExtendedAdditional"],[8192,8303,o.TEXCLASS.PUNCT,"GeneralPunctuation"],[8304,8351,o.TEXCLASS.ORD,"SuperAndSubscripts"],[8352,8399,o.TEXCLASS.ORD,"Currency"],[8400,8447,o.TEXCLASS.ORD,"CombDiactForSymbols"],[8448,8527,o.TEXCLASS.ORD,"LetterlikeSymbols"],[8528,8591,o.TEXCLASS.ORD,"NumberForms"],[8592,8703,o.TEXCLASS.REL,"Arrows"],[8704,8959,o.TEXCLASS.BIN,"MathOperators"],[8960,9215,o.TEXCLASS.ORD,"MiscTechnical"],[9312,9471,o.TEXCLASS.ORD,"EnclosedAlphaNums"],[9472,9631,o.TEXCLASS.ORD,"BoxDrawing"],[9632,9727,o.TEXCLASS.ORD,"GeometricShapes"],[9984,10175,o.TEXCLASS.ORD,"Dingbats"],[10176,10223,o.TEXCLASS.ORD,"MiscMathSymbolsA"],[10224,10239,o.TEXCLASS.REL,"SupplementalArrowsA"],[10496,10623,o.TEXCLASS.REL,"SupplementalArrowsB"],[10624,10751,o.TEXCLASS.ORD,"MiscMathSymbolsB"],[10752,11007,o.TEXCLASS.BIN,"SuppMathOperators"],[11008,11263,o.TEXCLASS.ORD,"MiscSymbolsAndArrows"],[119808,120831,o.TEXCLASS.ORD,"MathAlphabets"]],e.MMLSPACING=[[0,0],[1,2],[3,3],[4,4],[0,0],[0,0],[0,3]],e.OPTABLE={prefix:{"(":e.MO.OPEN,"+":e.MO.BIN01,"-":e.MO.BIN01,"[":e.MO.OPEN,"{":e.MO.OPEN,"|":e.MO.OPEN,"||":[0,0,o.TEXCLASS.BIN,{fence:!0,stretchy:!0,symmetric:!0}],"|||":[0,0,o.TEXCLASS.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"\xac":e.MO.ORD21,"\xb1":e.MO.BIN01,"\u2016":[0,0,o.TEXCLASS.ORD,{fence:!0,stretchy:!0}],"\u2018":[0,0,o.TEXCLASS.OPEN,{fence:!0}],"\u201c":[0,0,o.TEXCLASS.OPEN,{fence:!0}],"\u2145":e.MO.ORD21,"\u2146":n(2,0,o.TEXCLASS.ORD),"\u2200":e.MO.ORD21,"\u2202":e.MO.ORD21,"\u2203":e.MO.ORD21,"\u2204":e.MO.ORD21,"\u2207":e.MO.ORD21,"\u220f":e.MO.OP,"\u2210":e.MO.OP,"\u2211":e.MO.OP,"\u2212":e.MO.BIN01,"\u2213":e.MO.BIN01,"\u221a":[1,1,o.TEXCLASS.ORD,{stretchy:!0}],"\u221b":e.MO.ORD11,"\u221c":e.MO.ORD11,"\u2220":e.MO.ORD,"\u2221":e.MO.ORD,"\u2222":e.MO.ORD,"\u222b":e.MO.INTEGRAL,"\u222c":e.MO.INTEGRAL,"\u222d":e.MO.INTEGRAL,"\u222e":e.MO.INTEGRAL,"\u222f":e.MO.INTEGRAL,"\u2230":e.MO.INTEGRAL,"\u2231":e.MO.INTEGRAL,"\u2232":e.MO.INTEGRAL,"\u2233":e.MO.INTEGRAL,"\u22c0":e.MO.OP,"\u22c1":e.MO.OP,"\u22c2":e.MO.OP,"\u22c3":e.MO.OP,"\u2308":e.MO.OPEN,"\u230a":e.MO.OPEN,"\u2772":e.MO.OPEN,"\u27e6":e.MO.OPEN,"\u27e8":e.MO.OPEN,"\u27ea":e.MO.OPEN,"\u27ec":e.MO.OPEN,"\u27ee":e.MO.OPEN,"\u2980":[0,0,o.TEXCLASS.ORD,{fence:!0,stretchy:!0}],"\u2983":e.MO.OPEN,"\u2985":e.MO.OPEN,"\u2987":e.MO.OPEN,"\u2989":e.MO.OPEN,"\u298b":e.MO.OPEN,"\u298d":e.MO.OPEN,"\u298f":e.MO.OPEN,"\u2991":e.MO.OPEN,"\u2993":e.MO.OPEN,"\u2995":e.MO.OPEN,"\u2997":e.MO.OPEN,"\u29fc":e.MO.OPEN,"\u2a00":e.MO.OP,"\u2a01":e.MO.OP,"\u2a02":e.MO.OP,"\u2a03":e.MO.OP,"\u2a04":e.MO.OP,"\u2a05":e.MO.OP,"\u2a06":e.MO.OP,"\u2a07":e.MO.OP,"\u2a08":e.MO.OP,"\u2a09":e.MO.OP,"\u2a0a":e.MO.OP,"\u2a0b":e.MO.INTEGRAL2,"\u2a0c":e.MO.INTEGRAL,"\u2a0d":e.MO.INTEGRAL2,"\u2a0e":e.MO.INTEGRAL2,"\u2a0f":e.MO.INTEGRAL2,"\u2a10":e.MO.OP,"\u2a11":e.MO.OP,"\u2a12":e.MO.OP,"\u2a13":e.MO.OP,"\u2a14":e.MO.OP,"\u2a15":e.MO.INTEGRAL2,"\u2a16":e.MO.INTEGRAL2,"\u2a17":e.MO.INTEGRAL2,"\u2a18":e.MO.INTEGRAL2,"\u2a19":e.MO.INTEGRAL2,"\u2a1a":e.MO.INTEGRAL2,"\u2a1b":e.MO.INTEGRAL2,"\u2a1c":e.MO.INTEGRAL2,"\u2afc":e.MO.OP,"\u2aff":e.MO.OP},postfix:{"!!":n(1,0),"!":[1,0,o.TEXCLASS.CLOSE,null],"&":e.MO.ORD,")":e.MO.CLOSE,"++":n(0,0),"--":n(0,0),"..":n(0,0),"...":e.MO.ORD,"'":e.MO.ACCENT,"]":e.MO.CLOSE,"^":e.MO.WIDEACCENT,_:e.MO.WIDEACCENT,"`":e.MO.ACCENT,"|":e.MO.CLOSE,"}":e.MO.CLOSE,"~":e.MO.WIDEACCENT,"||":[0,0,o.TEXCLASS.BIN,{fence:!0,stretchy:!0,symmetric:!0}],"|||":[0,0,o.TEXCLASS.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"\xa8":e.MO.ACCENT,"\xaf":e.MO.WIDEACCENT,"\xb0":e.MO.ORD,"\xb4":e.MO.ACCENT,"\xb8":e.MO.ACCENT,"\u02c6":e.MO.WIDEACCENT,"\u02c7":e.MO.WIDEACCENT,"\u02c9":e.MO.WIDEACCENT,"\u02ca":e.MO.ACCENT,"\u02cb":e.MO.ACCENT,"\u02cd":e.MO.WIDEACCENT,"\u02d8":e.MO.ACCENT,"\u02d9":e.MO.ACCENT,"\u02da":e.MO.ACCENT,"\u02dc":e.MO.WIDEACCENT,"\u02dd":e.MO.ACCENT,"\u02f7":e.MO.WIDEACCENT,"\u0302":e.MO.WIDEACCENT,"\u0311":e.MO.ACCENT,"\u03f6":e.MO.REL,"\u2016":[0,0,o.TEXCLASS.ORD,{fence:!0,stretchy:!0}],"\u2019":[0,0,o.TEXCLASS.CLOSE,{fence:!0}],"\u201d":[0,0,o.TEXCLASS.CLOSE,{fence:!0}],"\u2032":e.MO.ORD02,"\u203e":e.MO.WIDEACCENT,"\u20db":e.MO.ACCENT,"\u20dc":e.MO.ACCENT,"\u2309":e.MO.CLOSE,"\u230b":e.MO.CLOSE,"\u23b4":e.MO.WIDEACCENT,"\u23b5":e.MO.WIDEACCENT,"\u23dc":e.MO.WIDEACCENT,"\u23dd":e.MO.WIDEACCENT,"\u23de":e.MO.WIDEACCENT,"\u23df":e.MO.WIDEACCENT,"\u23e0":e.MO.WIDEACCENT,"\u23e1":e.MO.WIDEACCENT,"\u25a0":e.MO.BIN3,"\u25a1":e.MO.BIN3,"\u25aa":e.MO.BIN3,"\u25ab":e.MO.BIN3,"\u25ad":e.MO.BIN3,"\u25ae":e.MO.BIN3,"\u25af":e.MO.BIN3,"\u25b0":e.MO.BIN3,"\u25b1":e.MO.BIN3,"\u25b2":e.MO.BIN4,"\u25b4":e.MO.BIN4,"\u25b6":e.MO.BIN4,"\u25b7":e.MO.BIN4,"\u25b8":e.MO.BIN4,"\u25bc":e.MO.BIN4,"\u25be":e.MO.BIN4,"\u25c0":e.MO.BIN4,"\u25c1":e.MO.BIN4,"\u25c2":e.MO.BIN4,"\u25c4":e.MO.BIN4,"\u25c5":e.MO.BIN4,"\u25c6":e.MO.BIN4,"\u25c7":e.MO.BIN4,"\u25c8":e.MO.BIN4,"\u25c9":e.MO.BIN4,"\u25cc":e.MO.BIN4,"\u25cd":e.MO.BIN4,"\u25ce":e.MO.BIN4,"\u25cf":e.MO.BIN4,"\u25d6":e.MO.BIN4,"\u25d7":e.MO.BIN4,"\u25e6":e.MO.BIN4,"\u266d":e.MO.ORD02,"\u266e":e.MO.ORD02,"\u266f":e.MO.ORD02,"\u2773":e.MO.CLOSE,"\u27e7":e.MO.CLOSE,"\u27e9":e.MO.CLOSE,"\u27eb":e.MO.CLOSE,"\u27ed":e.MO.CLOSE,"\u27ef":e.MO.CLOSE,"\u2980":[0,0,o.TEXCLASS.ORD,{fence:!0,stretchy:!0}],"\u2984":e.MO.CLOSE,"\u2986":e.MO.CLOSE,"\u2988":e.MO.CLOSE,"\u298a":e.MO.CLOSE,"\u298c":e.MO.CLOSE,"\u298e":e.MO.CLOSE,"\u2990":e.MO.CLOSE,"\u2992":e.MO.CLOSE,"\u2994":e.MO.CLOSE,"\u2996":e.MO.CLOSE,"\u2998":e.MO.CLOSE,"\u29fd":e.MO.CLOSE},infix:{"!=":e.MO.BIN4,"#":e.MO.ORD,$:e.MO.ORD,"%":[3,3,o.TEXCLASS.ORD,null],"&&":e.MO.BIN4,"":e.MO.ORD,"*":e.MO.BIN3,"**":n(1,1),"*=":e.MO.BIN4,"+":e.MO.BIN4,"+=":e.MO.BIN4,",":[0,3,o.TEXCLASS.PUNCT,{linebreakstyle:"after",separator:!0}],"-":e.MO.BIN4,"-=":e.MO.BIN4,"->":e.MO.BIN5,".":[0,3,o.TEXCLASS.PUNCT,{separator:!0}],"/":e.MO.ORD11,"//":n(1,1),"/=":e.MO.BIN4,":":[1,2,o.TEXCLASS.REL,null],":=":e.MO.BIN4,";":[0,3,o.TEXCLASS.PUNCT,{linebreakstyle:"after",separator:!0}],"<":e.MO.REL,"<=":e.MO.BIN5,"<>":n(1,1),"=":e.MO.REL,"==":e.MO.BIN4,">":e.MO.REL,">=":e.MO.BIN5,"?":[1,1,o.TEXCLASS.CLOSE,null],"@":e.MO.ORD11,"\\":e.MO.ORD,"^":e.MO.ORD11,_:e.MO.ORD11,"|":[2,2,o.TEXCLASS.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"||":[2,2,o.TEXCLASS.BIN,{fence:!0,stretchy:!0,symmetric:!0}],"|||":[2,2,o.TEXCLASS.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"\xb1":e.MO.BIN4,"\xb7":e.MO.BIN4,"\xd7":e.MO.BIN4,"\xf7":e.MO.BIN4,"\u02b9":e.MO.ORD,"\u0300":e.MO.ACCENT,"\u0301":e.MO.ACCENT,"\u0303":e.MO.WIDEACCENT,"\u0304":e.MO.ACCENT,"\u0306":e.MO.ACCENT,"\u0307":e.MO.ACCENT,"\u0308":e.MO.ACCENT,"\u030c":e.MO.ACCENT,"\u0332":e.MO.WIDEACCENT,"\u0338":e.MO.REL4,"\u2015":[0,0,o.TEXCLASS.ORD,{stretchy:!0}],"\u2017":[0,0,o.TEXCLASS.ORD,{stretchy:!0}],"\u2020":e.MO.BIN3,"\u2021":e.MO.BIN3,"\u2022":e.MO.BIN4,"\u2026":e.MO.INNER,"\u2044":e.MO.TALLBIN,"\u2061":e.MO.ORD,"\u2062":e.MO.ORD,"\u2063":[0,0,o.TEXCLASS.ORD,{linebreakstyle:"after",separator:!0}],"\u2064":e.MO.ORD,"\u20d7":e.MO.ACCENT,"\u2111":e.MO.ORD,"\u2113":e.MO.ORD,"\u2118":e.MO.ORD,"\u211c":e.MO.ORD,"\u2190":e.MO.WIDEREL,"\u2191":e.MO.RELSTRETCH,"\u2192":e.MO.WIDEREL,"\u2193":e.MO.RELSTRETCH,"\u2194":e.MO.WIDEREL,"\u2195":e.MO.RELSTRETCH,"\u2196":e.MO.RELSTRETCH,"\u2197":e.MO.RELSTRETCH,"\u2198":e.MO.RELSTRETCH,"\u2199":e.MO.RELSTRETCH,"\u219a":e.MO.RELACCENT,"\u219b":e.MO.RELACCENT,"\u219c":e.MO.WIDEREL,"\u219d":e.MO.WIDEREL,"\u219e":e.MO.WIDEREL,"\u219f":e.MO.WIDEREL,"\u21a0":e.MO.WIDEREL,"\u21a1":e.MO.RELSTRETCH,"\u21a2":e.MO.WIDEREL,"\u21a3":e.MO.WIDEREL,"\u21a4":e.MO.WIDEREL,"\u21a5":e.MO.RELSTRETCH,"\u21a6":e.MO.WIDEREL,"\u21a7":e.MO.RELSTRETCH,"\u21a8":e.MO.RELSTRETCH,"\u21a9":e.MO.WIDEREL,"\u21aa":e.MO.WIDEREL,"\u21ab":e.MO.WIDEREL,"\u21ac":e.MO.WIDEREL,"\u21ad":e.MO.WIDEREL,"\u21ae":e.MO.RELACCENT,"\u21af":e.MO.RELSTRETCH,"\u21b0":e.MO.RELSTRETCH,"\u21b1":e.MO.RELSTRETCH,"\u21b2":e.MO.RELSTRETCH,"\u21b3":e.MO.RELSTRETCH,"\u21b4":e.MO.RELSTRETCH,"\u21b5":e.MO.RELSTRETCH,"\u21b6":e.MO.RELACCENT,"\u21b7":e.MO.RELACCENT,"\u21b8":e.MO.REL,"\u21b9":e.MO.WIDEREL,"\u21ba":e.MO.REL,"\u21bb":e.MO.REL,"\u21bc":e.MO.WIDEREL,"\u21bd":e.MO.WIDEREL,"\u21be":e.MO.RELSTRETCH,"\u21bf":e.MO.RELSTRETCH,"\u21c0":e.MO.WIDEREL,"\u21c1":e.MO.WIDEREL,"\u21c2":e.MO.RELSTRETCH,"\u21c3":e.MO.RELSTRETCH,"\u21c4":e.MO.WIDEREL,"\u21c5":e.MO.RELSTRETCH,"\u21c6":e.MO.WIDEREL,"\u21c7":e.MO.WIDEREL,"\u21c8":e.MO.RELSTRETCH,"\u21c9":e.MO.WIDEREL,"\u21ca":e.MO.RELSTRETCH,"\u21cb":e.MO.WIDEREL,"\u21cc":e.MO.WIDEREL,"\u21cd":e.MO.RELACCENT,"\u21ce":e.MO.RELACCENT,"\u21cf":e.MO.RELACCENT,"\u21d0":e.MO.WIDEREL,"\u21d1":e.MO.RELSTRETCH,"\u21d2":e.MO.WIDEREL,"\u21d3":e.MO.RELSTRETCH,"\u21d4":e.MO.WIDEREL,"\u21d5":e.MO.RELSTRETCH,"\u21d6":e.MO.RELSTRETCH,"\u21d7":e.MO.RELSTRETCH,"\u21d8":e.MO.RELSTRETCH,"\u21d9":e.MO.RELSTRETCH,"\u21da":e.MO.WIDEREL,"\u21db":e.MO.WIDEREL,"\u21dc":e.MO.WIDEREL,"\u21dd":e.MO.WIDEREL,"\u21de":e.MO.REL,"\u21df":e.MO.REL,"\u21e0":e.MO.WIDEREL,"\u21e1":e.MO.RELSTRETCH,"\u21e2":e.MO.WIDEREL,"\u21e3":e.MO.RELSTRETCH,"\u21e4":e.MO.WIDEREL,"\u21e5":e.MO.WIDEREL,"\u21e6":e.MO.WIDEREL,"\u21e7":e.MO.RELSTRETCH,"\u21e8":e.MO.WIDEREL,"\u21e9":e.MO.RELSTRETCH,"\u21ea":e.MO.RELSTRETCH,"\u21eb":e.MO.RELSTRETCH,"\u21ec":e.MO.RELSTRETCH,"\u21ed":e.MO.RELSTRETCH,"\u21ee":e.MO.RELSTRETCH,"\u21ef":e.MO.RELSTRETCH,"\u21f0":e.MO.WIDEREL,"\u21f1":e.MO.REL,"\u21f2":e.MO.REL,"\u21f3":e.MO.RELSTRETCH,"\u21f4":e.MO.RELACCENT,"\u21f5":e.MO.RELSTRETCH,"\u21f6":e.MO.WIDEREL,"\u21f7":e.MO.RELACCENT,"\u21f8":e.MO.RELACCENT,"\u21f9":e.MO.RELACCENT,"\u21fa":e.MO.RELACCENT,"\u21fb":e.MO.RELACCENT,"\u21fc":e.MO.RELACCENT,"\u21fd":e.MO.WIDEREL,"\u21fe":e.MO.WIDEREL,"\u21ff":e.MO.WIDEREL,"\u2201":n(1,2,o.TEXCLASS.ORD),"\u2205":e.MO.ORD,"\u2206":e.MO.BIN3,"\u2208":e.MO.REL,"\u2209":e.MO.REL,"\u220a":e.MO.REL,"\u220b":e.MO.REL,"\u220c":e.MO.REL,"\u220d":e.MO.REL,"\u220e":e.MO.BIN3,"\u2212":e.MO.BIN4,"\u2213":e.MO.BIN4,"\u2214":e.MO.BIN4,"\u2215":e.MO.TALLBIN,"\u2216":e.MO.BIN4,"\u2217":e.MO.BIN4,"\u2218":e.MO.BIN4,"\u2219":e.MO.BIN4,"\u221d":e.MO.REL,"\u221e":e.MO.ORD,"\u221f":e.MO.REL,"\u2223":e.MO.REL,"\u2224":e.MO.REL,"\u2225":e.MO.REL,"\u2226":e.MO.REL,"\u2227":e.MO.BIN4,"\u2228":e.MO.BIN4,"\u2229":e.MO.BIN4,"\u222a":e.MO.BIN4,"\u2234":e.MO.REL,"\u2235":e.MO.REL,"\u2236":e.MO.REL,"\u2237":e.MO.REL,"\u2238":e.MO.BIN4,"\u2239":e.MO.REL,"\u223a":e.MO.BIN4,"\u223b":e.MO.REL,"\u223c":e.MO.REL,"\u223d":e.MO.REL,"\u223d\u0331":e.MO.BIN3,"\u223e":e.MO.REL,"\u223f":e.MO.BIN3,"\u2240":e.MO.BIN4,"\u2241":e.MO.REL,"\u2242":e.MO.REL,"\u2242\u0338":e.MO.REL,"\u2243":e.MO.REL,"\u2244":e.MO.REL,"\u2245":e.MO.REL,"\u2246":e.MO.REL,"\u2247":e.MO.REL,"\u2248":e.MO.REL,"\u2249":e.MO.REL,"\u224a":e.MO.REL,"\u224b":e.MO.REL,"\u224c":e.MO.REL,"\u224d":e.MO.REL,"\u224e":e.MO.REL,"\u224e\u0338":e.MO.REL,"\u224f":e.MO.REL,"\u224f\u0338":e.MO.REL,"\u2250":e.MO.REL,"\u2251":e.MO.REL,"\u2252":e.MO.REL,"\u2253":e.MO.REL,"\u2254":e.MO.REL,"\u2255":e.MO.REL,"\u2256":e.MO.REL,"\u2257":e.MO.REL,"\u2258":e.MO.REL,"\u2259":e.MO.REL,"\u225a":e.MO.REL,"\u225c":e.MO.REL,"\u225d":e.MO.REL,"\u225e":e.MO.REL,"\u225f":e.MO.REL,"\u2260":e.MO.REL,"\u2261":e.MO.REL,"\u2262":e.MO.REL,"\u2263":e.MO.REL,"\u2264":e.MO.REL,"\u2265":e.MO.REL,"\u2266":e.MO.REL,"\u2266\u0338":e.MO.REL,"\u2267":e.MO.REL,"\u2268":e.MO.REL,"\u2269":e.MO.REL,"\u226a":e.MO.REL,"\u226a\u0338":e.MO.REL,"\u226b":e.MO.REL,"\u226b\u0338":e.MO.REL,"\u226c":e.MO.REL,"\u226d":e.MO.REL,"\u226e":e.MO.REL,"\u226f":e.MO.REL,"\u2270":e.MO.REL,"\u2271":e.MO.REL,"\u2272":e.MO.REL,"\u2273":e.MO.REL,"\u2274":e.MO.REL,"\u2275":e.MO.REL,"\u2276":e.MO.REL,"\u2277":e.MO.REL,"\u2278":e.MO.REL,"\u2279":e.MO.REL,"\u227a":e.MO.REL,"\u227b":e.MO.REL,"\u227c":e.MO.REL,"\u227d":e.MO.REL,"\u227e":e.MO.REL,"\u227f":e.MO.REL,"\u227f\u0338":e.MO.REL,"\u2280":e.MO.REL,"\u2281":e.MO.REL,"\u2282":e.MO.REL,"\u2282\u20d2":e.MO.REL,"\u2283":e.MO.REL,"\u2283\u20d2":e.MO.REL,"\u2284":e.MO.REL,"\u2285":e.MO.REL,"\u2286":e.MO.REL,"\u2287":e.MO.REL,"\u2288":e.MO.REL,"\u2289":e.MO.REL,"\u228a":e.MO.REL,"\u228b":e.MO.REL,"\u228c":e.MO.BIN4,"\u228d":e.MO.BIN4,"\u228e":e.MO.BIN4,"\u228f":e.MO.REL,"\u228f\u0338":e.MO.REL,"\u2290":e.MO.REL,"\u2290\u0338":e.MO.REL,"\u2291":e.MO.REL,"\u2292":e.MO.REL,"\u2293":e.MO.BIN4,"\u2294":e.MO.BIN4,"\u2295":e.MO.BIN4,"\u2296":e.MO.BIN4,"\u2297":e.MO.BIN4,"\u2298":e.MO.BIN4,"\u2299":e.MO.BIN4,"\u229a":e.MO.BIN4,"\u229b":e.MO.BIN4,"\u229c":e.MO.BIN4,"\u229d":e.MO.BIN4,"\u229e":e.MO.BIN4,"\u229f":e.MO.BIN4,"\u22a0":e.MO.BIN4,"\u22a1":e.MO.BIN4,"\u22a2":e.MO.REL,"\u22a3":e.MO.REL,"\u22a4":e.MO.ORD55,"\u22a5":e.MO.REL,"\u22a6":e.MO.REL,"\u22a7":e.MO.REL,"\u22a8":e.MO.REL,"\u22a9":e.MO.REL,"\u22aa":e.MO.REL,"\u22ab":e.MO.REL,"\u22ac":e.MO.REL,"\u22ad":e.MO.REL,"\u22ae":e.MO.REL,"\u22af":e.MO.REL,"\u22b0":e.MO.REL,"\u22b1":e.MO.REL,"\u22b2":e.MO.REL,"\u22b3":e.MO.REL,"\u22b4":e.MO.REL,"\u22b5":e.MO.REL,"\u22b6":e.MO.REL,"\u22b7":e.MO.REL,"\u22b8":e.MO.REL,"\u22b9":e.MO.REL,"\u22ba":e.MO.BIN4,"\u22bb":e.MO.BIN4,"\u22bc":e.MO.BIN4,"\u22bd":e.MO.BIN4,"\u22be":e.MO.BIN3,"\u22bf":e.MO.BIN3,"\u22c4":e.MO.BIN4,"\u22c5":e.MO.BIN4,"\u22c6":e.MO.BIN4,"\u22c7":e.MO.BIN4,"\u22c8":e.MO.REL,"\u22c9":e.MO.BIN4,"\u22ca":e.MO.BIN4,"\u22cb":e.MO.BIN4,"\u22cc":e.MO.BIN4,"\u22cd":e.MO.REL,"\u22ce":e.MO.BIN4,"\u22cf":e.MO.BIN4,"\u22d0":e.MO.REL,"\u22d1":e.MO.REL,"\u22d2":e.MO.BIN4,"\u22d3":e.MO.BIN4,"\u22d4":e.MO.REL,"\u22d5":e.MO.REL,"\u22d6":e.MO.REL,"\u22d7":e.MO.REL,"\u22d8":e.MO.REL,"\u22d9":e.MO.REL,"\u22da":e.MO.REL,"\u22db":e.MO.REL,"\u22dc":e.MO.REL,"\u22dd":e.MO.REL,"\u22de":e.MO.REL,"\u22df":e.MO.REL,"\u22e0":e.MO.REL,"\u22e1":e.MO.REL,"\u22e2":e.MO.REL,"\u22e3":e.MO.REL,"\u22e4":e.MO.REL,"\u22e5":e.MO.REL,"\u22e6":e.MO.REL,"\u22e7":e.MO.REL,"\u22e8":e.MO.REL,"\u22e9":e.MO.REL,"\u22ea":e.MO.REL,"\u22eb":e.MO.REL,"\u22ec":e.MO.REL,"\u22ed":e.MO.REL,"\u22ee":e.MO.ORD55,"\u22ef":e.MO.INNER,"\u22f0":e.MO.REL,"\u22f1":[5,5,o.TEXCLASS.INNER,null],"\u22f2":e.MO.REL,"\u22f3":e.MO.REL,"\u22f4":e.MO.REL,"\u22f5":e.MO.REL,"\u22f6":e.MO.REL,"\u22f7":e.MO.REL,"\u22f8":e.MO.REL,"\u22f9":e.MO.REL,"\u22fa":e.MO.REL,"\u22fb":e.MO.REL,"\u22fc":e.MO.REL,"\u22fd":e.MO.REL,"\u22fe":e.MO.REL,"\u22ff":e.MO.REL,"\u2305":e.MO.BIN3,"\u2306":e.MO.BIN3,"\u2322":e.MO.REL4,"\u2323":e.MO.REL4,"\u2329":e.MO.OPEN,"\u232a":e.MO.CLOSE,"\u23aa":e.MO.ORD,"\u23af":[0,0,o.TEXCLASS.ORD,{stretchy:!0}],"\u23b0":e.MO.OPEN,"\u23b1":e.MO.CLOSE,"\u2500":e.MO.ORD,"\u25b3":e.MO.BIN4,"\u25b5":e.MO.BIN4,"\u25b9":e.MO.BIN4,"\u25bd":e.MO.BIN4,"\u25bf":e.MO.BIN4,"\u25c3":e.MO.BIN4,"\u25ef":e.MO.BIN3,"\u2660":e.MO.ORD,"\u2661":e.MO.ORD,"\u2662":e.MO.ORD,"\u2663":e.MO.ORD,"\u2758":e.MO.REL,"\u27f0":e.MO.RELSTRETCH,"\u27f1":e.MO.RELSTRETCH,"\u27f5":e.MO.WIDEREL,"\u27f6":e.MO.WIDEREL,"\u27f7":e.MO.WIDEREL,"\u27f8":e.MO.WIDEREL,"\u27f9":e.MO.WIDEREL,"\u27fa":e.MO.WIDEREL,"\u27fb":e.MO.WIDEREL,"\u27fc":e.MO.WIDEREL,"\u27fd":e.MO.WIDEREL,"\u27fe":e.MO.WIDEREL,"\u27ff":e.MO.WIDEREL,"\u2900":e.MO.RELACCENT,"\u2901":e.MO.RELACCENT,"\u2902":e.MO.RELACCENT,"\u2903":e.MO.RELACCENT,"\u2904":e.MO.RELACCENT,"\u2905":e.MO.RELACCENT,"\u2906":e.MO.RELACCENT,"\u2907":e.MO.RELACCENT,"\u2908":e.MO.REL,"\u2909":e.MO.REL,"\u290a":e.MO.RELSTRETCH,"\u290b":e.MO.RELSTRETCH,"\u290c":e.MO.WIDEREL,"\u290d":e.MO.WIDEREL,"\u290e":e.MO.WIDEREL,"\u290f":e.MO.WIDEREL,"\u2910":e.MO.WIDEREL,"\u2911":e.MO.RELACCENT,"\u2912":e.MO.RELSTRETCH,"\u2913":e.MO.RELSTRETCH,"\u2914":e.MO.RELACCENT,"\u2915":e.MO.RELACCENT,"\u2916":e.MO.RELACCENT,"\u2917":e.MO.RELACCENT,"\u2918":e.MO.RELACCENT,"\u2919":e.MO.RELACCENT,"\u291a":e.MO.RELACCENT,"\u291b":e.MO.RELACCENT,"\u291c":e.MO.RELACCENT,"\u291d":e.MO.RELACCENT,"\u291e":e.MO.RELACCENT,"\u291f":e.MO.RELACCENT,"\u2920":e.MO.RELACCENT,"\u2921":e.MO.RELSTRETCH,"\u2922":e.MO.RELSTRETCH,"\u2923":e.MO.REL,"\u2924":e.MO.REL,"\u2925":e.MO.REL,"\u2926":e.MO.REL,"\u2927":e.MO.REL,"\u2928":e.MO.REL,"\u2929":e.MO.REL,"\u292a":e.MO.REL,"\u292b":e.MO.REL,"\u292c":e.MO.REL,"\u292d":e.MO.REL,"\u292e":e.MO.REL,"\u292f":e.MO.REL,"\u2930":e.MO.REL,"\u2931":e.MO.REL,"\u2932":e.MO.REL,"\u2933":e.MO.RELACCENT,"\u2934":e.MO.REL,"\u2935":e.MO.REL,"\u2936":e.MO.REL,"\u2937":e.MO.REL,"\u2938":e.MO.REL,"\u2939":e.MO.REL,"\u293a":e.MO.RELACCENT,"\u293b":e.MO.RELACCENT,"\u293c":e.MO.RELACCENT,"\u293d":e.MO.RELACCENT,"\u293e":e.MO.REL,"\u293f":e.MO.REL,"\u2940":e.MO.REL,"\u2941":e.MO.REL,"\u2942":e.MO.RELACCENT,"\u2943":e.MO.RELACCENT,"\u2944":e.MO.RELACCENT,"\u2945":e.MO.RELACCENT,"\u2946":e.MO.RELACCENT,"\u2947":e.MO.RELACCENT,"\u2948":e.MO.RELACCENT,"\u2949":e.MO.REL,"\u294a":e.MO.RELACCENT,"\u294b":e.MO.RELACCENT,"\u294c":e.MO.REL,"\u294d":e.MO.REL,"\u294e":e.MO.WIDEREL,"\u294f":e.MO.RELSTRETCH,"\u2950":e.MO.WIDEREL,"\u2951":e.MO.RELSTRETCH,"\u2952":e.MO.WIDEREL,"\u2953":e.MO.WIDEREL,"\u2954":e.MO.RELSTRETCH,"\u2955":e.MO.RELSTRETCH,"\u2956":e.MO.RELSTRETCH,"\u2957":e.MO.RELSTRETCH,"\u2958":e.MO.RELSTRETCH,"\u2959":e.MO.RELSTRETCH,"\u295a":e.MO.WIDEREL,"\u295b":e.MO.WIDEREL,"\u295c":e.MO.RELSTRETCH,"\u295d":e.MO.RELSTRETCH,"\u295e":e.MO.WIDEREL,"\u295f":e.MO.WIDEREL,"\u2960":e.MO.RELSTRETCH,"\u2961":e.MO.RELSTRETCH,"\u2962":e.MO.RELACCENT,"\u2963":e.MO.REL,"\u2964":e.MO.RELACCENT,"\u2965":e.MO.REL,"\u2966":e.MO.RELACCENT,"\u2967":e.MO.RELACCENT,"\u2968":e.MO.RELACCENT,"\u2969":e.MO.RELACCENT,"\u296a":e.MO.RELACCENT,"\u296b":e.MO.RELACCENT,"\u296c":e.MO.RELACCENT,"\u296d":e.MO.RELACCENT,"\u296e":e.MO.RELSTRETCH,"\u296f":e.MO.RELSTRETCH,"\u2970":e.MO.RELACCENT,"\u2971":e.MO.RELACCENT,"\u2972":e.MO.RELACCENT,"\u2973":e.MO.RELACCENT,"\u2974":e.MO.RELACCENT,"\u2975":e.MO.RELACCENT,"\u2976":e.MO.RELACCENT,"\u2977":e.MO.RELACCENT,"\u2978":e.MO.RELACCENT,"\u2979":e.MO.RELACCENT,"\u297a":e.MO.RELACCENT,"\u297b":e.MO.RELACCENT,"\u297c":e.MO.RELACCENT,"\u297d":e.MO.RELACCENT,"\u297e":e.MO.REL,"\u297f":e.MO.REL,"\u2981":e.MO.BIN3,"\u2982":e.MO.BIN3,"\u2999":e.MO.BIN3,"\u299a":e.MO.BIN3,"\u299b":e.MO.BIN3,"\u299c":e.MO.BIN3,"\u299d":e.MO.BIN3,"\u299e":e.MO.BIN3,"\u299f":e.MO.BIN3,"\u29a0":e.MO.BIN3,"\u29a1":e.MO.BIN3,"\u29a2":e.MO.BIN3,"\u29a3":e.MO.BIN3,"\u29a4":e.MO.BIN3,"\u29a5":e.MO.BIN3,"\u29a6":e.MO.BIN3,"\u29a7":e.MO.BIN3,"\u29a8":e.MO.BIN3,"\u29a9":e.MO.BIN3,"\u29aa":e.MO.BIN3,"\u29ab":e.MO.BIN3,"\u29ac":e.MO.BIN3,"\u29ad":e.MO.BIN3,"\u29ae":e.MO.BIN3,"\u29af":e.MO.BIN3,"\u29b0":e.MO.BIN3,"\u29b1":e.MO.BIN3,"\u29b2":e.MO.BIN3,"\u29b3":e.MO.BIN3,"\u29b4":e.MO.BIN3,"\u29b5":e.MO.BIN3,"\u29b6":e.MO.BIN4,"\u29b7":e.MO.BIN4,"\u29b8":e.MO.BIN4,"\u29b9":e.MO.BIN4,"\u29ba":e.MO.BIN4,"\u29bb":e.MO.BIN4,"\u29bc":e.MO.BIN4,"\u29bd":e.MO.BIN4,"\u29be":e.MO.BIN4,"\u29bf":e.MO.BIN4,"\u29c0":e.MO.REL,"\u29c1":e.MO.REL,"\u29c2":e.MO.BIN3,"\u29c3":e.MO.BIN3,"\u29c4":e.MO.BIN4,"\u29c5":e.MO.BIN4,"\u29c6":e.MO.BIN4,"\u29c7":e.MO.BIN4,"\u29c8":e.MO.BIN4,"\u29c9":e.MO.BIN3,"\u29ca":e.MO.BIN3,"\u29cb":e.MO.BIN3,"\u29cc":e.MO.BIN3,"\u29cd":e.MO.BIN3,"\u29ce":e.MO.REL,"\u29cf":e.MO.REL,"\u29cf\u0338":e.MO.REL,"\u29d0":e.MO.REL,"\u29d0\u0338":e.MO.REL,"\u29d1":e.MO.REL,"\u29d2":e.MO.REL,"\u29d3":e.MO.REL,"\u29d4":e.MO.REL,"\u29d5":e.MO.REL,"\u29d6":e.MO.BIN4,"\u29d7":e.MO.BIN4,"\u29d8":e.MO.BIN3,"\u29d9":e.MO.BIN3,"\u29db":e.MO.BIN3,"\u29dc":e.MO.BIN3,"\u29dd":e.MO.BIN3,"\u29de":e.MO.REL,"\u29df":e.MO.BIN3,"\u29e0":e.MO.BIN3,"\u29e1":e.MO.REL,"\u29e2":e.MO.BIN4,"\u29e3":e.MO.REL,"\u29e4":e.MO.REL,"\u29e5":e.MO.REL,"\u29e6":e.MO.REL,"\u29e7":e.MO.BIN3,"\u29e8":e.MO.BIN3,"\u29e9":e.MO.BIN3,"\u29ea":e.MO.BIN3,"\u29eb":e.MO.BIN3,"\u29ec":e.MO.BIN3,"\u29ed":e.MO.BIN3,"\u29ee":e.MO.BIN3,"\u29ef":e.MO.BIN3,"\u29f0":e.MO.BIN3,"\u29f1":e.MO.BIN3,"\u29f2":e.MO.BIN3,"\u29f3":e.MO.BIN3,"\u29f4":e.MO.REL,"\u29f5":e.MO.BIN4,"\u29f6":e.MO.BIN4,"\u29f7":e.MO.BIN4,"\u29f8":e.MO.BIN3,"\u29f9":e.MO.BIN3,"\u29fa":e.MO.BIN3,"\u29fb":e.MO.BIN3,"\u29fe":e.MO.BIN4,"\u29ff":e.MO.BIN4,"\u2a1d":e.MO.BIN3,"\u2a1e":e.MO.BIN3,"\u2a1f":e.MO.BIN3,"\u2a20":e.MO.BIN3,"\u2a21":e.MO.BIN3,"\u2a22":e.MO.BIN4,"\u2a23":e.MO.BIN4,"\u2a24":e.MO.BIN4,"\u2a25":e.MO.BIN4,"\u2a26":e.MO.BIN4,"\u2a27":e.MO.BIN4,"\u2a28":e.MO.BIN4,"\u2a29":e.MO.BIN4,"\u2a2a":e.MO.BIN4,"\u2a2b":e.MO.BIN4,"\u2a2c":e.MO.BIN4,"\u2a2d":e.MO.BIN4,"\u2a2e":e.MO.BIN4,"\u2a2f":e.MO.BIN4,"\u2a30":e.MO.BIN4,"\u2a31":e.MO.BIN4,"\u2a32":e.MO.BIN4,"\u2a33":e.MO.BIN4,"\u2a34":e.MO.BIN4,"\u2a35":e.MO.BIN4,"\u2a36":e.MO.BIN4,"\u2a37":e.MO.BIN4,"\u2a38":e.MO.BIN4,"\u2a39":e.MO.BIN4,"\u2a3a":e.MO.BIN4,"\u2a3b":e.MO.BIN4,"\u2a3c":e.MO.BIN4,"\u2a3d":e.MO.BIN4,"\u2a3e":e.MO.BIN4,"\u2a3f":e.MO.BIN4,"\u2a40":e.MO.BIN4,"\u2a41":e.MO.BIN4,"\u2a42":e.MO.BIN4,"\u2a43":e.MO.BIN4,"\u2a44":e.MO.BIN4,"\u2a45":e.MO.BIN4,"\u2a46":e.MO.BIN4,"\u2a47":e.MO.BIN4,"\u2a48":e.MO.BIN4,"\u2a49":e.MO.BIN4,"\u2a4a":e.MO.BIN4,"\u2a4b":e.MO.BIN4,"\u2a4c":e.MO.BIN4,"\u2a4d":e.MO.BIN4,"\u2a4e":e.MO.BIN4,"\u2a4f":e.MO.BIN4,"\u2a50":e.MO.BIN4,"\u2a51":e.MO.BIN4,"\u2a52":e.MO.BIN4,"\u2a53":e.MO.BIN4,"\u2a54":e.MO.BIN4,"\u2a55":e.MO.BIN4,"\u2a56":e.MO.BIN4,"\u2a57":e.MO.BIN4,"\u2a58":e.MO.BIN4,"\u2a59":e.MO.REL,"\u2a5a":e.MO.BIN4,"\u2a5b":e.MO.BIN4,"\u2a5c":e.MO.BIN4,"\u2a5d":e.MO.BIN4,"\u2a5e":e.MO.BIN4,"\u2a5f":e.MO.BIN4,"\u2a60":e.MO.BIN4,"\u2a61":e.MO.BIN4,"\u2a62":e.MO.BIN4,"\u2a63":e.MO.BIN4,"\u2a64":e.MO.BIN4,"\u2a65":e.MO.BIN4,"\u2a66":e.MO.REL,"\u2a67":e.MO.REL,"\u2a68":e.MO.REL,"\u2a69":e.MO.REL,"\u2a6a":e.MO.REL,"\u2a6b":e.MO.REL,"\u2a6c":e.MO.REL,"\u2a6d":e.MO.REL,"\u2a6e":e.MO.REL,"\u2a6f":e.MO.REL,"\u2a70":e.MO.REL,"\u2a71":e.MO.BIN4,"\u2a72":e.MO.BIN4,"\u2a73":e.MO.REL,"\u2a74":e.MO.REL,"\u2a75":e.MO.REL,"\u2a76":e.MO.REL,"\u2a77":e.MO.REL,"\u2a78":e.MO.REL,"\u2a79":e.MO.REL,"\u2a7a":e.MO.REL,"\u2a7b":e.MO.REL,"\u2a7c":e.MO.REL,"\u2a7d":e.MO.REL,"\u2a7d\u0338":e.MO.REL,"\u2a7e":e.MO.REL,"\u2a7e\u0338":e.MO.REL,"\u2a7f":e.MO.REL,"\u2a80":e.MO.REL,"\u2a81":e.MO.REL,"\u2a82":e.MO.REL,"\u2a83":e.MO.REL,"\u2a84":e.MO.REL,"\u2a85":e.MO.REL,"\u2a86":e.MO.REL,"\u2a87":e.MO.REL,"\u2a88":e.MO.REL,"\u2a89":e.MO.REL,"\u2a8a":e.MO.REL,"\u2a8b":e.MO.REL,"\u2a8c":e.MO.REL,"\u2a8d":e.MO.REL,"\u2a8e":e.MO.REL,"\u2a8f":e.MO.REL,"\u2a90":e.MO.REL,"\u2a91":e.MO.REL,"\u2a92":e.MO.REL,"\u2a93":e.MO.REL,"\u2a94":e.MO.REL,"\u2a95":e.MO.REL,"\u2a96":e.MO.REL,"\u2a97":e.MO.REL,"\u2a98":e.MO.REL,"\u2a99":e.MO.REL,"\u2a9a":e.MO.REL,"\u2a9b":e.MO.REL,"\u2a9c":e.MO.REL,"\u2a9d":e.MO.REL,"\u2a9e":e.MO.REL,"\u2a9f":e.MO.REL,"\u2aa0":e.MO.REL,"\u2aa1":e.MO.REL,"\u2aa1\u0338":e.MO.REL,"\u2aa2":e.MO.REL,"\u2aa2\u0338":e.MO.REL,"\u2aa3":e.MO.REL,"\u2aa4":e.MO.REL,"\u2aa5":e.MO.REL,"\u2aa6":e.MO.REL,"\u2aa7":e.MO.REL,"\u2aa8":e.MO.REL,"\u2aa9":e.MO.REL,"\u2aaa":e.MO.REL,"\u2aab":e.MO.REL,"\u2aac":e.MO.REL,"\u2aad":e.MO.REL,"\u2aae":e.MO.REL,"\u2aaf":e.MO.REL,"\u2aaf\u0338":e.MO.REL,"\u2ab0":e.MO.REL,"\u2ab0\u0338":e.MO.REL,"\u2ab1":e.MO.REL,"\u2ab2":e.MO.REL,"\u2ab3":e.MO.REL,"\u2ab4":e.MO.REL,"\u2ab5":e.MO.REL,"\u2ab6":e.MO.REL,"\u2ab7":e.MO.REL,"\u2ab8":e.MO.REL,"\u2ab9":e.MO.REL,"\u2aba":e.MO.REL,"\u2abb":e.MO.REL,"\u2abc":e.MO.REL,"\u2abd":e.MO.REL,"\u2abe":e.MO.REL,"\u2abf":e.MO.REL,"\u2ac0":e.MO.REL,"\u2ac1":e.MO.REL,"\u2ac2":e.MO.REL,"\u2ac3":e.MO.REL,"\u2ac4":e.MO.REL,"\u2ac5":e.MO.REL,"\u2ac6":e.MO.REL,"\u2ac7":e.MO.REL,"\u2ac8":e.MO.REL,"\u2ac9":e.MO.REL,"\u2aca":e.MO.REL,"\u2acb":e.MO.REL,"\u2acc":e.MO.REL,"\u2acd":e.MO.REL,"\u2ace":e.MO.REL,"\u2acf":e.MO.REL,"\u2ad0":e.MO.REL,"\u2ad1":e.MO.REL,"\u2ad2":e.MO.REL,"\u2ad3":e.MO.REL,"\u2ad4":e.MO.REL,"\u2ad5":e.MO.REL,"\u2ad6":e.MO.REL,"\u2ad7":e.MO.REL,"\u2ad8":e.MO.REL,"\u2ad9":e.MO.REL,"\u2ada":e.MO.REL,"\u2adb":e.MO.REL,"\u2adc":e.MO.REL,"\u2add":e.MO.REL,"\u2ade":e.MO.REL,"\u2adf":e.MO.REL,"\u2ae0":e.MO.REL,"\u2ae1":e.MO.REL,"\u2ae2":e.MO.REL,"\u2ae3":e.MO.REL,"\u2ae4":e.MO.REL,"\u2ae5":e.MO.REL,"\u2ae6":e.MO.REL,"\u2ae7":e.MO.REL,"\u2ae8":e.MO.REL,"\u2ae9":e.MO.REL,"\u2aea":e.MO.REL,"\u2aeb":e.MO.REL,"\u2aec":e.MO.REL,"\u2aed":e.MO.REL,"\u2aee":e.MO.REL,"\u2aef":e.MO.REL,"\u2af0":e.MO.REL,"\u2af1":e.MO.REL,"\u2af2":e.MO.REL,"\u2af3":e.MO.REL,"\u2af4":e.MO.BIN4,"\u2af5":e.MO.BIN4,"\u2af6":e.MO.BIN4,"\u2af7":e.MO.REL,"\u2af8":e.MO.REL,"\u2af9":e.MO.REL,"\u2afa":e.MO.REL,"\u2afb":e.MO.BIN4,"\u2afd":e.MO.BIN4,"\u2afe":e.MO.BIN3,"\u2b45":e.MO.RELSTRETCH,"\u2b46":e.MO.RELSTRETCH,"\u3008":e.MO.OPEN,"\u3009":e.MO.CLOSE,"\ufe37":e.MO.WIDEACCENT,"\ufe38":e.MO.WIDEACCENT}},e.OPTABLE.infix["^"]=e.MO.WIDEREL,e.OPTABLE.infix._=e.MO.WIDEREL,e.OPTABLE.prefix["\u2223"]=e.MO.OPEN,e.OPTABLE.prefix["\u2225"]=e.MO.OPEN,e.OPTABLE.postfix["\u2223"]=e.MO.CLOSE,e.OPTABLE.postfix["\u2225"]=e.MO.CLOSE},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlTokenNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"mtext"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"isSpacelike",{get:function(){return!0},enumerable:!0,configurable:!0}),u.defaults=i({},a.AbstractMmlTokenNode.defaults),u);function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texClass=a.TEXCLASS.ORD,t}e.MmlMtext=l},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlTokenNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"mspace"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"arity",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"isSpacelike",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"hasNewline",{get:function(){var t=this.attributes;return null==t.getExplicit("width")&&null==t.getExplicit("height")&&null==t.getExplicit("depth")&&"newline"===t.get("linebreak")},enumerable:!0,configurable:!0}),u.defaults=i(i({},a.AbstractMmlTokenNode.defaults),{width:"0em",height:"0ex",depth:"0ex",linebreak:"auto"}),u);function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texClass=a.TEXCLASS.ORD,t}e.MmlMspace=l},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlTokenNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"ms"},enumerable:!0,configurable:!0}),u.defaults=i(i({},a.AbstractMmlTokenNode.defaults),{lquote:'"',rquote:'"'}),u);function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texClass=a.TEXCLASS.ORD,t}e.MmlMs=l},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},u=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var s,c=r(0),a=(s=c.AbstractMmlNode,o(l,s),Object.defineProperty(l.prototype,"kind",{get:function(){return"mrow"},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"isSpacelike",{get:function(){var e,t;try{for(var r=u(this.childNodes),n=r.next();!n.done;n=r.next())if(!n.value.isSpacelike)return!1}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return!0},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"isEmbellished",{get:function(){var e,t,r=!1,n=0;try{for(var o=u(this.childNodes),i=o.next();!i.done;i=o.next()){var s=i.value;if(s)if(s.isEmbellished){if(r)return!1;r=!0,this._core=n}else if(!s.isSpacelike)return!1;n++}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return r},enumerable:!0,configurable:!0}),l.prototype.core=function(){return this.isEmbellished&&null!=this._core?this.childNodes[this._core]:this},l.prototype.coreMO=function(){return this.isEmbellished&&null!=this._core?this.childNodes[this._core].coreMO():this},l.prototype.nonSpaceLength=function(){var e,t,r=0;try{for(var n=u(this.childNodes),o=n.next();!o.done;o=n.next()){var i=o.value;i&&!i.isSpacelike&&r++}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},l.prototype.firstNonSpace=function(){var e,t;try{for(var r=u(this.childNodes),n=r.next();!n.done;n=r.next()){var o=n.value;if(o&&!o.isSpacelike)return o}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return null},l.prototype.lastNonSpace=function(){for(var t=this.childNodes.length;0<=--t;){var e=this.childNodes[t];if(e&&!e.isSpacelike)return e}return null},l.prototype.setTeXclass=function(t){var e,r,n,o;if(null==this.getProperty("open")&&null==this.getProperty("close")||t&&null==t.getProperty("fnOp")){try{for(var i=u(this.childNodes),s=i.next();!s.done;s=i.next())t=s.value.setTeXclass(t)}catch(t){n={error:t}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}this.childNodes[0]&&this.updateTeXclass(this.childNodes[0])}else{this.getPrevClass(t),t=null;try{for(var a=u(this.childNodes),l=a.next();!l.done;l=a.next())t=l.value.setTeXclass(t)}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}null==this.texClass&&(this.texClass=c.TEXCLASS.INNER)}return t},l.defaults=i({},c.AbstractMmlNode.defaults),l);function l(){var t=null!==s&&s.apply(this,arguments)||this;return t._core=null,t}e.MmlMrow=a;var p,f=(o(h,p=a),Object.defineProperty(h.prototype,"kind",{get:function(){return"inferredMrow"},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"isInferred",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"notParent",{get:function(){return!0},enumerable:!0,configurable:!0}),h.prototype.toString=function(){return"["+this.childNodes.join(",")+"]"},h.defaults=a.defaults,h);function h(){return null!==p&&p.apply(this,arguments)||this}e.MmlInferredMrow=f},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},s=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var a,l=r(0),u=(a=l.AbstractMmlBaseNode,o(c,a),Object.defineProperty(c.prototype,"kind",{get:function(){return"mfrac"},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"arity",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"linebreakContainer",{get:function(){return!0},enumerable:!0,configurable:!0}),c.prototype.setTeXclass=function(t){var e,r;this.getPrevClass(t);try{for(var n=s(this.childNodes),o=n.next();!o.done;o=n.next())o.value.setTeXclass(null)}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return this},c.prototype.setChildInheritedAttributes=function(t,e,r,n){(!e||0<r)&&r++,this.childNodes[0].setInheritedAttributes(t,!1,r,n),this.childNodes[1].setInheritedAttributes(t,!1,r,!0)},c.defaults=i(i({},l.AbstractMmlBaseNode.defaults),{linethickness:"medium",numalign:"center",denomalign:"center",bevelled:!1}),c);function c(){return null!==a&&a.apply(this,arguments)||this}e.MmlMfrac=u},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"msqrt"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"arity",{get:function(){return-1},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"linebreakContainer",{get:function(){return!0},enumerable:!0,configurable:!0}),u.prototype.setTeXclass=function(t){return this.getPrevClass(t),this.childNodes[0].setTeXclass(null),this},u.prototype.setChildInheritedAttributes=function(t,e,r,n){this.childNodes[0].setInheritedAttributes(t,e,r,!0)},u.defaults=i({},a.AbstractMmlNode.defaults),u);function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texClass=a.TEXCLASS.ORD,t}e.MmlMsqrt=l},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"mroot"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"arity",{get:function(){return 2},enumerable:!0,configurable:!0}),u.prototype.setChildInheritedAttributes=function(t,e,r,n){this.childNodes[0].setInheritedAttributes(t,e,r,!0),this.childNodes[1].setInheritedAttributes(t,!1,r+2,n)},u.defaults=i({},a.AbstractMmlNode.defaults),u);function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texClass=a.TEXCLASS.ORD,t}e.MmlMroot=l},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=r(2),u=(s=a.AbstractMmlLayoutNode,o(c,s),Object.defineProperty(c.prototype,"kind",{get:function(){return"mstyle"},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"notParent",{get:function(){return!0},enumerable:!0,configurable:!0}),c.prototype.setChildInheritedAttributes=function(t,e,r,n){var o=this.attributes.getExplicit("scriptlevel");null!=o&&((o=o.toString()).match(/^\s*[-+]/)?r+=parseInt(o):r=parseInt(o));var i=this.attributes.getExplicit("displaystyle");null!=i&&(e=!0===i),t=this.addInheritedAttributes(t,this.attributes.getAllAttributes()),this.childNodes[0].setInheritedAttributes(t,e,r,n)},c.defaults=i(i({},a.AbstractMmlLayoutNode.defaults),{scriptlevel:l.INHERIT,displaystyle:l.INHERIT,scriptsizemultiplier:1/Math.sqrt(2),scriptminsize:"8px",mathbackground:l.INHERIT,mathcolor:l.INHERIT,dir:l.INHERIT,infixlinebreakstyle:"before"}),c);function c(){return null!==s&&s.apply(this,arguments)||this}e.MmlMstyle=u},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"merror"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"arity",{get:function(){return-1},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"linebreakContainer",{get:function(){return!0},enumerable:!0,configurable:!0}),u.defaults=i({},a.AbstractMmlNode.defaults),u);function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texClass=a.TEXCLASS.ORD,t}e.MmlMerror=l},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlLayoutNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"mpadded"},enumerable:!0,configurable:!0}),u.defaults=i(i({},a.AbstractMmlLayoutNode.defaults),{width:"",height:"",depth:"",lspace:0,voffset:0}),u);function u(){return null!==s&&s.apply(this,arguments)||this}e.MmlMpadded=l},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlLayoutNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"mphantom"},enumerable:!0,configurable:!0}),u.defaults=i({},a.AbstractMmlLayoutNode.defaults),u);function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texClass=a.TEXCLASS.ORD,t}e.MmlMphantom=l},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},u=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var c,p=r(0),s=(c=p.AbstractMmlNode,o(a,c),Object.defineProperty(a.prototype,"kind",{get:function(){return"mfenced"},enumerable:!0,configurable:!0}),a.prototype.setTeXclass=function(t){this.getPrevClass(t),this.open&&(t=this.open.setTeXclass(t)),this.childNodes[0]&&(t=this.childNodes[0].setTeXclass(t));for(var e=1,r=this.childNodes.length;e<r;e++)this.separators[e-1]&&(t=this.separators[e-1].setTeXclass(t)),this.childNodes[e]&&(t=this.childNodes[e].setTeXclass(t));return this.close&&(t=this.close.setTeXclass(t)),this.updateTeXclass(this.open),t},a.prototype.setChildInheritedAttributes=function(t,e,r,n){var o,i;this.addFakeNodes();try{for(var s=u([this.open,this.close].concat(this.separators)),a=s.next();!a.done;a=s.next()){var l=a.value;l&&l.setInheritedAttributes(t,e,r,n)}}catch(t){o={error:t}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}c.prototype.setChildInheritedAttributes.call(this,t,e,r,n)},a.prototype.addFakeNodes=function(){var e,t,r=this.attributes.getList("open","close","separators"),n=r.open,o=r.close,i=r.separators;if(n=n.replace(/[ \t\n\r]/g,""),o=o.replace(/[ \t\n\r]/g,""),i=i.replace(/[ \t\n\r]/g,""),n&&(this.open=this.fakeNode(n,{fence:!0,form:"prefix"},p.TEXCLASS.OPEN)),i){for(;i.length<this.childNodes.length-1;)i+=i.charAt(i.length-1);var s=0;try{for(var a=u(this.childNodes.slice(1)),l=a.next();!l.done;l=a.next())l.value&&this.separators.push(this.fakeNode(i.charAt(s++)))}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}}o&&(this.close=this.fakeNode(o,{fence:!0,form:"postfix"},p.TEXCLASS.CLOSE))},a.prototype.fakeNode=function(t,e,r){void 0===e&&(e={}),void 0===r&&(r=null);var n=this.factory.create("text").setText(t),o=this.factory.create("mo",e,[n]);return o.texClass=r,o.parent=this,o},a.defaults=i(i({},p.AbstractMmlNode.defaults),{open:"(",close:")",separators:","}),a);function a(){var t=null!==c&&c.apply(this,arguments)||this;return t.texClass=p.TEXCLASS.INNER,t.separators=[],t.open=null,t.close=null,t}e.MmlMfenced=s},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"menclose"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"arity",{get:function(){return-1},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"linebreakContininer",{get:function(){return!0},enumerable:!0,configurable:!0}),u.prototype.setTeXclass=function(t){return t=this.childNodes[0].setTeXclass(t),this.updateTeXclass(this.childNodes[0]),t},u.defaults=i(i({},a.AbstractMmlNode.defaults),{notation:"longdiv"}),u);function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texClass=a.TEXCLASS.ORD,t}e.MmlMenclose=l},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"maction"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"arity",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"selected",{get:function(){var t=this.attributes.get("selection"),e=Math.max(1,Math.min(this.childNodes.length,t))-1;return this.childNodes[e]||this.factory.create("mrow")},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"isEmbellished",{get:function(){return this.selected.isEmbellished},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"isSpacelike",{get:function(){return this.selected.isSpacelike},enumerable:!0,configurable:!0}),u.prototype.core=function(){return this.selected.core()},u.prototype.coreMO=function(){return this.selected.coreMO()},u.prototype.verifyAttributes=function(t){s.prototype.verifyAttributes.call(this,t),"toggle"!==this.attributes.get("actiontype")&&void 0!==this.attributes.getExplicit("selection")&&delete this.attributes.getAllAttributes().selection},u.prototype.setTeXclass=function(t){"tooltip"===this.attributes.get("actiontype")&&this.childNodes[1]&&this.childNodes[1].setTeXclass(null);var e=this.selected;return t=e.setTeXclass(t),this.updateTeXclass(e),t},u.prototype.nextToggleSelection=function(){var t=Math.max(1,this.attributes.get("selection")+1);t>this.childNodes.length&&(t=1),this.attributes.set("selection",t)},u.defaults=i(i({},a.AbstractMmlNode.defaults),{actiontype:"toggle",selection:1}),u);function u(){return null!==s&&s.apply(this,arguments)||this}e.MmlMaction=l},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlBaseNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"munderover"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"arity",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"base",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"under",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"over",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"linebreakContainer",{get:function(){return!0},enumerable:!0,configurable:!0}),u.prototype.setChildInheritedAttributes=function(t,e,r,n){var o=this.childNodes;o[0].setInheritedAttributes(t,e,r,n||!!o[this.over]);var i=!(e||!o[0].coreMO().attributes.get("movablelimits")),s=this.constructor.ACCENTS;o[1].setInheritedAttributes(t,!1,this.getScriptlevel(s[1],i,r),n||1===this.under),this.setInheritedAccent(1,s[1],e,r,n,i),o[2]&&(o[2].setInheritedAttributes(t,!1,this.getScriptlevel(s[2],i,r),n||2===this.under),this.setInheritedAccent(2,s[2],e,r,n,i))},u.prototype.getScriptlevel=function(t,e,r){return!e&&this.attributes.get(t)||r++,r},u.prototype.setInheritedAccent=function(t,e,r,n,o,i){var s=this.childNodes[t];if(null==this.attributes.getExplicit(e)&&s.isEmbellished){var a=s.coreMO().attributes.get("accent");this.attributes.setInherited(e,a),a!==this.attributes.getDefault(e)&&s.setInheritedAttributes({},r,this.getScriptlevel(e,i,n),o)}},u.defaults=i(i({},a.AbstractMmlBaseNode.defaults),{accent:!1,accentunder:!1,align:"center"}),u.ACCENTS=["","accentunder","accent"],u);function u(){return null!==s&&s.apply(this,arguments)||this}e.MmlMunderover=l;var c,p=(o(f,c=l),Object.defineProperty(f.prototype,"kind",{get:function(){return"munder"},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"arity",{get:function(){return 2},enumerable:!0,configurable:!0}),f.defaults=i({},l.defaults),f);function f(){return null!==c&&c.apply(this,arguments)||this}e.MmlMunder=p;var h,d=(o(y,h=l),Object.defineProperty(y.prototype,"kind",{get:function(){return"mover"},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"arity",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"over",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"under",{get:function(){return 2},enumerable:!0,configurable:!0}),y.defaults=i({},l.defaults),y.ACCENTS=["","accent","accentunder"],y);function y(){return null!==h&&h.apply(this,arguments)||this}e.MmlMover=d},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=r(14),u=(s=l.MmlMsubsup,o(c,s),Object.defineProperty(c.prototype,"kind",{get:function(){return"mmultiscripts"},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"arity",{get:function(){return 1},enumerable:!0,configurable:!0}),c.prototype.setChildInheritedAttributes=function(t,e,r,n){this.childNodes[0].setInheritedAttributes(t,e,r,n);for(var o=!1,i=1,s=0;i<this.childNodes.length;i++){var a=this.childNodes[i];if(a.isKind("mprescripts")){if(!o&&(o=!0,i%2==0)){var l=this.factory.create("mrow");this.childNodes.splice(i,0,l),l.parent=this,i++}}else{var u=n||s%2==0;a.setInheritedAttributes(t,!1,r+1,u),s++}}this.childNodes.length%2==(o?1:0)&&(this.appendChild(this.factory.create("mrow")),this.childNodes[this.childNodes.length-1].setInheritedAttributes(t,!1,r+1,n))},c.prototype.verifyChildren=function(t){for(var e=!1,r=t.fixMmultiscripts,n=0;n<this.childNodes.length;n++){var o=this.childNodes[n];o.isKind("mprescripts")&&(e?o.mError(o.kind+" can only appear once in "+this.kind,t,!0):(e=!0,n%2!=0||r||this.mError("There must be an equal number of prescripts of each type",t)))}this.childNodes.length%2!=(e?1:0)||r||this.mError("There must be an equal number of scripts of each type",t),s.prototype.verifyChildren.call(this,t)},c.defaults=i({},l.MmlMsubsup.defaults),c);function c(){return null!==s&&s.apply(this,arguments)||this}e.MmlMmultiscripts=u;var p,f=(p=a.AbstractMmlNode,o(h,p),Object.defineProperty(h.prototype,"kind",{get:function(){return"mprescripts"},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"arity",{get:function(){return 0},enumerable:!0,configurable:!0}),h.prototype.verifyTree=function(t){p.prototype.verifyTree.call(this,t),this.parent&&!this.parent.isKind("mmultiscripts")&&this.mError(this.kind+" must be a child of mmultiscripts",t,!0)},h.defaults=i({},a.AbstractMmlNode.defaults),h);function h(){return null!==p&&p.apply(this,arguments)||this}e.MmlMprescripts=f;var d,y=(d=a.AbstractMmlNode,o(O,d),Object.defineProperty(O.prototype,"kind",{get:function(){return"none"},enumerable:!0,configurable:!0}),Object.defineProperty(O.prototype,"arity",{get:function(){return 0},enumerable:!0,configurable:!0}),O.prototype.verifyTree=function(t){d.prototype.verifyTree.call(this,t),this.parent&&!this.parent.isKind("mmultiscripts")&&this.mError(this.kind+" must be a child of mmultiscripts",t,!0)},O.defaults=i({},a.AbstractMmlNode.defaults),O);function O(){return null!==d&&d.apply(this,arguments)||this}e.MmlNone=y},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},d=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var u,c=r(0),y=r(15),s=(u=c.AbstractMmlNode,o(a,u),Object.defineProperty(a.prototype,"kind",{get:function(){return"mtable"},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"linebreakContainer",{get:function(){return!0},enumerable:!0,configurable:!0}),a.prototype.setInheritedAttributes=function(t,e,r,n){var o,i;try{for(var s=d(c.indentAttributes),a=s.next();!a.done;a=s.next()){var l=a.value;t[l]&&this.attributes.setInherited(l,t[l][1]),void 0!==this.attributes.getExplicit(l)&&delete this.attributes.getAllAttributes()[l]}}catch(t){o={error:t}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}u.prototype.setInheritedAttributes.call(this,t,e,r,n)},a.prototype.setChildInheritedAttributes=function(t,e,r,n){var o,i,s,a;try{for(var l=d(this.childNodes),u=l.next();!u.done;u=l.next())(h=u.value).isKind("mtr")||this.replaceChild(this.factory.create("mtr"),h).appendChild(h)}catch(t){o={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}e=!(!this.attributes.getExplicit("displaystyle")&&!this.attributes.getDefault("displaystyle")),t=this.addInheritedAttributes(t,{columnalign:this.attributes.get("columnalign"),rowalign:"center"});var c=y.split(this.attributes.get("rowalign"));try{for(var p=d(this.childNodes),f=p.next();!f.done;f=p.next()){var h=f.value;t.rowalign[1]=c.shift()||t.rowalign[1],h.setInheritedAttributes(t,e,r,n)}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}},a.prototype.verifyChildren=function(t){var e,r;if(!t.fixMtables)try{for(var n=d(this.childNodes),o=n.next();!o.done;o=n.next())o.value.isKind("mtr")||this.mError("Children of "+this.kind+" must be mtr or mlabeledtr",t)}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}u.prototype.verifyChildren.call(this,t)},a.prototype.setTeXclass=function(t){var e,r;this.getPrevClass(t);try{for(var n=d(this.childNodes),o=n.next();!o.done;o=n.next())o.value.setTeXclass(null)}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return this},a.defaults=i(i({},c.AbstractMmlNode.defaults),{align:"axis",rowalign:"baseline",columnalign:"center",groupalign:"{left}",alignmentscope:!0,columnwidth:"auto",width:"auto",rowspacing:"1ex",columnspacing:".8em",rowlines:"none",columnlines:"none",frame:"none",framespacing:"0.4em 0.5ex",equalrows:!1,equalcolumns:!1,displaystyle:!1,side:"right",minlabelspacing:"0.8em"}),a);function a(){var t=null!==u&&u.apply(this,arguments)||this;return t.properties={useHeight:1},t.texClass=c.TEXCLASS.ORD,t}e.MmlMtable=s},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},d=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=r(2),y=r(15),u=(s=a.AbstractMmlNode,o(c,s),Object.defineProperty(c.prototype,"kind",{get:function(){return"mtr"},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"linebreakContainer",{get:function(){return!0},enumerable:!0,configurable:!0}),c.prototype.setChildInheritedAttributes=function(t,e,r,n){var o,i,s,a;try{for(var l=d(this.childNodes),u=l.next();!u.done;u=l.next())(h=u.value).isKind("mtd")||this.replaceChild(this.factory.create("mtd"),h).appendChild(h)}catch(t){o={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}var c=y.split(this.attributes.get("columnalign"));1===this.arity&&c.unshift(this.parent.attributes.get("side")),t=this.addInheritedAttributes(t,{rowalign:this.attributes.get("rowalign"),columnalign:"center"});try{for(var p=d(this.childNodes),f=p.next();!f.done;f=p.next()){var h=f.value;t.columnalign[1]=c.shift()||t.columnalign[1],h.setInheritedAttributes(t,e,r,n)}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}},c.prototype.verifyChildren=function(t){var e,r;if(!this.parent||this.parent.isKind("mtable")){if(!t.fixMtables)try{for(var n=d(this.childNodes),o=n.next();!o.done;o=n.next()){var i=o.value;i.isKind("mtd")||this.replaceChild(this.factory.create("mtr"),i).mError("Children of "+this.kind+" must be mtd",t,!0)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}s.prototype.verifyChildren.call(this,t)}else this.mError(this.kind+" can only be a child of an mtable",t,!0)},c.prototype.setTeXclass=function(t){var e,r;this.getPrevClass(t);try{for(var n=d(this.childNodes),o=n.next();!o.done;o=n.next())o.value.setTeXclass(null)}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return this},c.defaults=i(i({},a.AbstractMmlNode.defaults),{rowalign:l.INHERIT,columnalign:l.INHERIT,groupalign:l.INHERIT}),c);function c(){return null!==s&&s.apply(this,arguments)||this}e.MmlMtr=u;var p,f=(o(h,p=u),Object.defineProperty(h.prototype,"kind",{get:function(){return"mlabeledtr"},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"arity",{get:function(){return 1},enumerable:!0,configurable:!0}),h);function h(){return null!==p&&p.apply(this,arguments)||this}e.MmlMlabeledtr=f},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=r(2),u=(s=a.AbstractMmlBaseNode,o(c,s),Object.defineProperty(c.prototype,"kind",{get:function(){return"mtd"},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"arity",{get:function(){return-1},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"linebreakContainer",{get:function(){return!0},enumerable:!0,configurable:!0}),c.prototype.verifyChildren=function(t){!this.parent||this.parent.isKind("mtr")?s.prototype.verifyChildren.call(this,t):this.mError(this.kind+" can only be a child of an mtr or mlabeledtr",t,!0)},c.prototype.setTeXclass=function(t){return this.getPrevClass(t),this.childNodes[0].setTeXclass(null),this},c.defaults=i(i({},a.AbstractMmlBaseNode.defaults),{rowspan:1,columnspan:1,rowalign:l.INHERIT,columnalign:l.INHERIT,groupalign:l.INHERIT}),c);function c(){return null!==s&&s.apply(this,arguments)||this}e.MmlMtd=u},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=r(2),u=(s=a.AbstractMmlLayoutNode,o(c,s),Object.defineProperty(c.prototype,"kind",{get:function(){return"maligngroup"},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"isSpacelike",{get:function(){return!0},enumerable:!0,configurable:!0}),c.prototype.setChildInheritedAttributes=function(t,e,r,n){t=this.addInheritedAttributes(t,this.attributes.getAllAttributes()),s.prototype.setChildInheritedAttributes.call(this,t,e,r,n)},c.defaults=i(i({},a.AbstractMmlLayoutNode.defaults),{groupalign:l.INHERIT}),c);function c(){return null!==s&&s.apply(this,arguments)||this}e.MmlMaligngroup=u},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"malignmark"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"arity",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"isSpacelike",{get:function(){return!0},enumerable:!0,configurable:!0}),u.defaults=i(i({},a.AbstractMmlNode.defaults),{edge:"left"}),u);function u(){return null!==s&&s.apply(this,arguments)||this}e.MmlMalignmark=l},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlTokenNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"mglyph"},enumerable:!0,configurable:!0}),u.defaults=i(i({},a.AbstractMmlTokenNode.defaults),{alt:"",src:"",width:"auto",height:"auto",valign:"0em"}),u);function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texClass=a.TEXCLASS.ORD,t}e.MmlMglyph=l},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlBaseNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"semantics"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"arity",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"notParent",{get:function(){return!0},enumerable:!0,configurable:!0}),u.defaults=i(i({},a.AbstractMmlBaseNode.defaults),{definitionUrl:null,encoding:null}),u);function u(){return null!==s&&s.apply(this,arguments)||this}e.MmlSemantics=l;var c,p=(c=a.AbstractMmlNode,o(f,c),Object.defineProperty(f.prototype,"kind",{get:function(){return"annotation-xml"},enumerable:!0,configurable:!0}),f.prototype.setChildInheritedAttributes=function(){},f.defaults=i(i({},a.AbstractMmlNode.defaults),{definitionUrl:null,encoding:null,cd:"mathmlkeys",name:"",src:null}),f);function f(){return null!==c&&c.apply(this,arguments)||this}e.MmlAnnotationXML=p;var h,d=(o(y,h=p),Object.defineProperty(y.prototype,"kind",{get:function(){return"annotation"},enumerable:!0,configurable:!0}),y.defaults=i({},p.defaults),y);function y(){var t=null!==h&&h.apply(this,arguments)||this;return t.properties={isChars:!0},t}e.MmlAnnotation=d},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=r(13),u=(s=a.AbstractMmlBaseNode,o(c,s),Object.defineProperty(c.prototype,"kind",{get:function(){return"TeXAtom"},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"arity",{get:function(){return-1},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"notParent",{get:function(){return!0},enumerable:!0,configurable:!0}),c.prototype.setTeXclass=function(t){return this.childNodes[0].setTeXclass(null),this.adjustTeXclass(t)},c.prototype.adjustTeXclass=function(t){return t},c.defaults=i({},a.AbstractMmlBaseNode.defaults),c);function c(){var t=null!==s&&s.apply(this,arguments)||this;return t.texClass=a.TEXCLASS.ORD,t}(e.TeXAtom=u).prototype.adjustTeXclass=l.MmlMo.prototype.adjustTeXclass},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s,a=r(0),l=(s=a.AbstractMmlBaseNode,o(u,s),Object.defineProperty(u.prototype,"kind",{get:function(){return"mathchoice"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"arity",{get:function(){return 4},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"notParent",{get:function(){return!0},enumerable:!0,configurable:!0}),u.prototype.setInheritedAttributes=function(t,e,r,n){var o=e?0:Math.max(0,Math.min(r,2))+1,i=this.childNodes[o]||this.factory.create("mrow");this.parent.replaceChild(i,this),i.setInheritedAttributes(t,e,r,n)},u.defaults=i({},a.AbstractMmlBaseNode.defaults),u);function u(){return null!==s&&s.apply(this,arguments)||this}e.mathchoice=l},function(t,e,r){"use strict";var n,i=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},s=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(o(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var l=(u.allocate=function(){for(var e,t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{for(var o=a(r),i=o.next();!i.done;i=o.next()){var s=i.value;if(this.has(s))throw new Error("Bit already allocated for "+s);if(this.next===u.MAXBIT)throw new Error("Maximum number of bits already allocated");this.names.set(s,this.next),this.next<<=1}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}},u.has=function(t){return this.names.has(t)},u.prototype.set=function(t){this.bits|=this.getBit(t)},u.prototype.clear=function(t){this.bits&=~this.getBit(t)},u.prototype.isSet=function(t){return!!(this.bits&this.getBit(t))},u.prototype.reset=function(){this.bits=0},u.prototype.getBit=function(t){var e=this.constructor.names.get(t);if(!e)throw new Error("Unknown bit-field name: "+t);return e},u.MAXBIT=1<<31,u.next=1,u.names=new Map,u);function u(){this.bits=0}e.BitField=l,e.BitFieldClass=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r,n=(i(o,r=l),o);function o(){return null!==r&&r.apply(this,arguments)||this}return n.allocate.apply(n,s(t)),n}},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),s=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var i,a=r(3),l=(i=a.PrioritizedList,o(u,i),u.prototype.register=function(t){return this.add(t,t.priority)},u.prototype.unregister=function(t){this.remove(t)},u.prototype.handlesDocument=function(t){var e,r;try{for(var n=s(this),o=n.next();!o.done;o=n.next()){var i=o.value.item;if(i.handlesDocument(t))return i}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}throw new Error("Can't find handler for document")},u.prototype.document=function(t,e){return void 0===e&&(e=null),this.handlesDocument(t).create(t,e)},u);function u(){return null!==i&&i.apply(this,arguments)||this}e.HandlerList=l},function(t,e,r){"use strict";var l=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},n=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},u=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(n(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var c=r(11),o=(a.methodName=function(t){return"visit"+(t.charAt(0).toUpperCase()+t.substr(1)).replace(/[^a-z0-9_]/gi,"_")+"Node"},a.prototype.visitTree=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return this.visitNode.apply(this,u([t],e))},a.prototype.visitNode=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=this.nodeHandlers.get(t.kind)||this.visitDefault;return n.call.apply(n,u([this,t],e))},a.prototype.visitDefault=function(t){for(var e,r,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(t instanceof c.AbstractNode)try{for(var i=l(t.childNodes),s=i.next();!s.done;s=i.next()){var a=s.value;this.visitNode.apply(this,u([a],n))}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},a.prototype.setNodeHandler=function(t,e){this.nodeHandlers.set(t,e)},a.prototype.removeNodeHandler=function(t){this.nodeHandlers.delete(t)},a);function a(t){var e,r;this.nodeHandlers=new Map;try{for(var n=l(t.getKinds()),o=n.next();!o.done;o=n.next()){var i=o.value,s=this[a.methodName(i)];s&&this.nodeHandlers.set(i,s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}}e.AbstractVisitor=o},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},T=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},_=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var a,s=r(6),A=r(1),l=r(61),u=r(62),c=r(63),p=r(4),f=(a=s.AbstractMathDocument,o(h,a),h.prototype.findPosition=function(t,e,r,n){var o,i,s=this.adaptor;try{for(var a=_(n[t]),l=a.next();!l.done;l=a.next()){var u=l.value,c=T(u,2),p=c[0],f=c[1];if(e<=f&&"#text"===s.kind(p))return{node:p,n:Math.max(e,0),delim:r};e-=f}}catch(t){o={error:t}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}return{node:null,n:0,delim:r}},h.prototype.mathItem=function(t,e,r){var n=t.math,o=this.findPosition(t.n,t.start.n,t.open,r),i=this.findPosition(t.n,t.end.n,t.close,r);return new this.options.MathItem(n,e,t.display,o,i)},h.prototype.findMath=function(t){var e,r,n,o,i,s,a,l,u;if(!this.processed.isSet("findMath")){this.adaptor.document=this.document,t=A.userOptions({elements:this.options.elements||[this.adaptor.body(this.document)]},t);try{for(var c=_(this.adaptor.getElements(t.elements,this.document)),p=c.next();!p.done;p=c.next()){var f=p.value,h=T([null,null],2),d=h[0],y=h[1];try{for(var O=(n=void 0,_(this.inputJax)),M=O.next();!M.done;M=O.next()){var E=M.value,b=new this.options.MathList;if(E.processStrings){null===d&&(d=(i=T(this.domStrings.find(f),2))[0],y=i[1]);try{for(var v=(s=void 0,_(E.findMath(d))),m=v.next();!m.done;m=v.next()){var g=m.value;b.push(this.mathItem(g,E,y))}}catch(t){s={error:t}}finally{try{m&&!m.done&&(a=v.return)&&a.call(v)}finally{if(s)throw s.error}}}else try{for(var L=(l=void 0,_(E.findMath(f))),R=L.next();!R.done;R=L.next()){g=R.value;var N=new this.options.MathItem(g.math,E,g.display,g.start,g.end);b.push(N)}}catch(t){l={error:t}}finally{try{R&&!R.done&&(u=L.return)&&u.call(L)}finally{if(l)throw l.error}}this.math.merge(b)}}catch(t){n={error:t}}finally{try{M&&!M.done&&(o=O.return)&&o.call(O)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{p&&!p.done&&(r=c.return)&&r.call(c)}finally{if(e)throw e.error}}this.processed.set("findMath")}return this},h.prototype.updateDocument=function(){return this.processed.isSet("updateDocument")||(this.addPageElements(),this.addStyleSheet(),a.prototype.updateDocument.call(this),this.processed.set("updateDocument")),this},h.prototype.addPageElements=function(){var t=this.adaptor.body(this.document),e=this.documentPageElements();e&&this.adaptor.append(t,e)},h.prototype.addStyleSheet=function(){var t=this.documentStyleSheet();if(t){var e=this.adaptor.head(this.document),r=this.findSheet(e,this.adaptor.getAttribute(t,"id"));r?this.adaptor.replace(t,r):this.adaptor.append(e,t)}},h.prototype.findSheet=function(t,e){var r,n;if(e)try{for(var o=_(this.adaptor.tags(t,"style")),i=o.next();!i.done;i=o.next()){var s=i.value;if(this.adaptor.getAttribute(s,"id")===e)return s}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return null},h.prototype.removeFromDocument=function(t){var e,r;if(void 0===t&&(t=!1),this.processed.isSet("updateDocument"))try{for(var n=_(this.math),o=n.next();!o.done;o=n.next()){var i=o.value;i.state()>=p.STATE.INSERTED&&i.state(p.STATE.TYPESET,t)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return this.processed.clear("updateDocument"),this},h.prototype.documentStyleSheet=function(){return this.outputJax.styleSheet(this)},h.prototype.documentPageElements=function(){return this.outputJax.pageElements(this)},h.prototype.addStyles=function(t){this.styles.push(t)},h.prototype.getStyles=function(){return this.styles},h.KIND="HTML",h.OPTIONS=i(i({},s.AbstractMathDocument.OPTIONS),{renderActions:A.expandable(i(i({},s.AbstractMathDocument.OPTIONS.renderActions),{styles:[p.STATE.INSERTED+1,"","updateStyleSheet",!1]})),MathList:u.HTMLMathList,MathItem:l.HTMLMathItem,DomStrings:null}),h);function h(t,e,r){var n=this,o=T(A.separateOptions(r,c.HTMLDomStrings.OPTIONS),2),i=o[0],s=o[1];return(n=a.call(this,t,e,i)||this).domStrings=n.options.DomStrings||new c.HTMLDomStrings(s),n.domStrings.adaptor=e,n.styles=[],n}e.HTMLDocument=f},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i,s=r(4),a=(i=s.AbstractMathItem,o(l,i),Object.defineProperty(l.prototype,"adaptor",{get:function(){return this.inputJax.adaptor},enumerable:!0,configurable:!0}),l.prototype.updateDocument=function(t){if(this.state()<s.STATE.INSERTED){if(this.inputJax.processStrings){var e=this.start.node;if(e===this.end.node)this.end.n&&this.end.n<this.adaptor.value(this.end.node).length&&this.adaptor.split(this.end.node,this.end.n),this.start.n&&(e=this.adaptor.split(this.start.node,this.start.n)),this.adaptor.replace(this.typesetRoot,e);else{for(this.start.n&&(e=this.adaptor.split(e,this.start.n));e!==this.end.node;){var r=this.adaptor.next(e);this.adaptor.remove(e),e=r}this.adaptor.insert(this.typesetRoot,e),this.end.n<this.adaptor.value(e).length&&this.adaptor.split(e,this.end.n),this.adaptor.remove(e)}}else this.adaptor.replace(this.typesetRoot,this.start.node);this.start.node=this.end.node=this.typesetRoot,this.start.n=this.end.n=0,this.state(s.STATE.INSERTED)}},l.prototype.updateStyleSheet=function(t){t.addStyleSheet()},l.prototype.removeFromDocument=function(t){if(void 0===t&&(t=!1),this.state()>=s.STATE.TYPESET){var e=this.adaptor,r=this.start.node,n=e.text("");if(t){var o=this.start.delim+this.math+this.end.delim;if(this.inputJax.processStrings)n=e.text(o);else{var i=e.parse(o,"text/html");n=e.firstChild(e.body(i))}}e.parent(r)&&e.replace(n,r),this.start.node=this.end.node=n,this.start.n=this.end.n=0}},l);function l(t,e,r,n,o){return void 0===r&&(r=!0),void 0===n&&(n={node:null,n:0,delim:""}),void 0===o&&(o={node:null,n:0,delim:""}),i.call(this,t,e,r,n,o)||this}e.HTMLMathItem=a},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i,s=r(8),a=(i=s.AbstractMathList,o(l,i),l);function l(){return null!==i&&i.apply(this,arguments)||this}e.HTMLMathList=a},function(t,e,r){"use strict";var a=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s};Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=(i.prototype.init=function(){this.strings=[],this.string="",this.snodes=[],this.nodes=[],this.stack=[]},i.prototype.getPatterns=function(){var t=n.makeArray(this.options.skipHtmlTags),e=n.makeArray(this.options.ignoreHtmlClass),r=n.makeArray(this.options.processHtmlClass);this.skipHtmlTags=new RegExp("^(?:"+t.join("|")+")$","i"),this.ignoreHtmlClass=new RegExp("(?:^| )(?:"+e.join("|")+")(?: |$)"),this.processHtmlClass=new RegExp("(?:^| )(?:"+r+")(?: |$)")},i.prototype.pushString=function(){this.string.match(/\S/)&&(this.strings.push(this.string),this.nodes.push(this.snodes)),this.string="",this.snodes=[]},i.prototype.extendString=function(t,e){this.snodes.push([t,e.length]),this.string+=e},i.prototype.handleText=function(t,e){return e||this.extendString(t,this.adaptor.value(t)),this.adaptor.next(t)},i.prototype.handleTag=function(t,e){if(!e){var r=this.options.includeHtmlTags[this.adaptor.kind(t)];this.extendString(t,r)}return this.adaptor.next(t)},i.prototype.handleContainer=function(t,e){this.pushString();var r=this.adaptor.getAttribute(t,"class")||"",n=this.adaptor.kind(t)||"",o=this.processHtmlClass.exec(r),i=t;return!this.adaptor.firstChild(t)||this.adaptor.getAttribute(t,"data-MJX")||!o&&this.skipHtmlTags.exec(n)?i=this.adaptor.next(t):(this.adaptor.next(t)&&this.stack.push([this.adaptor.next(t),e]),i=this.adaptor.firstChild(t),e=(e||this.ignoreHtmlClass.exec(r))&&!o),[i,e]},i.prototype.find=function(t){var e,r;this.init();for(var n=this.adaptor.next(t),o=!1,i=this.options.includeHtmlTags;t&&t!==n;)"#text"===this.adaptor.kind(t)?t=this.handleText(t,o):void 0!==i[this.adaptor.kind(t)]?t=this.handleTag(t,o):(t=(e=a(this.handleContainer(t,o),2))[0],o=e[1]),!t&&this.stack.length&&(this.pushString(),t=(r=a(this.stack.pop(),2))[0],o=r[1]);this.pushString();var s=[this.strings,this.nodes];return this.init(),s},i.OPTIONS={skipHtmlTags:["script","noscript","style","textarea","pre","code","annotation","annotation-xml"],includeHtmlTags:{br:"\n",wbr:"","#comment":""},ignoreHtmlClass:"mathjax_ignore",processHtmlClass:"mathjax_process"},i);function i(t){void 0===t&&(t=null);var e=this.constructor;this.options=n.userOptions(n.defaultOptions({},e.OPTIONS),t),this.init(),this.getPatterns()}e.HTMLDomStrings=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r(17);e.asyncLoad=function(n){return o.mathjax.asyncLoad?new Promise(function(e,r){var t=o.mathjax.asyncLoad(n);t instanceof Promise?t.then(function(t){return e(t)}).catch(function(t){return r(t)}):e(t)}):Promise.reject("Can't load '"+n+"': No asyncLoad method specified")}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=(i.OPTIONS={},i);function i(t){var e=this.constructor;this.options=n.userOptions(n.defaultOptions({},e.OPTIONS),t)}e.AbstractFindMath=o},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),u=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var i,s=r(16),a=(i=s.MmlVisitor,o(l,i),l.prototype.visitTree=function(t,e){var r=(this.document=e).createElement("top");return this.visitNode(t,r),this.document=null,r.firstChild},l.prototype.visitTextNode=function(t,e){e.appendChild(this.document.createTextNode(t.getText()))},l.prototype.visitXMLNode=function(t,e){e.appendChild(t.getXML().cloneNode(!0))},l.prototype.visitInferredMrowNode=function(t,e){var r,n;try{for(var o=u(t.childNodes),i=o.next();!i.done;i=o.next()){var s=i.value;this.visitNode(s,e)}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},l.prototype.visitDefault=function(t,e){var r,n,o=this.document.createElement(t.kind);this.addAttributes(t,o);try{for(var i=u(t.childNodes),s=i.next();!s.done;s=i.next()){var a=s.value;this.visitNode(a,o)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}e.appendChild(o)},l.prototype.addAttributes=function(t,e){var r,n,o=t.attributes,i=o.getExplicitNames();try{for(var s=u(i),a=s.next();!a.done;a=s.next()){var l=a.value;e.setAttribute(l,o.getExplicit(l).toString())}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}},l);function l(){var t=null!==i&&i.apply(this,arguments)||this;return t.document=null,t}e.MathMLVisitor=a},function(t,n,e){"use strict";var o,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s};Object.defineProperty(n,"__esModule",{value:!0});var i=e(16),l=e(0),u=e(12);n.DATAMJX="data-mjx-";var s,c=(s=i.MmlVisitor,r(f,s),f.prototype.visitTree=function(t){return this.visitNode(t,"")},f.prototype.visitTextNode=function(t,e){return this.quoteHTML(t.getText())},f.prototype.visitXMLNode=function(t,e){return e+t.getSerializedXML()},f.prototype.visitInferredMrowNode=function(t,e){var r,n,o=[];try{for(var i=p(t.childNodes),s=i.next();!s.done;s=i.next()){var a=s.value;o.push(this.visitNode(a,e))}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o.join("\n")},f.prototype.visitTeXAtomNode=function(t,e){var r=this.childNodeMml(t,e+"  ","\n");return e+"<mrow"+this.getAttributes(t)+">"+(r.match(/\S/)?"\n"+r+e:"")+"</mrow>"},f.prototype.visitAnnotationNode=function(t,e){return e+"<annotation"+this.getAttributes(t)+">"+this.childNodeMml(t,"","")+"</annotation>"},f.prototype.visitDefault=function(t,e){var r=t.kind,n=a(t.isToken||0===t.childNodes.length?["",""]:["\n",e],2),o=n[0],i=n[1],s=this.childNodeMml(t,e+"  ",o);return e+"<"+r+this.getAttributes(t)+">"+(s.match(/\S/)?o+s+i:"")+"</"+r+">"},f.prototype.childNodeMml=function(t,e,r){var n,o,i="";try{for(var s=p(t.childNodes),a=s.next();!a.done;a=s.next()){var l=a.value;i+=this.visitNode(l,e)+r}}catch(t){n={error:t}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}return i},f.prototype.getAttributes=function(t){var e,r,n=[],o=this.constructor.defaultAttributes[t.kind]||{},i=Object.assign({},o,this.getDataAttributes(t),t.attributes.getAllAttributes()),s=this.constructor.variants;i.hasOwnProperty("mathvariant")&&s.hasOwnProperty(i.mathvariant)&&(i.mathvariant=s[i.mathvariant]);try{for(var a=p(Object.keys(i)),l=a.next();!l.done;l=a.next()){var u=l.value,c=String(i[u]);void 0!==c&&n.push(u+'="'+this.quoteHTML(c)+'"')}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return n.length?" "+n.join(" "):""},f.prototype.getDataAttributes=function(t){var e={},r=t.attributes.getExplicit("mathvariant"),n=this.constructor.variants;r&&n.hasOwnProperty(r)&&this.setDataAttribute(e,"variant",r),t.getProperty("variantForm")&&this.setDataAttribute(e,"alternate","1");var o=t.getProperty("texClass");if(void 0!==o){var i=!0;if(o===l.TEXCLASS.OP&&t.isKind("mi")){var s=t.getText();i=!(1<s.length&&s.match(u.MmlMi.operatorName))}i&&this.setDataAttribute(e,"texclass",o<0?"NONE":l.TEXCLASSNAMES[o])}return e},f.prototype.setDataAttribute=function(t,e,r){t[n.DATAMJX+e]=r},f.prototype.quoteHTML=function(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\"/g,"&quot;").replace(/([\uD800-\uDBFF].)/g,function(t,e){return"&#x"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536).toString(16).toUpperCase()+";"}).replace(/([\u0080-\uD7FF\uE000-\uFFFF])/g,function(t,e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})},f.variants={"-tex-calligraphic":"script","-tex-calligraphic-bold":"bold-script","-tex-oldstyle":"normal","-tex-oldstyle-bold":"bold","-tex-mathit":"italic"},f.defaultAttributes={math:{xmlns:"http://www.w3.org/1998/Math/MathML"}},f);function f(){return null!==s&&s.apply(this,arguments)||this}n.SerializedMmlVisitor=c},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(Object.defineProperty(o.prototype,"kind",{get:function(){return this.node.kind},enumerable:!0,configurable:!0}),o.prototype.wrap=function(t){return this.factory.wrap(t)},o);function o(t,e){this.factory=t,this.node=e}e.AbstractWrapper=n},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},s=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(i(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var a,l=r(10),u=(a=l.AbstractFactory,o(c,a),c.prototype.wrap=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return this.create.apply(this,s([t.kind,t],e))},c);function c(){return null!==a&&a.apply(this,arguments)||this}e.AbstractWrapperFactory=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(17),o=r(5);e.RegisterHTMLHandler=function(t){var e=new o.HTMLHandler(t);return n.mathjax.handlers.register(e),e}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e(18),i=e(64);n.options={loadMissingEntities:!0},n.entities={ApplyFunction:"\u2061",Backslash:"\u2216",Because:"\u2235",Breve:"\u02d8",Cap:"\u22d2",CenterDot:"\xb7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",Congruent:"\u2261",ContourIntegral:"\u222e",Coproduct:"\u2210",Cross:"\u2a2f",Cup:"\u22d3",CupCap:"\u224d",Dagger:"\u2021",Del:"\u2207",Delta:"\u0394",Diamond:"\u22c4",DifferentialD:"\u2146",DotEqual:"\u2250",DoubleDot:"\xa8",DoubleRightTee:"\u22a8",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownLeftVector:"\u21bd",DownRightVector:"\u21c1",DownTee:"\u22a4",Downarrow:"\u21d3",Element:"\u2208",EqualTilde:"\u2242",Equilibrium:"\u21cc",Exists:"\u2203",ExponentialE:"\u2147",FilledVerySmallSquare:"\u25aa",ForAll:"\u2200",Gamma:"\u0393",Gg:"\u22d9",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Hacek:"\u02c7",Hat:"^",HumpDownHump:"\u224e",HumpEqual:"\u224f",Im:"\u2111",ImaginaryI:"\u2148",Integral:"\u222b",Intersection:"\u22c2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Lambda:"\u039b",Larr:"\u219e",LeftAngleBracket:"\u27e8",LeftArrow:"\u2190",LeftArrowRightArrow:"\u21c6",LeftCeiling:"\u2308",LeftDownVector:"\u21c3",LeftFloor:"\u230a",LeftRightArrow:"\u2194",LeftTee:"\u22a3",LeftTriangle:"\u22b2",LeftTriangleEqual:"\u22b4",LeftUpVector:"\u21bf",LeftVector:"\u21bc",Leftarrow:"\u21d0",Leftrightarrow:"\u21d4",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",Ll:"\u22d8",Lleftarrow:"\u21da",LongLeftArrow:"\u27f5",LongLeftRightArrow:"\u27f7",LongRightArrow:"\u27f6",Longleftarrow:"\u27f8",Longleftrightarrow:"\u27fa",Longrightarrow:"\u27f9",Lsh:"\u21b0",MinusPlus:"\u2213",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotLeftTriangle:"\u22ea",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotPrecedes:"\u2280",NotPrecedesSlantEqual:"\u22e0",NotRightTriangle:"\u22eb",NotRightTriangleEqual:"\u22ed",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsSlantEqual:"\u22e1",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotVerticalBar:"\u2224",Omega:"\u03a9",OverBar:"\u203e",OverBrace:"\u23de",PartialD:"\u2202",Phi:"\u03a6",Pi:"\u03a0",PlusMinus:"\xb1",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",Product:"\u220f",Proportional:"\u221d",Psi:"\u03a8",Rarr:"\u21a0",Re:"\u211c",ReverseEquilibrium:"\u21cb",RightAngleBracket:"\u27e9",RightArrow:"\u2192",RightArrowLeftArrow:"\u21c4",RightCeiling:"\u2309",RightDownVector:"\u21c2",RightFloor:"\u230b",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTriangle:"\u22b3",RightTriangleEqual:"\u22b5",RightUpVector:"\u21be",RightVector:"\u21c0",Rightarrow:"\u21d2",Rrightarrow:"\u21db",Rsh:"\u21b1",Sigma:"\u03a3",SmallCircle:"\u2218",Sqrt:"\u221a",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Star:"\u22c6",Subset:"\u22d0",SubsetEqual:"\u2286",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",SuchThat:"\u220b",Sum:"\u2211",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22d1",Therefore:"\u2234",Theta:"\u0398",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",UnderBar:"_",UnderBrace:"\u23df",Union:"\u22c3",UnionPlus:"\u228e",UpArrow:"\u2191",UpDownArrow:"\u2195",UpTee:"\u22a5",Uparrow:"\u21d1",Updownarrow:"\u21d5",Upsilon:"\u03a5",Vdash:"\u22a9",Vee:"\u22c1",VerticalBar:"\u2223",VerticalTilde:"\u2240",Vvdash:"\u22aa",Wedge:"\u22c0",Xi:"\u039e",amp:"&",acute:"\xb4",aleph:"\u2135",alpha:"\u03b1",amalg:"\u2a3f",and:"\u2227",ang:"\u2220",angmsd:"\u2221",angsph:"\u2222",ape:"\u224a",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",beta:"\u03b2",beth:"\u2136",between:"\u226c",bigcirc:"\u25ef",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",blacklozenge:"\u29eb",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",bowtie:"\u22c8",boxdl:"\u2510",boxdr:"\u250c",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxur:"\u2514",bsol:"\\",bull:"\u2022",cap:"\u2229",check:"\u2713",chi:"\u03c7",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledR:"\xae",circledS:"\u24c8",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",clubs:"\u2663",colon:":",comp:"\u2201",ctdot:"\u22ef",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cup:"\u222a",curarr:"\u21b7",curlyvee:"\u22ce",curlywedge:"\u22cf",dagger:"\u2020",daleth:"\u2138",ddarr:"\u21ca",deg:"\xb0",delta:"\u03b4",digamma:"\u03dd",div:"\xf7",divideontimes:"\u22c7",dot:"\u02d9",doteqdot:"\u2251",dotplus:"\u2214",dotsquare:"\u22a1",dtdot:"\u22f1",ecir:"\u2256",efDot:"\u2252",egs:"\u2a96",ell:"\u2113",els:"\u2a95",empty:"\u2205",epsi:"\u03b5",epsiv:"\u03f5",erDot:"\u2253",eta:"\u03b7",eth:"\xf0",flat:"\u266d",fork:"\u22d4",frown:"\u2322",gEl:"\u2a8c",gamma:"\u03b3",gap:"\u2a86",gimel:"\u2137",gnE:"\u2269",gnap:"\u2a8a",gne:"\u2a88",gnsim:"\u22e7",gt:">",gtdot:"\u22d7",harrw:"\u21ad",hbar:"\u210f",hellip:"\u2026",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",imath:"\u0131",infin:"\u221e",intcal:"\u22ba",iota:"\u03b9",jmath:"\u0237",kappa:"\u03ba",kappav:"\u03f0",lEg:"\u2a8b",lambda:"\u03bb",lap:"\u2a85",larrlp:"\u21ab",larrtl:"\u21a2",lbrace:"{",lbrack:"[",le:"\u2264",leftleftarrows:"\u21c7",leftthreetimes:"\u22cb",lessdot:"\u22d6",lmoust:"\u23b0",lnE:"\u2268",lnap:"\u2a89",lne:"\u2a87",lnsim:"\u22e6",longmapsto:"\u27fc",looparrowright:"\u21ac",lowast:"\u2217",loz:"\u25ca",lt:"<",ltimes:"\u22c9",ltri:"\u25c3",macr:"\xaf",malt:"\u2720",mho:"\u2127",mu:"\u03bc",multimap:"\u22b8",nLeftarrow:"\u21cd",nLeftrightarrow:"\u21ce",nRightarrow:"\u21cf",nVDash:"\u22af",nVdash:"\u22ae",natur:"\u266e",nearr:"\u2197",nharr:"\u21ae",nlarr:"\u219a",not:"\xac",nrarr:"\u219b",nu:"\u03bd",nvDash:"\u22ad",nvdash:"\u22ac",nwarr:"\u2196",omega:"\u03c9",omicron:"\u03bf",or:"\u2228",osol:"\u2298",period:".",phi:"\u03c6",phiv:"\u03d5",pi:"\u03c0",piv:"\u03d6",prap:"\u2ab7",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",prime:"\u2032",psi:"\u03c8",quot:'"',rarrtl:"\u21a3",rbrace:"}",rbrack:"]",rho:"\u03c1",rhov:"\u03f1",rightrightarrows:"\u21c9",rightthreetimes:"\u22cc",ring:"\u02da",rmoust:"\u23b1",rtimes:"\u22ca",rtri:"\u25b9",scap:"\u2ab8",scnE:"\u2ab6",scnap:"\u2aba",scnsim:"\u22e9",sdot:"\u22c5",searr:"\u2198",sect:"\xa7",sharp:"\u266f",sigma:"\u03c3",sigmav:"\u03c2",simne:"\u2246",smile:"\u2323",spades:"\u2660",sub:"\u2282",subE:"\u2ac5",subnE:"\u2acb",subne:"\u228a",supE:"\u2ac6",supnE:"\u2acc",supne:"\u228b",swarr:"\u2199",tau:"\u03c4",theta:"\u03b8",thetav:"\u03d1",tilde:"\u02dc",times:"\xd7",triangle:"\u25b5",triangleq:"\u225c",upsi:"\u03c5",upuparrows:"\u21c8",veebar:"\u22bb",vellip:"\u22ee",weierp:"\u2118",xi:"\u03be",yen:"\xa5",zeta:"\u03b6",zigrarr:"\u21dd"};var s={};function r(t,e){if("#"===e.charAt(0))return a(e.slice(1));if(n.entities[e])return n.entities[e];if(n.options.loadMissingEntities){var r=e.match(/^[a-zA-Z](fr|scr|opf)$/)?RegExp.$1:e.charAt(0).toLowerCase();s[r]||(s[r]=!0,o.retryAfter(i.asyncLoad("./util/entities/"+r+".js")))}return t}function a(t){var e="x"===t.charAt(0)?parseInt(t.slice(1),16):parseInt(t);if(e<65536)return String.fromCharCode(e);var r=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(r,n)}n.add=function(t,e){Object.assign(n.entities,t),s[e]=!0},n.remove=function(t){delete n.entities[t]},n.translate=function(t){return t.replace(/&([a-z][a-z0-9]*|#(?:[0-9]+|x[0-9a-f]+));/gi,r)},n.numeric=a},function(t,e,r){"use strict";var O=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},M=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},l=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(M(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var n=["top","right","bottom","left"],o=["width","style","color"];function E(t){for(var e=t.split(/((?:'[^']*'|"[^"]*"|,[\s\n]|[^\s\n])*)/g),r=[];1<e.length;)e.shift(),r.push(e.shift());return r}function i(t){var e,r,n=E(this.styles[t]);0===n.length&&n.push(""),1===n.length&&n.push(n[0]),2===n.length&&n.push(n[0]),3===n.length&&n.push(n[1]);try{for(var o=O(v.connect[t].children),i=o.next();!i.done;i=o.next()){var s=i.value;this.setStyle(this.childName(t,s),n.shift())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}}function s(t){var e,r,n=v.connect[t].children,o=[];try{for(var i=O(n),s=i.next();!s.done;s=i.next()){var a=s.value,l=this.styles[t+"-"+a];if(!l)return void delete this.styles[t];o.push(l)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}o[3]===o[1]&&(o.pop(),o[2]===o[0]&&(o.pop(),o[1]===o[0]&&o.pop())),this.styles[t]=o.join(" ")}function a(t){var e,r;try{for(var n=O(v.connect[t].children),o=n.next();!o.done;o=n.next()){var i=o.value;this.setStyle(this.childName(t,i),this.styles[t])}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}}function u(t){var e,r,n=l(v.connect[t].children),o=this.styles[this.childName(t,n.shift())];try{for(var i=O(n),s=i.next();!s.done;s=i.next()){var a=s.value;if(this.styles[this.childName(t,a)]!==o)return void delete this.styles[t]}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}this.styles[t]=o}var f={width:/^(?:[\d.]+(?:[a-z]+)|thin|medium|thick|inherit|initial|unset)$/,style:/^(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|initial|unset)$/};function c(t){var e,r,n,o,i={width:"",style:"",color:""};try{for(var s=O(E(this.styles[t])),a=s.next();!a.done;a=s.next()){var l=a.value;l.match(f.width)&&""===i.width?i.width=l:l.match(f.style)&&""===i.style?i.style=l:i.color=l}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}try{for(var u=O(v.connect[t].children),c=u.next();!c.done;c=u.next()){var p=c.value;this.setStyle(this.childName(t,p),i[p])}}catch(t){n={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}}function p(t){var e,r,n=[];try{for(var o=O(v.connect[t].children),i=o.next();!i.done;i=o.next()){var s=i.value,a=this.styles[this.childName(t,s)];a&&n.push(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}n.length?this.styles[t]=n.join(" "):delete this.styles[t]}var b={style:/^(?:normal|italic|oblique|inherit|initial|unset)$/,variant:new RegExp("^(?:"+["normal|none","inherit|initial|unset","common-ligatures|no-common-ligatures","discretionary-ligatures|no-discretionary-ligatures","historical-ligatures|no-historical-ligatures","contextual|no-contextual","(?:stylistic|character-variant|swash|ornaments|annotation)\\([^)]*\\)","small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","lining-nums|oldstyle-nums|proportional-nums|tabular-nums","diagonal-fractions|stacked-fractions","ordinal|slashed-zero","jis78|jis83|jis90|jis04|simplified|traditional","full-width|proportional-width","ruby"].join("|")+")$"),weight:/^(?:normal|bold|bolder|lighter|[1-9]00|inherit|initial|unset)$/,stretch:new RegExp("^(?:"+["normal","(?:(?:ultra|extra|semi)-)?condensed","(?:(?:semi|extra|ulta)-)?expanded","inherit|initial|unset"].join("|")+")$"),size:new RegExp("^(?:"+["xx-small|x-small|small|medium|large|x-large|xx-large|larger|smaller","[d.]+%|[d.]+[a-z]+","inherit|initial|unset"].join("|")+")(?:/(?:normal|[d.+](?:%|[a-z]+)?))?$")};function h(t){var e,r,n,o,i=E(this.styles[t]),s={style:"",variant:[],weight:"",stretch:"",size:"",family:"","line-height":""};try{for(var a=O(i),l=a.next();!l.done;l=a.next()){var u=l.value;s.family=u;try{for(var c=(n=void 0,O(Object.keys(b))),p=c.next();!p.done;p=c.next()){var f=p.value;if((Array.isArray(s[f])||""===s[f])&&u.match(b[f]))if("size"===f){var h=M(u.split(/\//),2),d=h[0],y=h[1];s[f]=d,y&&(s["line-height"]=y)}else""===s.size&&(Array.isArray(s[f])?s[f].push(u):s[f]=u)}}catch(t){n={error:t}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}!function(t,e){var r,n;try{for(var o=O(v.connect[t].children),i=o.next();!i.done;i=o.next()){var s=i.value,a=this.childName(t,s);if(Array.isArray(e[s])){var l=e[s];l.length&&(this.styles[a]=l.join(" "))}else""!==e[s]&&(this.styles[a]=e[s])}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}(t,s),delete this.styles[t]}function d(t){}var v=(Object.defineProperty(y.prototype,"cssText",{get:function(){var e,t,r=[];try{for(var n=O(Object.keys(this.styles)),o=n.next();!o.done;o=n.next()){var i=o.value,s=this.parentName(i);this.styles[s]||r.push(i+": "+this.styles[i])}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r.join("; ")},enumerable:!0,configurable:!0}),y.prototype.set=function(t,e){for(t=this.normalizeName(t),this.setStyle(t,e),y.connect[t]&&!y.connect[t].combine&&(this.combineChildren(t),delete this.styles[t]);t.match(/-/)&&(t=this.parentName(t),y.connect[t]);)y.connect[t].combine.call(this,t)},y.prototype.get=function(t){return t=this.normalizeName(t),this.styles.hasOwnProperty(t)?this.styles[t]:""},y.prototype.setStyle=function(t,e){this.styles[t]=e,y.connect[t]&&y.connect[t].children&&y.connect[t].split.call(this,t),""===e&&delete this.styles[t]},y.prototype.combineChildren=function(t){var e,r,n=this.parentName(t);try{for(var o=O(y.connect[t].children),i=o.next();!i.done;i=o.next()){var s=i.value,a=this.childName(n,s);y.connect[a].combine.call(this,a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}},y.prototype.parentName=function(t){var e=t.replace(/-[^-]*$/,"");return t===e?"":e},y.prototype.childName=function(t,e){return e.match(/-/)?e:(y.connect[t]&&!y.connect[t].combine&&(e+=t.replace(/.*-/,"-"),t=this.parentName(t)),t+"-"+e)},y.prototype.normalizeName=function(t){return t.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()})},y.prototype.parse=function(t){void 0===t&&(t="");var e=this.constructor.pattern;this.styles={};for(var r=t.replace(e.comment,"").split(e.style);1<r.length;){var n=M(r.splice(0,3),3),o=n[0],i=n[1],s=n[2];if(o.match(/[^\s\n]/))return;this.set(i,s)}},y.pattern={style:/([-a-z]+)[\s\n]*:[\s\n]*((?:'[^']*'|"[^"]*"|\n|.)*?)[\s\n]*(?:;|$)/g,comment:/\/\*[^]*?\*\//g},y.connect={padding:{children:n,split:i,combine:s},border:{children:n,split:a,combine:u},"border-top":{children:o,split:c,combine:p},"border-right":{children:o,split:c,combine:p},"border-bottom":{children:o,split:c,combine:p},"border-left":{children:o,split:c,combine:p},"border-width":{children:n,split:i,combine:null},"border-style":{children:n,split:i,combine:null},"border-color":{children:n,split:i,combine:null},font:{children:["style","variant","weight","stretch","line-height","size","family"],split:h,combine:d}},y);function y(t){void 0===t&&(t=""),this.parse(t)}e.Styles=v},function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.BIGDIMEN=1e6,a.UNITS={px:1,in:96,cm:96/2.54,mm:96/25.4},a.RELUNITS={em:1,ex:.431,pt:.1,pc:1.2,mu:1/18},a.MATHSPACE={veryverythinmathspace:1/18,verythinmathspace:2/18,thinmathspace:3/18,mediummathspace:4/18,thickmathspace:5/18,verythickmathspace:6/18,veryverythickmathspace:7/18,negativeveryverythinmathspace:-1/18,negativeverythinmathspace:-2/18,negativethinmathspace:-3/18,negativemediummathspace:-4/18,negativethickmathspace:-5/18,negativeverythickmathspace:-6/18,negativeveryverythickmathspace:-7/18,thin:.04,medium:.06,thick:.1,normal:1,big:2,small:1/Math.sqrt(2),infinity:a.BIGDIMEN},a.length2em=function(t,e,r,n){if(void 0===e&&(e=0),void 0===r&&(r=1),void 0===n&&(n=16),"string"!=typeof t&&(t=String(t)),""===t||null==t)return e;if(a.MATHSPACE[t])return a.MATHSPACE[t];var o=t.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/);if(!o)return e;var i=parseFloat(o[1]||"1"),s=o[2];return a.UNITS.hasOwnProperty(s)?i*a.UNITS[s]/n/r:a.RELUNITS.hasOwnProperty(s)?i*a.RELUNITS[s]:"%"===s?i/100*e:i*e},a.percent=function(t){return(100*t).toFixed(1).replace(/\.?0+$/,"")+"%"},a.em=function(t){return Math.abs(t)<.001?"0":t.toFixed(3).replace(/\.?0+$/,"")+"em"},a.emRounded=function(t,e){return void 0===e&&(e=16),t=(Math.round(t*e)+.05)/e,Math.abs(t)<.001?"0em":t.toFixed(3).replace(/\.?0+$/,"")+"em"},a.px=function(t,e,r){return void 0===e&&(e=-a.BIGDIMEN),void 0===r&&(r=16),t*=r,e&&t<e&&(t=e),Math.abs(t)<.1?"0":t.toFixed(1).replace(/\.0$/,"")+"px"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sum=function(t){return t.reduce(function(t,e){return t+e},0)},e.max=function(t){return t.reduce(function(t,e){return Math.max(t,e)},0)}},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";r.r(e);var n=r(19),o=r(21),i=r(20),s=r(22),a=r(65),l=r(23),u=r(58),c=r(24),p=r(6),f=r(4),h=r(8),d=r(2),y=r(28),O=r(66),M=r(9),E=r(0),b=r(55),v=r(45),m=r(51),g=r(52),L=r(29),R=r(56),N=r(44),T=r(40),_=r(43),A=r(36),S=r(53),C=r(12),I=r(47),x=r(30),P=r(13),w=r(41),j=r(42),B=r(38),D=r(35),k=r(34),X=r(33),H=r(37),W=r(39),F=r(14),q=r(48),G=r(50),z=r(32),J=r(49),U=r(46),V=r(54),K=r(16),$=r(31),Y=r(67),Z=r(25),Q=r(10),tt=r(11),et=r(27),rt=r(59),nt=r(68),ot=r(69),it=r(70),st=r(60),at=r(63),lt=r(5),ut=r(61),ct=r(62),pt=r(17),ft=r(64),ht=r(57),dt=r(71),yt=r(7),Ot=r(26),Mt=r(1),Et=r(3),bt=r(18),vt=r(72),mt=r(73),gt=r(74),Lt=r(15);Object(n.combineWithMathJax)({_:{adaptors:{HTMLAdaptor:o,browserAdaptor:i},components:{global:n},core:{DOMAdaptor:s,FindMath:a,Handler:l,HandlerList:u,InputJax:c,MathDocument:p,MathItem:f,MathList:h,MmlTree:{Attributes:d,MML:y,MathMLVisitor:O,MmlFactory:M,MmlNode:E,MmlNodes:{TeXAtom:b,maction:v,maligngroup:m,malignmark:g,math:L,mathchoice:R,menclose:N,merror:T,mfenced:_,mfrac:A,mglyph:S,mi:C,mmultiscripts:I,mn:x,mo:P,mpadded:w,mphantom:j,mroot:B,mrow:D,ms:k,mspace:X,msqrt:H,mstyle:W,msubsup:F,mtable:q,mtd:G,mtext:z,mtr:J,munderover:U,semantics:V},MmlVisitor:K,OperatorDictionary:$,SerializedMmlVisitor:Y},OutputJax:Z,Tree:{Factory:Q,Node:tt,NodeFactory:et,Visitor:rt,Wrapper:nt,WrapperFactory:ot}},handlers:{html_ts:it,html:{HTMLDocument:st,HTMLDomStrings:at,HTMLHandler:lt,HTMLMathItem:ut,HTMLMathList:ct}},mathjax:pt,util:{AsyncLoad:ft,BitField:ht,Entities:dt,FunctionList:yt,LinkedList:Ot,Options:Mt,PrioritizedList:Et,Retries:bt,Styles:vt,lengths:mt,numeric:gt,string:Lt}}}),MathJax.startup&&(MathJax.startup.registerConstructor("HTMLHandler",lt.HTMLHandler),MathJax.startup.registerConstructor("browserAdaptor",i.browserAdaptor),MathJax.startup.useHandler("HTMLHandler"),MathJax.startup.useAdaptor("browserAdaptor")),MathJax.loader&&(MathJax._.mathjax.mathjax.asyncLoad=function(t){return MathJax.loader.load(t)})}]);
\ No newline at end of file

D js/mathjax/input/asciimath.js => js/mathjax/input/asciimath.js +0 -1
@@ 1,1 0,0 @@
!function(i){var n={};function a(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,a),e.l=!0,e.exports}a.m=i,a.c=n,a.d=function(t,e,i){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(i,n,function(t){return e[t]}.bind(null,n));return i},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=16)}([function(t,e,i){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),s=this&&this.__assign||function(){return(s=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var a in e=arguments[i])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)},r=this&&this.__read||function(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var n,a,s=i.call(t),r=[];try{for(;(void 0===e||0<e--)&&!(n=s.next()).done;)r.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(i=s.return)&&i.call(s)}finally{if(a)throw a.error}}return r};Object.defineProperty(e,"__esModule",{value:!0});var o,l=i(3),u=i(4),h=i(12),p=i(1),c=(o=l.AbstractInputJax,a(d,o),d.prototype.compile=function(t,e){return u.LegacyAsciiMath.Compile(t.math,t.display)},d.prototype.findMath=function(t){return this.findAsciiMath.findMath(t)},d.NAME="AsciiMath",d.OPTIONS=s(s({},l.AbstractInputJax.OPTIONS),{FindAsciiMath:null}),d);function d(t){var e=this,i=r(h.separateOptions(t,p.FindAsciiMath.OPTIONS),2),n=i[0],a=i[1];return(e=o.call(this,n)||this).findAsciiMath=e.options.FindAsciiMath||new p.FindAsciiMath(a),e}e.AsciiMath=c},function(t,e,i){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),u=this&&this.__read||function(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var n,a,s=i.call(t),r=[];try{for(;(void 0===e||0<e--)&&!(n=s.next()).done;)r.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(i=s.return)&&i.call(s)}finally{if(a)throw a.error}}return r};Object.defineProperty(e,"__esModule",{value:!0});var s,r=i(13),o=i(14),h=i(15),l=(s=r.AbstractFindMath,a(p,s),p.prototype.getPatterns=function(){var e=this,t=this.options,i=[];this.end={},t.delimiters.forEach(function(t){return e.addPattern(i,t,!1)}),this.start=new RegExp(i.join("|"),"g"),this.hasPatterns=0<i.length},p.prototype.addPattern=function(t,e,i){var n=u(e,2),a=n[0],s=n[1];t.push(o.quotePattern(a)),this.end[a]=[s,i,new RegExp(o.quotePattern(s),"g")]},p.prototype.findEnd=function(t,e,i,n){var a=u(n,3),s=(a[0],a[1]),r=a[2],o=r.lastIndex=i.index+i[0].length,l=r.exec(t);return l?h.protoItem(i[0],t.substr(o,l.index-o),l[0],e,i.index,l.index+l[0].length,s):null},p.prototype.findMathInString=function(t,e,i){var n,a;for(this.start.lastIndex=0;n=this.start.exec(i);)(a=this.findEnd(i,e,n,this.end[n[0]]))&&(t.push(a),this.start.lastIndex=a.end.n)},p.prototype.findMath=function(t){var e=[];if(this.hasPatterns)for(var i=0,n=t.length;i<n;i++)this.findMathInString(e,i,t[i]);return e},p.OPTIONS={delimiters:[["`","`"]]},p);function p(t){var e=s.call(this,t)||this;return e.getPatterns(),e}e.FindAsciiMath=l},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=MathJax._.components.global.isObject,e.combineConfig=MathJax._.components.global.combineConfig,e.combineDefaults=MathJax._.components.global.combineDefaults,e.combineWithMathJax=MathJax._.components.global.combineWithMathJax,e.MathJax=MathJax._.components.global.MathJax},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractInputJax=MathJax._.core.InputJax.AbstractInputJax},function(t,e,i){(function(t){MathJax=Object.assign(t.MathJax||{},i(6).MathJax),MathJax.Ajax.Preloading("[MathJax]/jax/input/AsciiMath/config.js","[MathJax]/jax/input/AsciiMath/jax.js","[MathJax]/jax/element/mml/jax.js"),i(7),i(8),i(9),i(10);var a=new(i(11).MmlFactory);e.LegacyAsciiMath={Compile:function(t,e){var i={type:"math/asciimath",innerText:t,MathJax:{}},n=MathJax.InputJax.AsciiMath.Translate(i).root.toMmlNode(a);return n.setInheritedAttributes(),n},Translate:function(t,e){return this.Compile(t,e)}}}).call(this,i(5))},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e){var i,n,a,s,r,o,l,f={debug:!0},g={MathJax:f},h={},E=null;e.MathJax=f,function(t){var e=g[t];e=e||(g[t]={});function i(t){var e=t.constructor;for(var i in e=e||function(){},t)"constructor"!==i&&t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function n(){return function(){return arguments.callee.Init.call(this,arguments)}}var a=[];e.Object=i({constructor:n(),Subclass:function(t,e){var i=n();return i.SUPER=this,i.Init=this.Init,i.Subclass=this.Subclass,i.Augment=this.Augment,i.protoFunction=this.protoFunction,i.can=this.can,i.has=this.has,i.isa=this.isa,i.prototype=new this(a),(i.prototype.constructor=i).Augment(t,e),i},Init:function(t){var e=this;return 1===t.length&&t[0]===a?e:(e instanceof t.callee||(e=new t.callee(a)),e.Init.apply(e,t)||e)},Augment:function(t,e){var i;if(null!=t){for(i in t)t.hasOwnProperty(i)&&this.protoFunction(i,t[i]);t.toString!==this.prototype.toString&&t.toString!=={}.toString&&this.protoFunction("toString",t.toString)}if(null!=e)for(i in e)e.hasOwnProperty(i)&&(this[i]=e[i]);return this},protoFunction:function(t,e){"function"==typeof(this.prototype[t]=e)&&(e.SUPER=this.SUPER.prototype)},prototype:{Init:function(){},SUPER:function(t){return t.callee.SUPER},can:function(t){return"function"==typeof this[t]},has:function(t){return void 0!==this[t]},isa:function(t){return t instanceof Object&&this instanceof t}},can:function(t){return this.prototype.can.call(this,t)},has:function(t){return this.prototype.has.call(this,t)},isa:function(t){for(var e=this;e;){if(e===t)return!0;e=e.SUPER}return!1},SimpleSUPER:i({constructor:function(t){return this.SimpleSUPER.define(t)},define:function(t){var e={};if(null!=t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=this.wrap(i,t[i]));t.toString!==this.prototype.toString&&t.toString!=={}.toString&&(e.toString=this.wrap("toString",t.toString))}return e},wrap:function(e,i){if("function"!=typeof i||!i.toString().match(/\.\s*SUPER\s*\(/))return i;var n=function(){this.SUPER=n.SUPER[e];try{var t=i.apply(this,arguments)}catch(t){throw delete this.SUPER,t}return delete this.SUPER,t};return n.toString=function(){return i.toString.apply(i,arguments)},n}})}),e.Object.isArray=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},e.Object.Array=Array}("MathJax"),function(a){var s=g[a];s=s||(g[a]={});var n=function(t){function e(){return arguments.callee.execute.apply(arguments.callee,arguments)}for(var i in n.prototype)n.prototype.hasOwnProperty(i)&&(void 0!==t[i]?e[i]=t[i]:e[i]=n.prototype[i]);return e.toString=n.prototype.toString,e};n.prototype={isCallback:!0,hook:function(){},data:[],object:g,execute:function(){if(!this.called||this.autoReset)return this.called=!this.autoReset,this.hook.apply(this.object,this.data.concat([].slice.call(arguments,0)))},reset:function(){delete this.called},toString:function(){return this.hook.toString.apply(this.hook,arguments)}};function r(t){return"function"==typeof t&&t.isCallback}function o(t,e){if(1<arguments.length&&(t=2===arguments.length&&"function"!=typeof t&&t instanceof Object&&"number"==typeof e?[].slice.call(t,e):[].slice.call(arguments,0)),t instanceof Array&&1===t.length&&(t=t[0]),"function"==typeof t)return t.execute===n.prototype.execute?t:n({hook:t});if(t instanceof Array){if("string"==typeof t[0]&&t[1]instanceof Object&&"function"==typeof t[1][t[0]])return n({hook:t[1][t[0]],object:t[1],data:t.slice(2)});if("function"==typeof t[0])return n({hook:t[0],data:t.slice(1)});if("function"==typeof t[1])return n({hook:t[1],object:t[0],data:t.slice(2)})}else{if("string"==typeof t)return p&&p(),n({hook:h,data:[t]});if(t instanceof Object)return n(t);if(void 0===t)return n({})}throw Error("Can't make callback from given data")}function l(t,e){(t=o(t)).called||(c(t,e),e.pending++)}function i(){var t=this.signal;delete this.signal,this.execute=this.oldExecute,delete this.oldExecute;var e=this.execute.apply(this,arguments);if(r(e)&&!e.called)c(e,t);else for(var i=0,n=t.length;i<n;i++)t[i].pending--,t[i].pending<=0&&t[i].call()}function u(t){(t=o(t)).pending=0;for(var e=1,i=arguments.length;e<i;e++)arguments[e]&&l(arguments[e],t);if(0===t.pending){var n=t();r(n)&&(t=n)}return t}var h=function(t){return eval.call(g,t)},p=function(){if(h("var __TeSt_VaR__ = 1"),g.__TeSt_VaR__)try{delete g.__TeSt_VaR__}catch(t){g.__TeSt_VaR__=null}else h=g.execScript?function(t){s.__code=t,t="try {"+a+".__result = eval("+a+".__code)} catch(err) {"+a+".__result = err}",g.execScript(t);var e=s.__result;if(delete s.__result,delete s.__code,e instanceof Error)throw e;return e}:function(t){s.__code=t,t="try {"+a+".__result = eval("+a+".__code)} catch(err) {"+a+".__result = err}";var e=E.getElementsByTagName("head")[0];e=e||E.body;var i=E.createElement("script");i.appendChild(E.createTextNode(t)),e.appendChild(i),e.removeChild(i);var n=s.__result;if(delete s.__result,delete s.__code,n instanceof Error)throw n;return n};p=null},c=function(t,e){e instanceof Array||(e=[e]),t.signal?1===e.length?t.signal.push(e[0]):t.signal=t.signal.concat(e):(t.oldExecute=t.execute,t.execute=i,t.signal=e)},d=f.Object.Subclass({Init:function(t){this.hooks=[],this.remove=[],this.reset=t,this.running=!1},Add:function(t,e){null==e&&(e=10),r(t)||(t=o(t)),t.priority=e;for(var i=this.hooks.length;0<i&&e<this.hooks[i-1].priority;)i--;return this.hooks.splice(i,0,t),t},Remove:function(t){for(var e=0,i=this.hooks.length;e<i;e++)if(this.hooks[e]===t)return void(this.running?this.remove.push(e):this.hooks.splice(e,1))},Execute:function(){var t=[{}];this.running=!0;for(var e=0,i=this.hooks.length;e<i;e++){this.reset&&this.hooks[e].reset();var n=this.hooks[e].apply(g,arguments);r(n)&&!n.called&&t.push(n)}return this.running=!1,this.remove.length&&this.RemovePending(),1===t.length?null:2===t.length?t[1]:u.apply({},t)},RemovePending:function(){this.remove=this.remove.sort();for(var t=this.remove.length-1;0<=t;t--)this.hooks.splice(t,1);this.remove=[]}}),e=s.Object.Subclass({Init:function(){this.pending=this.running=0,this.queue=[],this.Push.apply(this,arguments)},Push:function(){for(var t,e=0,i=arguments.length;e<i;e++)(t=o(arguments[e]))!==arguments[e]||t.called||(t=o(["wait",this,t])),this.queue.push(t);return this.running||this.pending||this.Process(),t},Process:function(t){for(;!this.running&&!this.pending&&this.queue.length;){var e=this.queue[0];t=this.queue.slice(1),this.queue=[],this.Suspend();var i=e();this.Resume(),t.length&&(this.queue=t.concat(this.queue)),r(i)&&!i.called&&l(i,this)}},Suspend:function(){this.running++},Resume:function(){this.running&&this.running--},call:function(){this.Process.apply(this,arguments)},wait:function(t){return t}}),m=e.Subclass({Init:function(t){e.prototype.Init.call(this),this.name=t,this.posted=[],this.listeners=d(!0),this.posting=!1,this.callback=null},Post:function(t,e,i){if(e=o(e),this.posting||this.pending)this.Push(["Post",this,t,e,i]);else{(this.callback=e).reset(),i||this.posted.push(t),this.Suspend(),this.posting=!0;var n=this.listeners.Execute(t);r(n)&&!n.called&&l(n,this),this.Resume(),this.posting=!1,this.pending||this.call()}return e},Clear:function(t){return t=o(t),this.posting||this.pending?t=this.Push(["Clear",this,t]):(this.posted=[],t()),t},call:function(){this.callback(this),this.Process()},Interest:function(t,e,i){if(t=o(t),this.listeners.Add(t,i),!e)for(var n=0,a=this.posted.length;n<a;n++){t.reset();var s=t(this.posted[n]);r(s)&&n===this.posted.length-1&&l(s,this)}return t},NoInterest:function(t){this.listeners.Remove(t)},MessageHook:function(t,e,i){e=o(e),this.hooks||(this.hooks={},this.Interest(["ExecuteHooks",this])),this.hooks[t]||(this.hooks[t]=d(!0)),this.hooks[t].Add(e,i);for(var n=0,a=this.posted.length;n<a;n++)this.posted[n]==t&&(e.reset(),e(this.posted[n]));return e.msg=t,e},ExecuteHooks:function(t){var e=t instanceof Array?t[0]:t;return this.hooks[e]?this.hooks[e].Execute(t):null},RemoveHook:function(t){this.hooks[t.msg].Remove(t)}},{signals:{},find:function(t){return m.signals[t]||(m.signals[t]=new m(t)),m.signals[t]}});s.Callback=s.CallBack=o,s.Callback.Delay=function(t,e){return(e=o(e)).timeout=setTimeout(e,t),e},s.Callback.After=u,s.Callback.Queue=e,s.Callback.Signal=m.find,s.Callback.Hooks=d,s.Callback.ExecuteHooks=function(t,e,i){if(!t)return null;t instanceof Array||(t=[t]),e instanceof Array||(e=null==e?[]:[e]);for(var n=d(i),a=0,s=t.length;a<s;a++)n.Add(t[a]);return n.Execute.apply(n,e)}}("MathJax"),function(n){var s=g[n];s=s||(g[n]={});function a(t){return null}function i(){for(var t=0,e=l.length;t<e;t++)s.Ajax.head.removeChild(l[t]);l=[]}var r="Apple Computer, Inc."===h.vendor&&void 0===h.vendorSub,o=0,l=[],u={MathJax:""};s.Ajax={loaded:{},loading:{},loadHooks:{},timeout:15e3,styleDelay:1,config:{root:"",path:u},STATUS:{OK:1,ERROR:-1},fileURL:function(t){var e=t.match(/^\[([-._a-z0-9]+)\]/i);return e&&e[1]in u&&(t=(u[e[1]]||this.config.root)+t.substr(e[1].length+2)),t},fileName:function(t){var e=this.config.root;if(t.substr(0,e.length)===e)t="["+n+"]"+t.substr(e.length);else for(var i in u)if(u.hasOwnProperty(i)&&u[i]&&t.substr(0,u[i].length)===u[i]){t="["+i+"]"+t.substr(u[i].length);break}return t},fileRev:function(t){var e=s.cdnFileVersions[name]||s.cdnVersion;return e=e&&"?rev="+e},urlRev:function(t){return this.fileURL(t)+this.fileRev(t)},Require:function(t,e){var i;if(e=s.Callback(e),t instanceof Object)for(var n in t)t.hasOwnProperty(n)&&(i=n.toUpperCase(),t=t[n]);else i=t.split(/\./).pop().toUpperCase();if(t=this.fileURL(t),this.loaded[t])e(this.loaded[t]);else{var a={};a[i]=t,this.Load(a,e)}return e},Load:function(t,e){var i;if(e=s.Callback(e),t instanceof Object)for(var n in t)t.hasOwnProperty(n)&&(i=n.toUpperCase(),t=t[n]);else i=t.split(/\./).pop().toUpperCase();if(t=this.fileURL(t),this.loading[t])this.addHook(t,e);else{if(this.head=a(this.head),!this.loader[i])throw Error("Can't load files of type "+i);this.loader[i].call(this,t,e)}return e},LoadHook:function(t,e,i){if(e=s.Callback(e),t instanceof Object)for(var n in t)t.hasOwnProperty(n)&&(t=t[n]);return t=this.fileURL(t),this.loaded[t]?e(this.loaded[t]):this.addHook(t,e,i),e},addHook:function(t,e,i){this.loadHooks[t]||(this.loadHooks[t]=f.Callback.Hooks()),this.loadHooks[t].Add(e,i),e.file=t},removeHook:function(t){this.loadHooks[t.file]&&(this.loadHooks[t.file].Remove(t),this.loadHooks[t.file].hooks.length||delete this.loadHooks[t.file])},Preloading:function(){for(var t=0,e=arguments.length;t<e;t++){var i=this.fileURL(arguments[t]);this.loading[i]||this.loaded[i]||(this.loading[i]={preloaded:!0})}},loader:{JS:function(t,e){var i=this.fileName(t),n=s.Callback(["loadTimeout",this,t]);this.loading[t]={callback:e,timeout:setTimeout(n,this.timeout),status:this.STATUS.OK,script:null},this.loading[t].message=s.Message.File(i),g.System?g.System.import(t).catch(n):n()},CSS:function(t,e){var i=this.fileName(t),n=E.createElement("link");n.rel="stylesheet",n.type="text/css",n.href=t+this.fileRev(i),this.loading[t]={callback:e,message:s.Message.File(i),status:this.STATUS.OK},this.head.appendChild(n),this.timer.create.call(this,[this.timer.file,t],n)}},timer:{create:function(t,e){return t=s.Callback(t),"STYLE"===e.nodeName&&e.styleSheet&&void 0!==e.styleSheet.cssText||g.chrome&&"LINK"===e.nodeName?t(this.STATUS.OK):r?this.timer.start(this,[this.timer.checkSafari2,o++,t],this.styleDelay):this.timer.start(this,[this.timer.checkLength,e,t],this.styleDelay),t},start:function(t,e,i,n){(e=s.Callback(e)).execute=this.execute,e.time=this.time,e.STATUS=t.STATUS,e.timeout=n||t.timeout,e.delay=e.total=i||0,i?setTimeout(e,i):e()},time:function(t){return this.total+=this.delay,this.delay=Math.floor(1.05*this.delay+5),this.total>=this.timeout?(t(this.STATUS.ERROR),1):0},file:function(t,e){e<0?s.Ajax.loadTimeout(t):s.Ajax.loadComplete(t)},execute:function(){this.hook.call(this.object,this,this.data[0],this.data[1])},checkSafari2:function(t,e,i){t.time(i)||(E.styleSheets.length>e&&E.styleSheets[e].cssRules&&E.styleSheets[e].cssRules.length?i(t.STATUS.OK):setTimeout(t,t.delay))},checkLength:function(t,e,i){if(!t.time(i)){var n=0,a=e.sheet||e.styleSheet;try{0<(a.cssRules||a.rules||[]).length&&(n=1)}catch(t){(t.message.match(/protected variable|restricted URI/)||t.message.match(/Security error/))&&(n=1)}n?setTimeout(s.Callback([i,t.STATUS.OK]),0):setTimeout(t,t.delay)}}},loadComplete:function(t){t=this.fileURL(t);var e=this.loading[t];return e&&!e.preloaded?(s.Message.Clear(e.message),e.timeout&&clearTimeout(e.timeout),e.script&&(0===l.length&&setTimeout(i,0),l.push(e.script)),this.loaded[t]=e.status,delete this.loading[t],this.addHook(t,e.callback)):(e&&delete this.loading[t],this.loaded[t]=this.STATUS.OK,e={status:this.STATUS.OK}),this.loadHooks[t]?this.loadHooks[t].Execute(e.status):null},loadTimeout:function(t){this.loading[t].timeout&&clearTimeout(this.loading[t].timeout),this.loading[t].status=this.STATUS.ERROR,this.loadError(t),this.loadComplete(t)},loadError:function(t){s.Message.Set(["LoadFailed","File failed to load: %1",t],null,2e3),s.Hub.signal.Post(["file load error",t])},Styles:function(t,e){var i=this.StyleString(t);if(""===i)(e=s.Callback(e))();else{var n=E.createElement("style");n.type="text/css",this.head=a(this.head),this.head.appendChild(n),n.styleSheet&&void 0!==n.styleSheet.cssText?n.styleSheet.cssText=i:n.appendChild(E.createTextNode(i)),e=this.timer.create.call(this,e,n)}return e},StyleString:function(t){if("string"==typeof t)return t;var e,i,n="";for(e in t)if(t.hasOwnProperty(e))if("string"==typeof t[e])n+=e+" {"+t[e]+"}\n";else if(t[e]instanceof Array)for(var a=0;a<t[e].length;a++)(i={})[e]=t[e][a],n+=this.StyleString(i);else if("@media"===e.substr(0,6))n+=e+" {"+this.StyleString(t[e])+"}\n";else if(null!=t[e]){for(var s in i=[],t[e])t[e].hasOwnProperty(s)&&null!=t[e][s]&&(i[i.length]=s+": "+t[e][s]);n+=e+" {"+i.join("; ")+"}\n"}return n}}}("MathJax"),f.HTML={setDocument:function(t){E=this.document=t},Element:function(t,e,i){var n,a=E.createElement(t);if(e){if(e.hasOwnProperty("style")){var s=e.style;for(n in e.style={},s)s.hasOwnProperty(n)&&(e.style[n.replace(/-([a-z])/g,this.ucMatch)]=s[n])}for(n in f.Hub.Insert(a,e),e)"role"!==n&&"aria-"!==n.substr(0,5)||a.setAttribute(n,e[n])}if(i){f.Object.isArray(i)||(i=[i]);for(var r=0,o=i.length;r<o;r++)f.Object.isArray(i[r])?a.appendChild(this.Element(i[r][0],i[r][1],i[r][2])):"script"===t?this.setScript(a,i[r]):a.appendChild(E.createTextNode(i[r]))}return a},ucMatch:function(t,e){return e.toUpperCase()},addElement:function(t,e,i,n){return t.appendChild(this.Element(e,i,n))},TextNode:function(t){return E.createTextNode(t)},addText:function(t,e){return t.appendChild(this.TextNode(e))},setScript:function(t,e){if(this.setScriptBug)t.text=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);this.addText(t,e)}},getScript:function(t){return t.innerText}},f.Localization={locale:"en",directory:"[MathJax]/localization",strings:{ast:{menuTitle:"asturianu"},bg:{menuTitle:"\u0431\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438"},bcc:{menuTitle:"\u0628\u0644\u0648\u0686\u06cc"},br:{menuTitle:"brezhoneg"},ca:{menuTitle:"catal\xe0"},cdo:{menuTitle:"M\xecng-d\u0115\u0324ng-ng\u1e73\u0304"},cs:{menuTitle:"\u010de\u0161tina"},da:{menuTitle:"dansk"},de:{menuTitle:"Deutsch"},en:{menuTitle:"English",isLoaded:!0},eo:{menuTitle:"Esperanto"},es:{menuTitle:"espa\xf1ol"},fa:{menuTitle:"\u0641\u0627\u0631\u0633\u06cc"},fi:{menuTitle:"suomi"},fr:{menuTitle:"fran\xe7ais"},gl:{menuTitle:"galego"},he:{menuTitle:"\u05e2\u05d1\u05e8\u05d9\u05ea"},ia:{menuTitle:"interlingua"},it:{menuTitle:"italiano"},ja:{menuTitle:"\u65e5\u672c\u8a9e"},kn:{menuTitle:"\u0c95\u0ca8\u0ccd\u0ca8\u0ca1"},ko:{menuTitle:"\ud55c\uad6d\uc5b4"},lb:{menuTitle:"L\xebtzebuergesch"},lt:{menuTitle:"lietuvi\u0173"},mk:{menuTitle:"\u043c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438"},nl:{menuTitle:"Nederlands"},oc:{menuTitle:"occitan"},pl:{menuTitle:"polski"},pt:{menuTitle:"portugus\xea"},"pt-br":{menuTitle:"portugu\xeas do Brasil"},ru:{menuTitle:"\u0440\u0443\u0441\u0441\u043a\u0438\u0439"},sco:{menuTitle:"Scots"},scn:{menuTitle:"sicilianu"},sl:{menuTitle:"sloven\u0161\u010dina"},sv:{menuTitle:"svenska"},tr:{menuTitle:"T\xfcrk\xe7e"},uk:{menuTitle:"\u0443\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430"},vi:{menuTitle:"Ti\u1ebfng Vi\u1ec7t"},"zh-hans":{menuTitle:"\u4e2d\u6587\uff08\u7b80\u4f53\uff09"}},pattern:/%(\d+|\{\d+\}|\{[a-z]+:\%\d+(?:\|(?:%\{\d+\}|%.|[^\}])*)+\}|.)/g,SPLIT:3==="axb".split(/(x)/).length?function(t,e){return t.split(e)}:function(t,e){var i,n=[],a=0;for(e.lastIndex=0;i=e.exec(t);)n.push(t.substr(a,i.index-a)),n.push.apply(n,i.slice(1)),a=i.index+i[0].length;return n.push(t.substr(a)),n},_:function(t,e){return e instanceof Array?this.processSnippet(t,e):this.processString(this.lookupPhrase(t,e),[].slice.call(arguments,2))},processString:function(t,e,i){var n,a;for(n=0,a=e.length;n<a;n++)i&&e[n]instanceof Array&&(e[n]=this.processSnippet(i,e[n]));var s=this.SPLIT(t,this.pattern);for(n=1,a=s.length;n<a;n+=2){var r=s[n].charAt(0);if("0"<=r&&r<="9")s[n]=e[s[n]-1],"number"==typeof s[n]&&(s[n]=this.number(s[n]));else if("{"===r)if("0"<=(r=s[n].substr(1))&&r<="9")s[n]=e[s[n].substr(1,s[n].length-2)-1],"number"==typeof s[n]&&(s[n]=this.number(s[n]));else{var o=s[n].match(/^\{([a-z]+):%(\d+)\|(.*)\}$/);if(o)if("plural"===o[1]){var l=e[o[2]-1];if(void 0===l)s[n]="???";else{l=this.plural(l)-1;var u=o[3].replace(/(^|[^%])(%%)*%\|/g,"$1$2%\uefef").split(/\|/);0<=l&&l<u.length?s[n]=this.processString(u[l].replace(/\uEFEF/g,"|"),e,i):s[n]="???"}}else s[n]="%"+s[n]}null==s[n]&&(s[n]="???")}if(!i)return s.join("");var h=[],p="";for(n=0;n<a;n++)p+=s[n],++n<a&&(s[n]instanceof Array?(h.push(p),h=h.concat(s[n]),p=""):p+=s[n]);return""!==p&&h.push(p),h},processSnippet:function(t,e){for(var i=[],n=0,a=e.length;n<a;n++)if(e[n]instanceof Array){var s=e[n];if("string"==typeof s[1]){var r=s[0];r instanceof Array||(r=[t,r]);var o=this.lookupPhrase(r,s[1]);i=i.concat(this.processMarkdown(o,s.slice(2),t))}else s[1]instanceof Array?i=i.concat(this.processSnippet.apply(this,s)):3<=s.length?i.push([s[0],s[1],this.processSnippet(t,s[2])]):i.push(e[n])}else i.push(e[n]);return i},markdownPattern:/(%.)|(\*{1,3})((?:%.|.)+?)\2|(`+)((?:%.|.)+?)\4|\[((?:%.|.)+?)\]\(([^\s\)]+)\)/,processMarkdown:function(t,e,i){for(var n,a=[],s=t.split(this.markdownPattern),r=s[0],o=1,l=s.length;o<l;o+=8)s[o+1]?((n=this.processString(s[o+2],e,i))instanceof Array||(n=[n]),n=[["b","i","i"][s[o+1].length-1],{},n],3===s[o+1].length&&(n=["b",{},n])):n=s[o+3]?((n=this.processString(s[o+4].replace(/^\s/,"").replace(/\s$/,""),e,i))instanceof Array||(n=[n]),["code",{},n]):s[o+5]?((n=this.processString(s[o+5],e,i))instanceof Array||(n=[n]),["a",{href:this.processString(s[o+6],e),target:"_blank"},n]):(r+=s[o],null),n&&((a=this.concatString(a,r,e,i)).push(n),r=""),""!==s[o+7]&&(r+=s[o+7]);return a=this.concatString(a,r,e,i)},concatString:function(t,e,i,n){return""!=e&&((e=this.processString(e,i,n))instanceof Array||(e=[e]),t=t.concat(e)),t},lookupPhrase:function(t,e,i){i=i||"_",t instanceof Array&&(i=t[0]||"_",t=t[1]||"");var n=this.loadDomain(i);n&&f.Hub.RestartAfter(n);var a=this.strings[this.locale];if(a&&a.domains&&i in a.domains){var s=a.domains[i];s.strings&&t in s.strings&&(e=s.strings[t])}return e},loadFile:function(t,e,i){i=f.Callback(i),(t=e.file||t).match(/\.js$/)||(t+=".js"),t.match(/^([a-z]+:|\[MathJax\])/)||(t=(this.strings[this.locale].directory||this.directory+"/"+this.locale||"[MathJax]/localization/"+this.locale)+"/"+t);var n=f.Ajax.Require(t,function(){return e.isLoaded=!0,i()});return n.called?null:n},loadDomain:function(t,e){var i,n=this.strings[this.locale];if(n){if(!n.isLoaded&&(i=this.loadFile(this.locale,n)))return f.Callback.Queue(i,["loadDomain",this,t]).Push(e||{});if(n.domains&&t in n.domains){var a=n.domains[t];if(!a.isLoaded&&(i=this.loadFile(t,a)))return f.Callback.Queue(i).Push(e)}}return f.Callback(e)()},Try:function(e){(e=f.Callback(e)).autoReset=!0;try{e()}catch(t){if(!t.restart)throw t;f.Callback.After(["Try",this,e],t.restart)}},resetLocale:function(t){if(t){for(t=t.toLowerCase();!this.strings[t];){var e=t.lastIndexOf("-");if(-1===e)return;t=t.substring(0,e)}var i=this.strings[t].remap;this.locale=i||t}},setLocale:function(t){this.resetLocale(t),f.Menu&&this.loadDomain("MathMenu")},addTranslation:function(t,e,i){var n=this.strings[t],a=!1;n||(n=this.strings[t]={},a=!0),n.domains||(n.domains={}),e&&(n.domains[e]||(n.domains[e]={}),n=n.domains[e]),f.Hub.Insert(n,i),a&&f.Menu.menu&&f.Menu.CreateLocaleMenu()},setCSS:function(t){var e=this.strings[this.locale];return e&&(e.fontFamily&&(t.style.fontFamily=e.fontFamily),e.fontDirection&&(t.style.direction=e.fontDirection,"rtl"===e.fontDirection&&(t.style.textAlign="right"))),t},fontFamily:function(){var t=this.strings[this.locale];return t?t.fontFamily:null},fontDirection:function(){var t=this.strings[this.locale];return t?t.fontDirection:null},plural:function(t){var e=this.strings[this.locale];return e&&e.plural?e.plural(t):1==t?1:2},number:function(t){var e=this.strings[this.locale];return e&&e.number?e.number(t):t}},f.Message={localize:function(t){return f.Localization._(t,t)},filterText:function(t,e,i){return"simple"===f.Hub.config.messageStyle&&("LoadFile"===i?(this.loading||(this.loading=this.localize("Loading")+" "),t=this.loading,this.loading+="."):"ProcessMath"===i?(this.processing||(this.processing=this.localize("Processing")+" "),t=this.processing,this.processing+="."):"TypesetMath"===i&&(this.typesetting||(this.typesetting=this.localize("Typesetting")+" "),t=this.typesetting,this.typesetting+=".")),t},Set:function(t,e,i){f.debug&&(Array.isArray(t)&&(t=f.Localization._.apply(f.Localization,t)),console.log("Message: "+t))},Clear:function(t,e){},Remove:function(){},File:function(t){return this.Set(["LoadFile","Loading %1",t],null,null)},Log:function(){}},f.Hub={config:{root:"./mathjax2/legacy",config:[],jax:[],extensions:[],preJax:null,postJax:null,displayAlign:"center",displayIndent:"0",preRemoveClass:"MathJax_Preview",showProcessingMessages:!0,messageStyle:"normal",delayStartupUntil:"none",skipStartupTypeset:!1,elements:[],positionToHash:!0,showMathMenu:!0,showMathMenuMSIE:!0,menuSettings:{zoom:"None",CTRL:!1,ALT:!1,CMD:!1,Shift:!1,discoverable:!1,zscale:"200%",renderer:null,font:"Auto",context:"MathJax",locale:null,mpContext:!1,mpMouse:!1,texHints:!0,FastPreview:null,assistiveMML:null,inTabOrder:!0,semantics:!1},errorSettings:{message:["[",["MathProcessingError","Math Processing Error"],"]"],style:{color:"#CC0000","font-style":"italic"}},ignoreMMLattributes:{}},preProcessors:f.Callback.Hooks(!0),inputJax:{},outputJax:{order:{}},processSectionDelay:50,processUpdateTime:250,processUpdateDelay:10,signal:f.Callback.Signal("Hub"),Config:function(t){this.Insert(this.config,t),this.config.Augment&&this.Augment(this.config.Augment)},CombineConfig:function(t,e){for(var i,n,a=this.config,s=0,r=(t=t.split(/\./)).length;s<r;s++)a[i=t[s]]||(a[i]={}),a=(n=a)[i];return n[i]=a=this.Insert(e,a),a},Register:{PreProcessor:function(){return f.Hub.preProcessors.Add.apply(f.Hub.preProcessors,arguments)},MessageHook:function(){return f.Hub.signal.MessageHook.apply(f.Hub.signal,arguments)},StartupHook:function(){return f.Hub.Startup.signal.MessageHook.apply(f.Hub.Startup.signal,arguments)},LoadHook:function(){return f.Ajax.LoadHook.apply(f.Ajax,arguments)}},UnRegister:{PreProcessor:function(t){f.Hub.preProcessors.Remove(t)},MessageHook:function(t){f.Hub.signal.RemoveHook(t)},StartupHook:function(t){f.Hub.Startup.signal.RemoveHook(t)},LoadHook:function(t){f.Ajax.removeHook(t)}},setRenderer:function(t,e){if(t){if(f.OutputJax[t]){this.config.menuSettings.renderer=t,null==e&&(e="jax/mml");var i=this.outputJax;return i[e]&&i[e].length&&t!==i[e][0].id?(i[e].unshift(f.OutputJax[t]),this.signal.Post(["Renderer Selected",t])):null}this.config.menuSettings.renderer="";var n="[MathJax]/jax/output/"+t+"/config.js";return f.Ajax.Require(n,["setRenderer",this,t,e])}},Queue:function(){return this.queue.Push.apply(this.queue,arguments)},RestartAfter:function(t){throw this.Insert(Error("restart"),{restart:f.Callback(t)})},Insert:function(t,e){for(var i in e)e.hasOwnProperty(i)&&("object"!=typeof e[i]||e[i]instanceof Array||"object"!=typeof t[i]&&"function"!=typeof t[i]?t[i]=e[i]:this.Insert(t[i],e[i]));return t},SplitList:"trim"in String.prototype?function(t){return t.trim().split(/\s+/)}:function(t){return t.replace(/^\s+/,"").replace(/\s+$/,"").split(/\s+/)}},f.Extension={},f.Hub.Startup={queue:f.Callback.Queue(),signal:f.Callback.Signal("Startup")},f.Ajax.config.root=f.Hub.config.root,n=g[i="MathJax"],a="["+i+"]",s=n.Hub,r=n.Ajax,o=n.Callback,l=f.Object.Subclass({JAXFILE:"jax.js",require:null,config:{},Init:function(t,e){return 0===arguments.length?this:this.constructor.Subclass(t,e)()},Augment:function(t,e){var i=this.constructor,n={};if(null!=t){for(var a in t)t.hasOwnProperty(a)&&("function"==typeof t[a]?i.protoFunction(a,t[a]):n[a]=t[a]);t.toString!==i.prototype.toString&&t.toString!=={}.toString&&i.protoFunction("toString",t.toString)}return s.Insert(i.prototype,n),i.Augment(null,e),this},Translate:function(t,e){throw Error(this.directory+"/"+this.JAXFILE+" failed to define the Translate() method")},Register:function(t){},Config:function(){this.config=s.CombineConfig(this.id,this.config),this.config.Augment&&this.Augment(this.config.Augment)},Startup:function(){},loadComplete:function(t){if("config.js"===t)return r.loadComplete(this.directory+"/"+t);var e=o.Queue();return e.Push(["Post",s.Startup.signal,this.id+" Jax Config"],["Config",this],["Post",s.Startup.signal,this.id+" Jax Startup"],["Startup",this],["Post",s.Startup.signal,this.id+" Jax Ready"]),this.copyTranslate&&e.Push([function(t){t.preProcess=t.preTranslate,t.Process=t.Translate,t.postProcess=t.postTranslate},this.constructor.prototype]),e.Push(["loadComplete",r,this.directory+"/"+t])}},{id:"Jax",version:"2.6.0",directory:a+"/jax",extensionDir:a+"/extensions"}),n.InputJax=l.Subclass({elementJax:"mml",sourceMenuTitle:["Original","Original Form"],copyTranslate:!0,Process:function(t,e){throw Error("Input jax failed to load properly")},needsUpdate:function(t){var e=t.SourceElement();return t.originalText!==n.HTML.getScript(e)},Register:function(t){s.inputJax||(s.inputJax={}),s.inputJax[t]=this}},{id:"InputJax",version:"2.6.0",directory:l.directory+"/input",extensionDir:l.extensionDir}),n.OutputJax=l.Subclass({copyTranslate:!0,preProcess:function(t){throw Error("Output jax failed to load properly")},Register:function(t){var e=s.outputJax;e[t]||(e[t]=[]),e[t].length&&(this.id===s.config.menuSettings.renderer||(e.order[this.id]||0)<(e.order[e[t][0].id]||0))?e[t].unshift(this):e[t].push(this)},Remove:function(t){}},{id:"OutputJax",version:"2.6.0",directory:l.directory+"/output",extensionDir:l.extensionDir,fontDir:a+(n.isPacked?"":"/..")+"/fonts",imageDir:a+(n.isPacked?"":"/..")+"/images"}),n.ElementJax=l.Subclass({Init:function(t,e){return this.constructor.Subclass(t,e)},inputJax:null,outputJax:null,inputID:null,originalText:"",mimeType:"",sourceMenuTitle:["MathMLcode","MathML Code"],Text:function(t,e){var i=this.SourceElement();return n.HTML.setScript(i,t),i.MathJax.state=this.STATE.UPDATE,s.Update(i,e)},Reprocess:function(t){var e=this.SourceElement();return e.MathJax.state=this.STATE.UPDATE,s.Reprocess(e,t)},Update:function(t){return this.Rerender(t)},Rerender:function(t){var e=this.SourceElement();return e.MathJax.state=this.STATE.OUTPUT,s.Process(e,t)},Remove:function(t){this.hover&&this.hover.clear(this),n.OutputJax[this.outputJax].Remove(this),t||(s.signal.Post(["Remove Math",this.inputID]),this.Detach())},needsUpdate:function(){return n.InputJax[this.inputJax].needsUpdate(this)},SourceElement:function(){return E.getElementById(this.inputID)},Attach:function(t,e){var i=t.MathJax.elementJax;return t.MathJax.state===this.STATE.UPDATE?i.Clone(this):(i=t.MathJax.elementJax=this,t.id?this.inputID=t.id:(t.id=this.inputID=n.ElementJax.GetID(),this.newID=1)),i.originalText=n.HTML.getScript(t),i.inputJax=e,i.root&&(i.root.inputID=i.inputID),i},Detach:function(){var e=this.SourceElement();if(e){try{delete e.MathJax}catch(t){e.MathJax=null}this.newID&&(e.id="")}},Clone:function(t){var e;for(e in this)this.hasOwnProperty(e)&&void 0===t[e]&&"newID"!==e&&delete this[e];for(e in t)t.hasOwnProperty(e)&&(void 0===this[e]||this[e]!==t[e]&&"inputID"!==e)&&(this[e]=t[e])}},{id:"ElementJax",version:"2.6.0",directory:l.directory+"/element",extensionDir:l.extensionDir,ID:0,STATE:{PENDING:1,PROCESSED:2,UPDATE:3,OUTPUT:4},GetID:function(){return this.ID++,"MathJax-Element-"+this.ID},Subclass:function(){var t=l.Subclass.apply(this,arguments);return t.loadComplete=this.prototype.loadComplete,t}}),n.ElementJax.prototype.STATE=n.ElementJax.STATE,f.Hub.Browser={Select:function(){}}},function(t,e){MathJax.ElementJax.mml=MathJax.ElementJax({mimeType:"jax/mml"},{id:"mml",version:"2.7.2",directory:MathJax.ElementJax.directory+"/mml",extensionDir:MathJax.ElementJax.extensionDir+"/mml",optableDir:MathJax.ElementJax.directory+"/mml/optable"}),MathJax.ElementJax.mml.Augment({Init:function(){if(1===arguments.length&&"math"===arguments[0].type?this.root=arguments[0]:this.root=MathJax.ElementJax.mml.math.apply(this,arguments),this.root.attr&&this.root.attr.mode){this.root.display||"display"!==this.root.attr.mode||(this.root.display="block",this.root.attrNames.push("display")),delete this.root.attr.mode;for(var t=0,e=this.root.attrNames.length;t<e;t++)if("mode"===this.root.attrNames[t]){this.root.attrNames.splice(t,1);break}}}},{INHERIT:"_inherit_",AUTO:"_auto_",SIZE:{INFINITY:"infinity",SMALL:"small",NORMAL:"normal",BIG:"big"},COLOR:{TRANSPARENT:"transparent"},VARIANT:{NORMAL:"normal",BOLD:"bold",ITALIC:"italic",BOLDITALIC:"bold-italic",DOUBLESTRUCK:"double-struck",FRAKTUR:"fraktur",BOLDFRAKTUR:"bold-fraktur",SCRIPT:"script",BOLDSCRIPT:"bold-script",SANSSERIF:"sans-serif",BOLDSANSSERIF:"bold-sans-serif",SANSSERIFITALIC:"sans-serif-italic",SANSSERIFBOLDITALIC:"sans-serif-bold-italic",MONOSPACE:"monospace",INITIAL:"inital",TAILED:"tailed",LOOPED:"looped",STRETCHED:"stretched",CALIGRAPHIC:"-tex-caligraphic",OLDSTYLE:"-tex-oldstyle"},FORM:{PREFIX:"prefix",INFIX:"infix",POSTFIX:"postfix"},LINEBREAK:{AUTO:"auto",NEWLINE:"newline",NOBREAK:"nobreak",GOODBREAK:"goodbreak",BADBREAK:"badbreak"},LINEBREAKSTYLE:{BEFORE:"before",AFTER:"after",DUPLICATE:"duplicate",INFIXLINBREAKSTYLE:"infixlinebreakstyle"},INDENTALIGN:{LEFT:"left",CENTER:"center",RIGHT:"right",AUTO:"auto",ID:"id",INDENTALIGN:"indentalign"},INDENTSHIFT:{INDENTSHIFT:"indentshift"},LINETHICKNESS:{THIN:"thin",MEDIUM:"medium",THICK:"thick"},NOTATION:{LONGDIV:"longdiv",ACTUARIAL:"actuarial",RADICAL:"radical",BOX:"box",ROUNDEDBOX:"roundedbox",CIRCLE:"circle",LEFT:"left",RIGHT:"right",TOP:"top",BOTTOM:"bottom",UPDIAGONALSTRIKE:"updiagonalstrike",DOWNDIAGONALSTRIKE:"downdiagonalstrike",UPDIAGONALARROW:"updiagonalarrow",VERTICALSTRIKE:"verticalstrike",HORIZONTALSTRIKE:"horizontalstrike",PHASORANGLE:"phasorangle",MADRUWB:"madruwb"},ALIGN:{TOP:"top",BOTTOM:"bottom",CENTER:"center",BASELINE:"baseline",AXIS:"axis",LEFT:"left",RIGHT:"right"},LINES:{NONE:"none",SOLID:"solid",DASHED:"dashed"},SIDE:{LEFT:"left",RIGHT:"right",LEFTOVERLAP:"leftoverlap",RIGHTOVERLAP:"rightoverlap"},WIDTH:{AUTO:"auto",FIT:"fit"},ACTIONTYPE:{TOGGLE:"toggle",STATUSLINE:"statusline",TOOLTIP:"tooltip",INPUT:"input"},LENGTH:{VERYVERYTHINMATHSPACE:"veryverythinmathspace",VERYTHINMATHSPACE:"verythinmathspace",THINMATHSPACE:"thinmathspace",MEDIUMMATHSPACE:"mediummathspace",THICKMATHSPACE:"thickmathspace",VERYTHICKMATHSPACE:"verythickmathspace",VERYVERYTHICKMATHSPACE:"veryverythickmathspace",NEGATIVEVERYVERYTHINMATHSPACE:"negativeveryverythinmathspace",NEGATIVEVERYTHINMATHSPACE:"negativeverythinmathspace",NEGATIVETHINMATHSPACE:"negativethinmathspace",NEGATIVEMEDIUMMATHSPACE:"negativemediummathspace",NEGATIVETHICKMATHSPACE:"negativethickmathspace",NEGATIVEVERYTHICKMATHSPACE:"negativeverythickmathspace",NEGATIVEVERYVERYTHICKMATHSPACE:"negativeveryverythickmathspace"},OVERFLOW:{LINBREAK:"linebreak",SCROLL:"scroll",ELIDE:"elide",TRUNCATE:"truncate",SCALE:"scale"},UNIT:{EM:"em",EX:"ex",PX:"px",IN:"in",CM:"cm",MM:"mm",PT:"pt",PC:"pc"},TEXCLASS:{ORD:0,OP:1,BIN:2,REL:3,OPEN:4,CLOSE:5,PUNCT:6,INNER:7,VCENTER:8,NONE:-1},TEXCLASSNAMES:["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER","VCENTER"],skipAttributes:{texClass:!0,useHeight:!0,texprimestyle:!0},copyAttributes:{displaystyle:1,scriptlevel:1,open:1,close:1,form:1,actiontype:1,fontfamily:!0,fontsize:!0,fontweight:!0,fontstyle:!0,color:!0,background:!0,id:!0,class:1,href:!0,style:!0},copyAttributeNames:["displaystyle","scriptlevel","open","close","form","actiontype","fontfamily","fontsize","fontweight","fontstyle","color","background","id","class","href","style"],nocopyAttributes:{fontfamily:!0,fontsize:!0,fontweight:!0,fontstyle:!0,color:!0,background:!0,id:!0,class:!0,href:!0,style:!0,xmlns:!0},Error:function(t,e){var i=this.merror(t),n=MathJax.Localization.fontDirection(),a=MathJax.Localization.fontFamily();return e&&(i=i.With(e)),(n||a)&&(i=this.mstyle(i),n&&(i.dir=n),a&&(i.style.fontFamily="font-family: "+a)),i}}),function(l){l.mbase=MathJax.Object.Subclass({type:"base",isToken:!1,defaults:{mathbackground:l.INHERIT,mathcolor:l.INHERIT,dir:l.INHERIT},noInherit:{},noInheritAttribute:{texClass:!0},getRemoved:{},linebreakContainer:!1,Init:function(){this.data=[],!this.inferRow||1===arguments.length&&arguments[0].inferred||this.Append(l.mrow().With({inferred:!0,notParent:!0})),this.Append.apply(this,arguments)},With:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);return this},Append:function(){if(this.inferRow&&this.data.length)this.data[0].Append.apply(this.data[0],arguments);else for(var t=0,e=arguments.length;t<e;t++)this.SetData(this.data.length,arguments[t])},SetData:function(t,e){null!=e&&(e instanceof l.mbase||(e=this.isToken||this.isChars?l.chars(e):l.mtext(e)),e.parent=this,e.setInherit(this.inheritFromMe?this:this.inherit)),this.data[t]=e},Parent:function(){for(var t=this.parent;t&&t.notParent;)t=t.parent;return t},Get:function(t,e,i){if(!i){if(null!=this[t])return this[t];if(this.attr&&null!=this.attr[t])return this.attr[t]}var n=this.Parent();if(n&&null!=n["adjustChild_"+t])return n["adjustChild_"+t](this.childPosition(),e);for(var a=this.inherit,s=a;a;){var r=a[t];if(null==r&&a.attr&&(r=a.attr[t]),a.removedStyles&&a.getRemoved[t]&&null==r&&(r=a.removedStyles[a.getRemoved[t]]),null!=r&&a.noInheritAttribute&&!a.noInheritAttribute[t]){var o=a.noInherit[this.type];if(!o||!o[t])return r}a=(s=a).inherit}if(!e){if(this.defaults[t]===l.AUTO)return this.autoDefault(t);if(this.defaults[t]!==l.INHERIT&&null!=this.defaults[t])return this.defaults[t];if(s)return s.defaults[t]}return null},hasValue:function(t){return null!=this.Get(t,!0)},getValues:function(){for(var t={},e=0,i=arguments.length;e<i;e++)t[arguments[e]]=this.Get(arguments[e]);return t},adjustChild_scriptlevel:function(t,e){return this.Get("scriptlevel",e)},adjustChild_displaystyle:function(t,e){return this.Get("displaystyle",e)},adjustChild_texprimestyle:function(t,e){return this.Get("texprimestyle",e)},childPosition:function(){for(var t=this,e=t.parent;e.notParent;)e=(t=e).parent;for(var i=0,n=e.data.length;i<n;i++)if(e.data[i]===t)return i;return null},setInherit:function(t){if(t!==this.inherit&&null==this.inherit){this.inherit=t;for(var e=0,i=this.data.length;e<i;e++)this.data[e]&&this.data[e].setInherit&&this.data[e].setInherit(t)}},setTeXclass:function(t){return this.getPrevClass(t),void 0!==this.texClass?this:t},getPrevClass:function(t){t&&(this.prevClass=t.Get("texClass"),this.prevLevel=t.Get("scriptlevel"))},updateTeXclass:function(t){t&&(this.prevClass=t.prevClass,delete t.prevClass,this.prevLevel=t.prevLevel,delete t.prevLevel,this.texClass=t.Get("texClass"))},texSpacing:function(){var t=null!=this.prevClass?this.prevClass:l.TEXCLASS.NONE,e=this.Get("texClass")||l.TEXCLASS.ORD;if(t===l.TEXCLASS.NONE||e===l.TEXCLASS.NONE)return"";t===l.TEXCLASS.VCENTER&&(t=l.TEXCLASS.ORD),e===l.TEXCLASS.VCENTER&&(e=l.TEXCLASS.ORD);var i=this.TEXSPACE[t][e];return(0<this.prevLevel||0<this.Get("scriptlevel"))&&0<=i?"":this.TEXSPACELENGTH[Math.abs(i)]},TEXSPACELENGTH:["",l.LENGTH.THINMATHSPACE,l.LENGTH.MEDIUMMATHSPACE,l.LENGTH.THICKMATHSPACE],TEXSPACE:[[0,-1,2,3,0,0,0,1],[-1,-1,0,3,0,0,0,1],[2,2,0,0,2,0,0,2],[3,3,0,0,3,0,0,3],[0,0,0,0,0,0,0,0],[0,-1,2,3,0,0,0,1],[1,1,0,1,1,1,1,1],[1,-1,2,3,1,0,1,1]],autoDefault:function(t){return""},isSpacelike:function(){return!1},isEmbellished:function(){return!1},Core:function(){return this},CoreMO:function(){return this},childIndex:function(t){if(null!=t)for(var e=0,i=this.data.length;e<i;e++)if(t===this.data[e])return e},CoreIndex:function(){return(this.inferRow&&this.data[0]||this).childIndex(this.Core())},hasNewline:function(){if(this.isEmbellished())return this.CoreMO().hasNewline();if(this.isToken||this.linebreakContainer)return!1;for(var t=0,e=this.data.length;t<e;t++)if(this.data[t]&&this.data[t].hasNewline())return!0;return!1},array:function(){return this.inferred?this.data:[this]},toString:function(){return this.type+"("+this.data.join(",")+")"},getAnnotation:function(){return null}},{childrenSpacelike:function(){for(var t=0,e=this.data.length;t<e;t++)if(!this.data[t].isSpacelike())return!1;return!0},childEmbellished:function(){return this.data[0]&&this.data[0].isEmbellished()},childCore:function(){return this.inferRow&&this.data[0]?this.data[0].Core():this.data[0]},childCoreMO:function(){return this.data[0]?this.data[0].CoreMO():null},setChildTeXclass:function(t){return this.data[0]&&(t=this.data[0].setTeXclass(t),this.updateTeXclass(this.data[0])),t},setBaseTeXclasses:function(t){this.getPrevClass(t),this.texClass=null,this.data[0]?this.isEmbellished()||this.data[0].isa(l.mi)?(t=this.data[0].setTeXclass(t),this.updateTeXclass(this.Core())):(this.data[0].setTeXclass(),t=this):t=this;for(var e=1,i=this.data.length;e<i;e++)this.data[e]&&this.data[e].setTeXclass();return t},setSeparateTeXclasses:function(t){this.getPrevClass(t);for(var e=0,i=this.data.length;e<i;e++)this.data[e]&&this.data[e].setTeXclass();return this.isEmbellished()&&this.updateTeXclass(this.Core()),this}}),l.mi=l.mbase.Subclass({type:"mi",isToken:!0,texClass:l.TEXCLASS.ORD,defaults:{mathvariant:l.AUTO,mathsize:l.INHERIT,mathbackground:l.INHERIT,mathcolor:l.INHERIT,dir:l.INHERIT},autoDefault:function(t){if("mathvariant"!==t)return"";var e=(this.data[0]||"").toString();return 1===e.length||2===e.length&&55296<=e.charCodeAt(0)&&e.charCodeAt(0)<56320?l.VARIANT.ITALIC:l.VARIANT.NORMAL},setTeXclass:function(t){this.getPrevClass(t);var e=this.data.join("");return 1<e.length&&e.match(/^[a-z][a-z0-9]*$/i)&&this.texClass===l.TEXCLASS.ORD&&(this.texClass=l.TEXCLASS.OP,this.autoOP=!0),this}}),l.mn=l.mbase.Subclass({type:"mn",isToken:!0,texClass:l.TEXCLASS.ORD,defaults:{mathvariant:l.INHERIT,mathsize:l.INHERIT,mathbackground:l.INHERIT,mathcolor:l.INHERIT,dir:l.INHERIT}}),l.mo=l.mbase.Subclass({type:"mo",isToken:!0,defaults:{mathvariant:l.INHERIT,mathsize:l.INHERIT,mathbackground:l.INHERIT,mathcolor:l.INHERIT,dir:l.INHERIT,form:l.AUTO,fence:l.AUTO,separator:l.AUTO,lspace:l.AUTO,rspace:l.AUTO,stretchy:l.AUTO,symmetric:l.AUTO,maxsize:l.AUTO,minsize:l.AUTO,largeop:l.AUTO,movablelimits:l.AUTO,accent:l.AUTO,linebreak:l.LINEBREAK.AUTO,lineleading:l.INHERIT,linebreakstyle:l.AUTO,linebreakmultchar:l.INHERIT,indentalign:l.INHERIT,indentshift:l.INHERIT,indenttarget:l.INHERIT,indentalignfirst:l.INHERIT,indentshiftfirst:l.INHERIT,indentalignlast:l.INHERIT,indentshiftlast:l.INHERIT,texClass:l.AUTO},defaultDef:{form:l.FORM.INFIX,fence:!1,separator:!1,lspace:l.LENGTH.THICKMATHSPACE,rspace:l.LENGTH.THICKMATHSPACE,stretchy:!1,symmetric:!1,maxsize:l.SIZE.INFINITY,minsize:"0em",largeop:!1,movablelimits:!1,accent:!1,linebreak:l.LINEBREAK.AUTO,lineleading:"1ex",linebreakstyle:"before",indentalign:l.INDENTALIGN.AUTO,indentshift:"0",indenttarget:"",indentalignfirst:l.INDENTALIGN.INDENTALIGN,indentshiftfirst:l.INDENTSHIFT.INDENTSHIFT,indentalignlast:l.INDENTALIGN.INDENTALIGN,indentshiftlast:l.INDENTSHIFT.INDENTSHIFT,texClass:l.TEXCLASS.REL},SPACE_ATTR:{lspace:1,rspace:2,form:4},useMMLspacing:7,autoDefault:function(t,e){var i=this.def;if(!i){if("form"===t)return this.useMMLspacing&=~this.SPACE_ATTR.form,this.getForm();for(var n=this.data.join(""),a=[this.Get("form"),l.FORM.INFIX,l.FORM.POSTFIX,l.FORM.PREFIX],s=0,r=a.length;s<r;s++){var o=this.OPTABLE[a[s]][n];if(o){i=this.makeDef(o);break}}!(i=i||this.CheckRange(n))&&e?i={}:(i=i||MathJax.Hub.Insert({},this.defaultDef),this.parent?this.def=i:i=MathJax.Hub.Insert({},i),i.form=a[0])}return this.useMMLspacing&=~(this.SPACE_ATTR[t]||0),null!=i[t]?i[t]:e?"":this.defaultDef[t]},CheckRange:function(t){var e=t.charCodeAt(0);55296<=e&&e<56320&&(e=(e-55296<<10)+(t.charCodeAt(1)-56320)+65536);for(var i=0,n=this.RANGES.length;i<n&&this.RANGES[i][0]<=e;i++)if(e<=this.RANGES[i][1]){if(this.RANGES[i][3]){var a=l.optableDir+"/"+this.RANGES[i][3]+".js";this.RANGES[i][3]=null,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(a))}var s=l.TEXCLASSNAMES[this.RANGES[i][2]];return s=this.OPTABLE.infix[t]=l.mo.OPTYPES["BIN"===s?"BIN3":s],this.makeDef(s)}return null},makeDef:function(t){null==t[2]&&(t[2]=this.defaultDef.texClass),t[3]||(t[3]={});var e=MathJax.Hub.Insert({},t[3]);return e.lspace=this.SPACE[t[0]],e.rspace=this.SPACE[t[1]],e.texClass=t[2],e.texClass===l.TEXCLASS.REL&&(this.movablelimits||this.data.join("").match(/^[a-z]+$/i))&&(e.texClass=l.TEXCLASS.OP),e},getForm:function(){for(var t=this,e=this.parent,i=this.Parent();i&&i.isEmbellished();)t=e,e=i.parent,i=i.Parent();if(e&&"mrow"===e.type&&1!==e.NonSpaceLength()){if(e.FirstNonSpace()===t)return l.FORM.PREFIX;if(e.LastNonSpace()===t)return l.FORM.POSTFIX}return l.FORM.INFIX},isEmbellished:function(){return!0},hasNewline:function(){return this.Get("linebreak")===l.LINEBREAK.NEWLINE},CoreParent:function(){for(var t=this;t&&t.isEmbellished()&&t.CoreMO()===this&&!t.isa(l.math);)t=t.Parent();return t},CoreText:function(t){if(!t)return"";if(t.isEmbellished())return t.CoreMO().data.join("");for(;((t.isa(l.mrow)||t.isa(l.TeXAtom)||t.isa(l.mstyle)||t.isa(l.mphantom))&&1===t.data.length||t.isa(l.munderover))&&t.data[0];)t=t.data[0];return t.isToken?t.data.join(""):""},remapChars:{"*":"\u2217",'"':"\u2033","\xb0":"\u2218","\xb2":"2","\xb3":"3","\xb4":"\u2032","\xb9":"1"},remap:function(t,e){return t=t.replace(/-/g,"\u2212"),e&&1===(t=t.replace(/'/g,"\u2032").replace(/`/g,"\u2035")).length&&(t=e[t]||t),t},setTeXclass:function(t){var e=this.getValues("form","lspace","rspace","fence");return this.useMMLspacing?(this.texClass=l.TEXCLASS.NONE,this):(e.fence&&!this.texClass&&(e.form===l.FORM.PREFIX&&(this.texClass=l.TEXCLASS.OPEN),e.form===l.FORM.POSTFIX&&(this.texClass=l.TEXCLASS.CLOSE)),this.texClass=this.Get("texClass"),"\u2061"===this.data.join("")?(t&&(t.texClass=l.TEXCLASS.OP,t.fnOP=!0),this.texClass=this.prevClass=l.TEXCLASS.NONE,t):this.adjustTeXclass(t))},adjustTeXclass:function(t){if(this.texClass===l.TEXCLASS.NONE)return t;if(t?(!t.autoOP||this.texClass!==l.TEXCLASS.BIN&&this.texClass!==l.TEXCLASS.REL||(t.texClass=l.TEXCLASS.ORD),this.prevClass=t.texClass||l.TEXCLASS.ORD,this.prevLevel=t.Get("scriptlevel")):this.prevClass=l.TEXCLASS.NONE,this.texClass!==l.TEXCLASS.BIN||this.prevClass!==l.TEXCLASS.NONE&&this.prevClass!==l.TEXCLASS.BIN&&this.prevClass!==l.TEXCLASS.OP&&this.prevClass!==l.TEXCLASS.REL&&this.prevClass!==l.TEXCLASS.OPEN&&this.prevClass!==l.TEXCLASS.PUNCT)if(this.prevClass!==l.TEXCLASS.BIN||this.texClass!==l.TEXCLASS.REL&&this.texClass!==l.TEXCLASS.CLOSE&&this.texClass!==l.TEXCLASS.PUNCT){if(this.texClass===l.TEXCLASS.BIN){for(var e=this,i=this.parent;i&&i.parent&&i.isEmbellished()&&(1===i.data.length||"mrow"!==i.type&&i.Core()===e);)i=(e=i).parent;i.data[i.data.length-1]===e&&(this.texClass=l.TEXCLASS.ORD)}}else t.texClass=this.prevClass=l.TEXCLASS.ORD;else this.texClass=l.TEXCLASS.ORD;return this}}),l.mtext=l.mbase.Subclass({type:"mtext",isToken:!0,isSpacelike:function(){return!0},texClass:l.TEXCLASS.ORD,defaults:{mathvariant:l.INHERIT,mathsize:l.INHERIT,mathbackground:l.INHERIT,mathcolor:l.INHERIT,dir:l.INHERIT}}),l.mspace=l.mbase.Subclass({type:"mspace",isToken:!0,isSpacelike:function(){return!0},defaults:{mathbackground:l.INHERIT,mathcolor:l.INHERIT,width:"0em",height:"0ex",depth:"0ex",linebreak:l.LINEBREAK.AUTO},hasDimAttr:function(){return this.hasValue("width")||this.hasValue("height")||this.hasValue("depth")},hasNewline:function(){return!this.hasDimAttr()&&this.Get("linebreak")===l.LINEBREAK.NEWLINE}}),l.ms=l.mbase.Subclass({type:"ms",isToken:!0,texClass:l.TEXCLASS.ORD,defaults:{mathvariant:l.INHERIT,mathsize:l.INHERIT,mathbackground:l.INHERIT,mathcolor:l.INHERIT,dir:l.INHERIT,lquote:'"',rquote:'"'}}),l.mglyph=l.mbase.Subclass({type:"mglyph",isToken:!0,texClass:l.TEXCLASS.ORD,defaults:{mathbackground:l.INHERIT,mathcolor:l.INHERIT,alt:"",src:"",width:l.AUTO,height:l.AUTO,valign:"0em"}}),l.mrow=l.mbase.Subclass({type:"mrow",isSpacelike:l.mbase.childrenSpacelike,inferred:!1,notParent:!1,isEmbellished:function(){for(var t=!1,e=0,i=this.data.length;e<i;e++)if(null!=this.data[e])if(this.data[e].isEmbellished()){if(t)return!1;t=!0,this.core=e}else if(!this.data[e].isSpacelike())return!1;return t},NonSpaceLength:function(){for(var t=0,e=0,i=this.data.length;e<i;e++)this.data[e]&&!this.data[e].isSpacelike()&&t++;return t},FirstNonSpace:function(){for(var t=0,e=this.data.length;t<e;t++)if(this.data[t]&&!this.data[t].isSpacelike())return this.data[t];return null},LastNonSpace:function(){for(var t=this.data.length-1;0<=t;t--)if(this.data[0]&&!this.data[t].isSpacelike())return this.data[t];return null},Core:function(){return this.isEmbellished()&&void 0!==this.core?this.data[this.core]:this},CoreMO:function(){return this.isEmbellished()&&void 0!==this.core?this.data[this.core].CoreMO():this},toString:function(){return this.inferred?"["+this.data.join(",")+"]":this.SUPER(arguments).toString.call(this)},setTeXclass:function(t){var e,i=this.data.length;if(!this.open&&!this.close||t&&t.fnOP){for(e=0;e<i;e++)this.data[e]&&(t=this.data[e].setTeXclass(t));return this.data[0]&&this.updateTeXclass(this.data[0]),t}for(this.getPrevClass(t),t=null,e=0;e<i;e++)this.data[e]&&(t=this.data[e].setTeXclass(t));return this.hasOwnProperty("texClass")||(this.texClass=l.TEXCLASS.INNER),this},getAnnotation:function(t){return 1!=this.data.length?null:this.data[0].getAnnotation(t)}}),l.mfrac=l.mbase.Subclass({type:"mfrac",num:0,den:1,linebreakContainer:!0,isEmbellished:l.mbase.childEmbellished,Core:l.mbase.childCore,CoreMO:l.mbase.childCoreMO,defaults:{mathbackground:l.INHERIT,mathcolor:l.INHERIT,linethickness:l.LINETHICKNESS.MEDIUM,numalign:l.ALIGN.CENTER,denomalign:l.ALIGN.CENTER,bevelled:!1},adjustChild_displaystyle:function(t){return!1},adjustChild_scriptlevel:function(t){var e=this.Get("scriptlevel");return(!this.Get("displaystyle")||0<e)&&e++,e},adjustChild_texprimestyle:function(t){return t==this.den||this.Get("texprimestyle")},setTeXclass:l.mbase.setSeparateTeXclasses}),l.msqrt=l.mbase.Subclass({type:"msqrt",inferRow:!0,linebreakContainer:!0,texClass:l.TEXCLASS.ORD,setTeXclass:l.mbase.setSeparateTeXclasses,adjustChild_texprimestyle:function(t){return!0}}),l.mroot=l.mbase.Subclass({type:"mroot",linebreakContainer:!0,texClass:l.TEXCLASS.ORD,adjustChild_displaystyle:function(t){return 1!==t&&this.Get("displaystyle")},adjustChild_scriptlevel:function(t){var e=this.Get("scriptlevel");return 1===t&&(e+=2),e},adjustChild_texprimestyle:function(t){return 0===t||this.Get("texprimestyle")},setTeXclass:l.mbase.setSeparateTeXclasses}),l.mstyle=l.mbase.Subclass({type:"mstyle",isSpacelike:l.mbase.childrenSpacelike,isEmbellished:l.mbase.childEmbellished,Core:l.mbase.childCore,CoreMO:l.mbase.childCoreMO,inferRow:!0,defaults:{scriptlevel:l.INHERIT,displaystyle:l.INHERIT,scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8pt",mathbackground:l.INHERIT,mathcolor:l.INHERIT,dir:l.INHERIT,infixlinebreakstyle:l.LINEBREAKSTYLE.BEFORE,decimalseparator:"."},adjustChild_scriptlevel:function(t){var e=this.scriptlevel;if(null==e)e=this.Get("scriptlevel");else if(String(e).match(/^ *[-+]/)){e=this.Get("scriptlevel",null,!0)+parseInt(e)}return e},inheritFromMe:!0,noInherit:{mpadded:{width:!0,height:!0,depth:!0,lspace:!0,voffset:!0},mtable:{width:!0,height:!0,depth:!0,align:!0}},getRemoved:{fontfamily:"fontFamily",fontweight:"fontWeight",fontstyle:"fontStyle",fontsize:"fontSize"},setTeXclass:l.mbase.setChildTeXclass}),l.merror=l.mbase.Subclass({type:"merror",inferRow:!0,linebreakContainer:!0,texClass:l.TEXCLASS.ORD}),l.mpadded=l.mbase.Subclass({type:"mpadded",inferRow:!0,isSpacelike:l.mbase.childrenSpacelike,isEmbellished:l.mbase.childEmbellished,Core:l.mbase.childCore,CoreMO:l.mbase.childCoreMO,defaults:{mathbackground:l.INHERIT,mathcolor:l.INHERIT,width:"",height:"",depth:"",lspace:0,voffset:0},setTeXclass:l.mbase.setChildTeXclass}),l.mphantom=l.mbase.Subclass({type:"mphantom",texClass:l.TEXCLASS.ORD,inferRow:!0,isSpacelike:l.mbase.childrenSpacelike,isEmbellished:l.mbase.childEmbellished,Core:l.mbase.childCore,CoreMO:l.mbase.childCoreMO,setTeXclass:l.mbase.setChildTeXclass}),l.mfenced=l.mbase.Subclass({type:"mfenced",defaults:{mathbackground:l.INHERIT,mathcolor:l.INHERIT,open:"(",close:")",separators:","},addFakeNodes:function(){var t=this.getValues("open","close","separators");if(t.open=t.open.replace(/[ \t\n\r]/g,""),t.close=t.close.replace(/[ \t\n\r]/g,""),t.separators=t.separators.replace(/[ \t\n\r]/g,""),""!==t.open&&(this.SetData("open",l.mo(t.open).With({fence:!0,form:l.FORM.PREFIX,texClass:l.TEXCLASS.OPEN})),this.data.open.useMMLspacing=0),""!==t.separators){for(;t.separators.length<this.data.length;)t.separators+=t.separators.charAt(t.separators.length-1);for(var e=1,i=this.data.length;e<i;e++)this.data[e]&&(this.SetData("sep"+e,l.mo(t.separators.charAt(e-1)).With({separator:!0})),this.data["sep"+e].useMMLspacing=0)}""!==t.close&&(this.SetData("close",l.mo(t.close).With({fence:!0,form:l.FORM.POSTFIX,texClass:l.TEXCLASS.CLOSE})),this.data.close.useMMLspacing=0)},texClass:l.TEXCLASS.OPEN,setTeXclass:function(t){this.addFakeNodes(),this.getPrevClass(t),this.data.open&&(t=this.data.open.setTeXclass(t)),this.data[0]&&(t=this.data[0].setTeXclass(t));for(var e=1,i=this.data.length;e<i;e++)this.data["sep"+e]&&(t=this.data["sep"+e].setTeXclass(t)),this.data[e]&&(t=this.data[e].setTeXclass(t));return this.data.close&&(t=this.data.close.setTeXclass(t)),this.updateTeXclass(this.data.open),this.texClass=l.TEXCLASS.INNER,t}}),l.menclose=l.mbase.Subclass({type:"menclose",inferRow:!0,linebreakContainer:!0,defaults:{mathbackground:l.INHERIT,mathcolor:l.INHERIT,notation:l.NOTATION.LONGDIV,texClass:l.TEXCLASS.ORD},setTeXclass:l.mbase.setSeparateTeXclasses}),l.msubsup=l.mbase.Subclass({type:"msubsup",base:0,sub:1,sup:2,isEmbellished:l.mbase.childEmbellished,Core:l.mbase.childCore,CoreMO:l.mbase.childCoreMO,defaults:{mathbackground:l.INHERIT,mathcolor:l.INHERIT,subscriptshift:"",superscriptshift:"",texClass:l.AUTO},autoDefault:function(t){return"texClass"===t?this.isEmbellished()?this.CoreMO().Get(t):l.TEXCLASS.ORD:0},adjustChild_displaystyle:function(t){return!(0<t)&&this.Get("displaystyle")},adjustChild_scriptlevel:function(t){var e=this.Get("scriptlevel");return 0<t&&e++,e},adjustChild_texprimestyle:function(t){return t===this.sub||this.Get("texprimestyle")},setTeXclass:l.mbase.setBaseTeXclasses}),l.msub=l.msubsup.Subclass({type:"msub"}),l.msup=l.msubsup.Subclass({type:"msup",sub:2,sup:1}),l.mmultiscripts=l.msubsup.Subclass({type:"mmultiscripts",adjustChild_texprimestyle:function(t){return t%2==1||this.Get("texprimestyle")}}),l.mprescripts=l.mbase.Subclass({type:"mprescripts"}),l.none=l.mbase.Subclass({type:"none"}),l.munderover=l.mbase.Subclass({type:"munderover",base:0,under:1,over:2,sub:1,sup:2,ACCENTS:["","accentunder","accent"],linebreakContainer:!0,isEmbellished:l.mbase.childEmbellished,Core:l.mbase.childCore,CoreMO:l.mbase.childCoreMO,defaults:{mathbackground:l.INHERIT,mathcolor:l.INHERIT,accent:l.AUTO,accentunder:l.AUTO,align:l.ALIGN.CENTER,texClass:l.AUTO,subscriptshift:"",superscriptshift:""},autoDefault:function(t){return"texClass"===t?this.isEmbellished()?this.CoreMO().Get(t):l.TEXCLASS.ORD:"accent"===t&&this.data[this.over]?this.data[this.over].CoreMO().Get("accent"):!("accentunder"!==t||!this.data[this.under])&&this.data[this.under].CoreMO().Get("accent")},adjustChild_displaystyle:function(t){return!(0<t)&&this.Get("displaystyle")},adjustChild_scriptlevel:function(t){var e=this.Get("scriptlevel"),i=this.data[this.base]&&!this.Get("displaystyle")&&this.data[this.base].CoreMO().Get("movablelimits");return t!=this.under||!i&&this.Get("accentunder")||e++,t!=this.over||!i&&this.Get("accent")||e++,e},adjustChild_texprimestyle:function(t){return!(t!==this.base||!this.data[this.over])||this.Get("texprimestyle")},setTeXclass:l.mbase.setBaseTeXclasses}),l.munder=l.munderover.Subclass({type:"munder"}),l.mover=l.munderover.Subclass({type:"mover",over:1,under:2,sup:1,sub:2,ACCENTS:["","accent","accentunder"]}),l.mtable=l.mbase.Subclass({type:"mtable",defaults:{mathbackground:l.INHERIT,mathcolor:l.INHERIT,align:l.ALIGN.AXIS,rowalign:l.ALIGN.BASELINE,columnalign:l.ALIGN.CENTER,groupalign:"{left}",alignmentscope:!0,columnwidth:l.WIDTH.AUTO,width:l.WIDTH.AUTO,rowspacing:"1ex",columnspacing:".8em",rowlines:l.LINES.NONE,columnlines:l.LINES.NONE,frame:l.LINES.NONE,framespacing:"0.4em 0.5ex",equalrows:!1,equalcolumns:!1,displaystyle:!1,side:l.SIDE.RIGHT,minlabelspacing:"0.8em",texClass:l.TEXCLASS.ORD,useHeight:1},adjustChild_displaystyle:function(){return null!=this.displaystyle?this.displaystyle:this.defaults.displaystyle},inheritFromMe:!0,noInherit:{mover:{align:!0},munder:{align:!0},munderover:{align:!0},mtable:{align:!0,rowalign:!0,columnalign:!0,groupalign:!0,alignmentscope:!0,columnwidth:!0,width:!0,rowspacing:!0,columnspacing:!0,rowlines:!0,columnlines:!0,frame:!0,framespacing:!0,equalrows:!0,equalcolumns:!0,displaystyle:!0,side:!0,minlabelspacing:!0,texClass:!0,useHeight:1}},linebreakContainer:!0,Append:function(){for(var t=0,e=arguments.length;t<e;t++)arguments[t]instanceof l.mtr||arguments[t]instanceof l.mlabeledtr||(arguments[t]=l.mtr(arguments[t]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:l.mbase.setSeparateTeXclasses}),l.mtr=l.mbase.Subclass({type:"mtr",defaults:{mathbackground:l.INHERIT,mathcolor:l.INHERIT,rowalign:l.INHERIT,columnalign:l.INHERIT,groupalign:l.INHERIT},inheritFromMe:!0,noInherit:{mrow:{rowalign:!0,columnalign:!0,groupalign:!0},mtable:{rowalign:!0,columnalign:!0,groupalign:!0}},linebreakContainer:!0,Append:function(){for(var t=0,e=arguments.length;t<e;t++)arguments[t]instanceof l.mtd||(arguments[t]=l.mtd(arguments[t]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:l.mbase.setSeparateTeXclasses}),l.mtd=l.mbase.Subclass({type:"mtd",inferRow:!0,linebreakContainer:!0,isEmbellished:l.mbase.childEmbellished,Core:l.mbase.childCore,CoreMO:l.mbase.childCoreMO,defaults:{mathbackground:l.INHERIT,mathcolor:l.INHERIT,rowspan:1,columnspan:1,rowalign:l.INHERIT,columnalign:l.INHERIT,groupalign:l.INHERIT},setTeXclass:l.mbase.setSeparateTeXclasses}),l.maligngroup=l.mbase.Subclass({type:"maligngroup",isSpacelike:function(){return!0},defaults:{mathbackground:l.INHERIT,mathcolor:l.INHERIT,groupalign:l.INHERIT},inheritFromMe:!0,noInherit:{mrow:{groupalign:!0},mtable:{groupalign:!0}}}),l.malignmark=l.mbase.Subclass({type:"malignmark",defaults:{mathbackground:l.INHERIT,mathcolor:l.INHERIT,edge:l.SIDE.LEFT},isSpacelike:function(){return!0}}),l.mlabeledtr=l.mtr.Subclass({type:"mlabeledtr"}),l.maction=l.mbase.Subclass({type:"maction",defaults:{mathbackground:l.INHERIT,mathcolor:l.INHERIT,actiontype:l.ACTIONTYPE.TOGGLE,selection:1},selected:function(){return this.data[this.Get("selection")-1]||l.NULL},isEmbellished:function(){return this.selected().isEmbellished()},isSpacelike:function(){return this.selected().isSpacelike()},Core:function(){return this.selected().Core()},CoreMO:function(){return this.selected().CoreMO()},setTeXclass:function(t){this.Get("actiontype")===l.ACTIONTYPE.TOOLTIP&&this.data[1]&&this.data[1].setTeXclass();var e=this.selected();return t=e.setTeXclass(t),this.updateTeXclass(e),t}}),l.semantics=l.mbase.Subclass({type:"semantics",notParent:!0,isEmbellished:l.mbase.childEmbellished,Core:l.mbase.childCore,CoreMO:l.mbase.childCoreMO,defaults:{definitionURL:null,encoding:null},setTeXclass:l.mbase.setChildTeXclass,getAnnotation:function(t){var e=MathJax.Hub.config.MathMenu.semanticsAnnotations[t];if(e)for(var i=0,n=this.data.length;i<n;i++){var a=this.data[i].Get("encoding");if(a)for(var s=0,r=e.length;s<r;s++)if(e[s]===a)return this.data[i]}return null}}),l.annotation=l.mbase.Subclass({type:"annotation",isChars:!0,linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}}),l["annotation-xml"]=l.mbase.Subclass({type:"annotation-xml",linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}}),l.math=l.mstyle.Subclass({type:"math",defaults:{mathvariant:l.VARIANT.NORMAL,mathsize:l.SIZE.NORMAL,mathcolor:"",mathbackground:l.COLOR.TRANSPARENT,dir:"ltr",scriptlevel:0,displaystyle:l.AUTO,display:"inline",maxwidth:"",overflow:l.OVERFLOW.LINEBREAK,altimg:"","altimg-width":"","altimg-height":"","altimg-valign":"",alttext:"",cdgroup:"",scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8px",infixlinebreakstyle:l.LINEBREAKSTYLE.BEFORE,lineleading:"1ex",indentshift:"auto",indentalign:l.INDENTALIGN.AUTO,indentalignfirst:l.INDENTALIGN.INDENTALIGN,indentshiftfirst:l.INDENTSHIFT.INDENTSHIFT,indentalignlast:l.INDENTALIGN.INDENTALIGN,indentshiftlast:l.INDENTSHIFT.INDENTSHIFT,decimalseparator:".",texprimestyle:!1},autoDefault:function(t){return"displaystyle"===t?"block"===this.Get("display"):""},linebreakContainer:!0,setTeXclass:l.mbase.setChildTeXclass,getAnnotation:function(t){return 1!=this.data.length?null:this.data[0].getAnnotation(t)}}),l.chars=l.mbase.Subclass({type:"chars",Append:function(){this.data.push.apply(this.data,arguments)},value:function(){return this.data.join("")},toString:function(){return this.data.join("")}}),l.entity=l.mbase.Subclass({type:"entity",Append:function(){this.data.push.apply(this.data,arguments)},value:function(){return"#x"===this.data[0].substr(0,2)?parseInt(this.data[0].substr(2),16):"#"===this.data[0].substr(0,1)?parseInt(this.data[0].substr(1)):0},toString:function(){var t=this.value();return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t)))}}),l.xml=l.mbase.Subclass({type:"xml",Init:function(){return this.div=document.createElement("div"),this.SUPER(arguments).Init.apply(this,arguments)},Append:function(){for(var t=0,e=arguments.length;t<e;t++){var i=this.Import(arguments[t]);this.data.push(i),this.div.appendChild(i)}},Import:function(t){if(document.importNode)return document.importNode(t,!0);var e,i,n;if(1===t.nodeType){for(e=document.createElement(t.nodeName),i=0,n=t.attributes.length;i<n;i++){var a=t.attributes[i];a.specified&&null!=a.nodeValue&&""!=a.nodeValue&&e.setAttribute(a.nodeName,a.nodeValue),"style"===a.nodeName&&(e.style.cssText=a.nodeValue)}t.className&&(e.className=t.className)}else if(3===t.nodeType||4===t.nodeType)e=document.createTextNode(t.nodeValue);else{if(8!==t.nodeType)return document.createTextNode("");e=document.createComment(t.nodeValue)}for(i=0,n=t.childNodes.length;i<n;i++)e.appendChild(this.Import(t.childNodes[i]));return e},value:function(){return this.div},toString:function(){return this.div.innerHTML}}),l.TeXAtom=l.mbase.Subclass({type:"texatom",linebreakContainer:!0,inferRow:!0,notParent:!0,texClass:l.TEXCLASS.ORD,Core:l.mbase.childCore,CoreMO:l.mbase.childCoreMO,isEmbellished:l.mbase.childEmbellished,setTeXclass:function(t){return this.data[0].setTeXclass(),this.adjustTeXclass(t)},adjustTeXclass:l.mo.prototype.adjustTeXclass}),l.NULL=l.mbase().With({type:"null"});var t=l.TEXCLASS,e={ORD:[0,0,t.ORD],ORD11:[1,1,t.ORD],ORD21:[2,1,t.ORD],ORD02:[0,2,t.ORD],ORD55:[5,5,t.ORD],OP:[1,2,t.OP,{largeop:!0,movablelimits:!0,symmetric:!0}],OPFIXED:[1,2,t.OP,{largeop:!0,movablelimits:!0}],INTEGRAL:[0,1,t.OP,{largeop:!0,symmetric:!0}],INTEGRAL2:[1,2,t.OP,{largeop:!0,symmetric:!0}],BIN3:[3,3,t.BIN],BIN4:[4,4,t.BIN],BIN01:[0,1,t.BIN],BIN5:[5,5,t.BIN],TALLBIN:[4,4,t.BIN,{stretchy:!0}],BINOP:[4,4,t.BIN,{largeop:!0,movablelimits:!0}],REL:[5,5,t.REL],REL1:[1,1,t.REL,{stretchy:!0}],REL4:[4,4,t.REL],RELSTRETCH:[5,5,t.REL,{stretchy:!0}],RELACCENT:[5,5,t.REL,{accent:!0}],WIDEREL:[5,5,t.REL,{accent:!0,stretchy:!0}],OPEN:[0,0,t.OPEN,{fence:!0,stretchy:!0,symmetric:!0}],CLOSE:[0,0,t.CLOSE,{fence:!0,stretchy:!0,symmetric:!0}],INNER:[0,0,t.INNER],PUNCT:[0,3,t.PUNCT],ACCENT:[0,0,t.ORD,{accent:!0}],WIDEACCENT:[0,0,t.ORD,{accent:!0,stretchy:!0}]};l.mo.Augment({SPACE:["0em","0.1111em","0.1667em","0.2222em","0.2667em","0.3333em"],RANGES:[[32,127,t.REL,"BasicLatin"],[160,255,t.ORD,"Latin1Supplement"],[256,383,t.ORD],[384,591,t.ORD],[688,767,t.ORD,"SpacingModLetters"],[768,879,t.ORD,"CombDiacritMarks"],[880,1023,t.ORD,"GreekAndCoptic"],[7680,7935,t.ORD],[8192,8303,t.PUNCT,"GeneralPunctuation"],[8304,8351,t.ORD],[8352,8399,t.ORD],[8400,8447,t.ORD,"CombDiactForSymbols"],[8448,8527,t.ORD,"LetterlikeSymbols"],[8528,8591,t.ORD],[8592,8703,t.REL,"Arrows"],[8704,8959,t.BIN,"MathOperators"],[8960,9215,t.ORD,"MiscTechnical"],[9312,9471,t.ORD],[9472,9631,t.ORD],[9632,9727,t.ORD,"GeometricShapes"],[9984,10175,t.ORD,"Dingbats"],[10176,10223,t.ORD,"MiscMathSymbolsA"],[10224,10239,t.REL,"SupplementalArrowsA"],[10496,10623,t.REL,"SupplementalArrowsB"],[10624,10751,t.ORD,"MiscMathSymbolsB"],[10752,11007,t.BIN,"SuppMathOperators"],[11008,11263,t.ORD,"MiscSymbolsAndArrows"],[119808,120831,t.ORD]],OPTABLE:{prefix:{"\u2200":e.ORD21,"\u2202":e.ORD21,"\u2203":e.ORD21,"\u2207":e.ORD21,"\u220f":e.OP,"\u2210":e.OP,"\u2211":e.OP,"\u2212":e.BIN01,"\u2213":e.BIN01,"\u221a":[1,1,t.ORD,{stretchy:!0}],"\u2220":e.ORD,"\u222b":e.INTEGRAL,"\u222e":e.INTEGRAL,"\u22c0":e.OP,"\u22c1":e.OP,"\u22c2":e.OP,"\u22c3":e.OP,"\u2308":e.OPEN,"\u230a":e.OPEN,"\u27e8":e.OPEN,"\u27ee":e.OPEN,"\u2a00":e.OP,"\u2a01":e.OP,"\u2a02":e.OP,"\u2a04":e.OP,"\u2a06":e.OP,"\xac":e.ORD21,"\xb1":e.BIN01,"(":e.OPEN,"+":e.BIN01,"-":e.BIN01,"[":e.OPEN,"{":e.OPEN,"|":e.OPEN},postfix:{"!":[1,0,t.CLOSE],"&":e.ORD,"\u2032":e.ORD02,"\u203e":e.WIDEACCENT,"\u2309":e.CLOSE,"\u230b":e.CLOSE,"\u23de":e.WIDEACCENT,"\u23df":e.WIDEACCENT,"\u266d":e.ORD02,"\u266e":e.ORD02,"\u266f":e.ORD02,"\u27e9":e.CLOSE,"\u27ef":e.CLOSE,"\u02c6":e.WIDEACCENT,"\u02c7":e.WIDEACCENT,"\u02c9":e.WIDEACCENT,"\u02ca":e.ACCENT,"\u02cb":e.ACCENT,"\u02d8":e.ACCENT,"\u02d9":e.ACCENT,"\u02dc":e.WIDEACCENT,"\u0302":e.WIDEACCENT,"\xa8":e.ACCENT,"\xaf":e.WIDEACCENT,")":e.CLOSE,"]":e.CLOSE,"^":e.WIDEACCENT,_:e.WIDEACCENT,"`":e.ACCENT,"|":e.CLOSE,"}":e.CLOSE,"~":e.WIDEACCENT},infix:{"":e.ORD,"%":[3,3,t.ORD],"\u2022":e.BIN4,"\u2026":e.INNER,"\u2044":e.TALLBIN,"\u2061":e.ORD,"\u2062":e.ORD,"\u2063":[0,0,t.ORD,{linebreakstyle:"after",separator:!0}],"\u2064":e.ORD,"\u2190":e.WIDEREL,"\u2191":e.RELSTRETCH,"\u2192":e.WIDEREL,"\u2193":e.RELSTRETCH,"\u2194":e.WIDEREL,"\u2195":e.RELSTRETCH,"\u2196":e.RELSTRETCH,"\u2197":e.RELSTRETCH,"\u2198":e.RELSTRETCH,"\u2199":e.RELSTRETCH,"\u21a6":e.WIDEREL,"\u21a9":e.WIDEREL,"\u21aa":e.WIDEREL,"\u21bc":e.WIDEREL,"\u21bd":e.WIDEREL,"\u21c0":e.WIDEREL,"\u21c1":e.WIDEREL,"\u21cc":e.WIDEREL,"\u21d0":e.WIDEREL,"\u21d1":e.RELSTRETCH,"\u21d2":e.WIDEREL,"\u21d3":e.RELSTRETCH,"\u21d4":e.WIDEREL,"\u21d5":e.RELSTRETCH,"\u2208":e.REL,"\u2209":e.REL,"\u220b":e.REL,"\u2212":e.BIN4,"\u2213":e.BIN4,"\u2215":e.TALLBIN,"\u2216":e.BIN4,"\u2217":e.BIN4,"\u2218":e.BIN4,"\u2219":e.BIN4,"\u221d":e.REL,"\u2223":e.REL,"\u2225":e.REL,"\u2227":e.BIN4,"\u2228":e.BIN4,"\u2229":e.BIN4,"\u222a":e.BIN4,"\u223c":e.REL,"\u2240":e.BIN4,"\u2243":e.REL,"\u2245":e.REL,"\u2248":e.REL,"\u224d":e.REL,"\u2250":e.REL,"\u2260":e.REL,"\u2261":e.REL,"\u2264":e.REL,"\u2265":e.REL,"\u226a":e.REL,"\u226b":e.REL,"\u227a":e.REL,"\u227b":e.REL,"\u2282":e.REL,"\u2283":e.REL,"\u2286":e.REL,"\u2287":e.REL,"\u228e":e.BIN4,"\u2291":e.REL,"\u2292":e.REL,"\u2293":e.BIN4,"\u2294":e.BIN4,"\u2295":e.BIN4,"\u2296":e.BIN4,"\u2297":e.BIN4,"\u2298":e.BIN4,"\u2299":e.BIN4,"\u22a2":e.REL,"\u22a3":e.REL,"\u22a4":e.ORD55,"\u22a5":e.REL,"\u22a8":e.REL,"\u22c4":e.BIN4,"\u22c5":e.BIN4,"\u22c6":e.BIN4,"\u22c8":e.REL,"\u22ee":e.ORD55,"\u22ef":e.INNER,"\u22f1":[5,5,t.INNER],"\u25b3":e.BIN4,"\u25b5":e.BIN4,"\u25b9":e.BIN4,"\u25bd":e.BIN4,"\u25bf":e.BIN4,"\u25c3":e.BIN4,"\u2758":e.REL,"\u27f5":e.WIDEREL,"\u27f6":e.WIDEREL,"\u27f7":e.WIDEREL,"\u27f8":e.WIDEREL,"\u27f9":e.WIDEREL,"\u27fa":e.WIDEREL,"\u27fc":e.WIDEREL,"\u2a2f":e.BIN4,"\u2a3f":e.BIN4,"\u2aaf":e.REL,"\u2ab0":e.REL,"\xb1":e.BIN4,"\xb7":e.BIN4,"\xd7":e.BIN4,"\xf7":e.BIN4,"*":e.BIN3,"+":e.BIN4,",":[0,3,t.PUNCT,{linebreakstyle:"after",separator:!0}],"-":e.BIN4,".":[3,3,t.ORD],"/":e.ORD11,":":[1,2,t.REL],";":[0,3,t.PUNCT,{linebreakstyle:"after",separator:!0}],"<":e.REL,"=":e.REL,">":e.REL,"?":[1,1,t.CLOSE],"\\":e.ORD,"^":e.ORD11,_:e.ORD11,"|":[2,2,t.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"#":e.ORD,$:e.ORD,".":[0,3,t.PUNCT,{separator:!0}],"\u02b9":e.ORD,"\u0300":e.ACCENT,"\u0301":e.ACCENT,"\u0303":e.WIDEACCENT,"\u0304":e.ACCENT,"\u0306":e.ACCENT,"\u0307":e.ACCENT,"\u0308":e.ACCENT,"\u030c":e.ACCENT,"\u0332":e.WIDEACCENT,"\u0338":e.REL4,"\u2015":[0,0,t.ORD,{stretchy:!0}],"\u2017":[0,0,t.ORD,{stretchy:!0}],"\u2020":e.BIN3,"\u2021":e.BIN3,"\u20d7":e.ACCENT,"\u2111":e.ORD,"\u2113":e.ORD,"\u2118":e.ORD,"\u211c":e.ORD,"\u2205":e.ORD,"\u221e":e.ORD,"\u2305":e.BIN3,"\u2306":e.BIN3,"\u2322":e.REL4,"\u2323":e.REL4,"\u2329":e.OPEN,"\u232a":e.CLOSE,"\u23aa":e.ORD,"\u23af":[0,0,t.ORD,{stretchy:!0}],"\u23b0":e.OPEN,"\u23b1":e.CLOSE,"\u2500":e.ORD,"\u25ef":e.BIN3,"\u2660":e.ORD,"\u2661":e.ORD,"\u2662":e.ORD,"\u2663":e.ORD,"\u3008":e.OPEN,"\u3009":e.CLOSE,"\ufe37":e.WIDEACCENT,"\ufe38":e.WIDEACCENT}}},{OPTYPES:e});var i=l.mo.prototype.OPTABLE;i.infix["^"]=e.WIDEREL,i.infix._=e.WIDEREL,i.prefix["\u2223"]=e.OPEN,i.prefix["\u2225"]=e.OPEN,i.postfix["\u2223"]=e.CLOSE,i.postfix["\u2225"]=e.CLOSE}(MathJax.ElementJax.mml),MathJax.ElementJax.mml.loadComplete("jax.js")},function(t,e){MathJax.InputJax.AsciiMath=MathJax.InputJax({id:"AsciiMath",version:"2.7.2",directory:MathJax.InputJax.directory+"/AsciiMath",extensionDir:MathJax.InputJax.extensionDir+"/AsciiMath",config:{fixphi:!0,useMathMLspacing:!0,displaystyle:!0,decimalsign:"."}}),MathJax.InputJax.AsciiMath.Register("math/asciimath"),MathJax.InputJax.AsciiMath.loadComplete("config.js")},function(t,e){function i(t){return N?I.createElement(t):I.createElementNS("http://www.w3.org/1999/xhtml",t)}function n(t){return N?I.createElement("m:"+t):I.createElementNS(A,t)}function x(t,e){var i;return i=N?I.createElement("m:"+t):I.createElementNS(A,t),e&&i.appendChild(e),i}function a(t,e){return t.input>e.input?1:-1}function s(){var t,e=B.length;for(t=0;t<e;t++)B[t].tex&&B.push({input:B[t].tex,tag:B[t].tag,output:B[t].output,ttype:B[t].ttype,acc:B[t].acc||!1});r()}function r(){var t;for(B.sort(a),t=0;t<B.length;t++)z[t]=B[t].input}function T(t,e){var i;i="\\"==t.charAt(e)&&"\\"!=t.charAt(e+1)&&" "!=t.charAt(e+1)?t.slice(e+1):t.slice(e);for(var n=0;n<i.length&&i.charCodeAt(n)<=32;n+=1);return i.slice(n)}function u(t,e,i){if(0==i){var n,a;for(i=-1,n=t.length;i+1<n;)t[a=i+n>>1]<e?i=a:n=a;return n}for(var s=i;s<t.length&&t[s]<e;s++);return s}function C(t){for(var e,i,n,a=0,s="",r=!0,o=1;o<=t.length&&r;o++)i=t.slice(0,o),(a=u(z,i,a))<z.length&&t.slice(0,z[a].length)==z[a]&&(o=(s=z[e=a]).length),r=a<z.length&&t.slice(0,z[a].length)>=z[a];if(V=W,""!=s)return W=B[e].ttype,B[e];W=L,a=1,i=t.slice(0,1);for(var l=!0;"0"<=i&&i<="9"&&a<=t.length;)i=t.slice(a,a+1),a++;if(i==y&&"0"<=(i=t.slice(a,a+1))&&i<="9")for(l=!1,a++;"0"<=i&&i<="9"&&a<=t.length;)i=t.slice(a,a+1),a++;return n=l&&1<a||2<a?(i=t.slice(0,a-1),"mn"):(a=2,((i=t.slice(0,1))<"A"||"Z"<i)&&(i<"a"||"z"<i)?"mo":"mi"),"-"==i&&V==k?(W=k,{input:i,tag:n,output:i,ttype:M,func:!0}):{input:i,tag:n,output:i,ttype:L}}function b(t){var e;t.hasChildNodes()&&(!t.firstChild.hasChildNodes()||"mrow"!=t.nodeName&&"M:MROW"!=t.nodeName||"("!=(e=t.firstChild.firstChild.nodeValue)&&"["!=e&&"{"!=e||t.removeChild(t.firstChild),!t.lastChild.hasChildNodes()||"mrow"!=t.nodeName&&"M:MROW"!=t.nodeName||")"!=(e=t.lastChild.firstChild.nodeValue)&&"]"!=e&&"}"!=e||t.removeChild(t.lastChild))}function h(t){var e,i,n,a,s,r=I.createDocumentFragment();if(null==(e=C(t=T(t,0)))||e.ttype==H&&0<G)return[null,t];switch(e.ttype==J&&(e=C(t=e.output+T(t,e.input.length))),e.ttype){case _:case L:return t=T(t,e.input.length),[x(e.tag,I.createTextNode(e.output)),t];case P:return G++,n=p(t=T(t,e.input.length),!0),G--,"boolean"==typeof e.invisible&&e.invisible?i=x("mrow",n[0]):(i=x("mo",I.createTextNode(e.output)),(i=x("mrow",i)).appendChild(n[0])),[i,n[1]];case j:return e!=U&&(t=T(t,e.input.length)),-1==(a="{"==t.charAt(0)?t.indexOf("}"):"("==t.charAt(0)?t.indexOf(")"):"["==t.charAt(0)?t.indexOf("]"):e==U?t.slice(1).indexOf('"')+1:0)&&(a=t.length)," "==(s=t.slice(1,a)).charAt(0)&&((i=x("mspace")).setAttribute("width","1ex"),r.appendChild(i)),r.appendChild(x(e.tag,I.createTextNode(s)))," "==s.charAt(s.length-1)&&((i=x("mspace")).setAttribute("width","1ex"),r.appendChild(i)),t=T(t,a+1),[x("mrow",r),t];case F:case M:if(null==(n=h(t=T(t,e.input.length)))[0])return[x(e.tag,I.createTextNode(e.output)),t];if("boolean"==typeof e.func&&e.func)return"^"==(s=t.charAt(0))||"_"==s||"/"==s||"|"==s||","==s||1==e.input.length&&e.input.match(/\w/)&&"("!=s?[x(e.tag,I.createTextNode(e.output)),t]:((i=x("mrow",x(e.tag,I.createTextNode(e.output)))).appendChild(n[0]),[i,n[1]]);if(b(n[0]),"sqrt"==e.input)return[x(e.tag,n[0]),n[1]];if(void 0!==e.rewriteleftright)return(i=x("mrow",x("mo",I.createTextNode(e.rewriteleftright[0])))).appendChild(n[0]),i.appendChild(x("mo",I.createTextNode(e.rewriteleftright[1]))),[i,n[1]];if("cancel"==e.input)return(i=x(e.tag,n[0])).setAttribute("notation","updiagonalstrike"),[i,n[1]];if("boolean"==typeof e.acc&&e.acc)return(i=x(e.tag,n[0])).appendChild(x("mo",I.createTextNode(e.output))),[i,n[1]];if(!N&&void 0!==e.codes)for(a=0;a<n[0].childNodes.length;a++)if("mi"==n[0].childNodes[a].nodeName||"mi"==n[0].nodeName){s="mi"==n[0].nodeName?n[0].firstChild.nodeValue:n[0].childNodes[a].firstChild.nodeValue;for(var o=[],l=0;l<s.length;l++)64<s.charCodeAt(l)&&s.charCodeAt(l)<91?o+=e.codes[s.charCodeAt(l)-65]:96<s.charCodeAt(l)&&s.charCodeAt(l)<123?o+=e.codes[s.charCodeAt(l)-71]:o+=s.charAt(l);"mi"==n[0].nodeName?n[0]=x("mo").appendChild(I.createTextNode(o)):n[0].replaceChild(x("mo").appendChild(I.createTextNode(o)),n[0].childNodes[a])}return(i=x(e.tag,n[0])).setAttribute(e.atname,e.atval),[i,n[1]];case D:if(null==(n=h(t=T(t,e.input.length)))[0])return[x("mo",I.createTextNode(e.input)),t];b(n[0]);var u=h(n[1]);return null==u[0]?[x("mo",I.createTextNode(e.input)),t]:(b(u[0]),"color"==e.input?("{"==t.charAt(0)?a=t.indexOf("}"):"("==t.charAt(0)?a=t.indexOf(")"):"["==t.charAt(0)&&(a=t.indexOf("]")),s=t.slice(1,a),(i=x(e.tag,u[0])).setAttribute("mathcolor",s),[i,u[1]]):("root"!=e.input&&"stackrel"!=e.output||r.appendChild(u[0]),r.appendChild(n[0]),"frac"==e.input&&r.appendChild(u[0]),[x(e.tag,r),u[1]]));case k:return t=T(t,e.input.length),[x("mo",I.createTextNode(e.output)),t];case w:return t=T(t,e.input.length),(i=x("mspace")).setAttribute("width","1ex"),r.appendChild(i),r.appendChild(x(e.tag,I.createTextNode(e.output))),(i=x("mspace")).setAttribute("width","1ex"),r.appendChild(i),[x("mrow",r),t];case X:return G++,n=p(t=T(t,e.input.length),!1),G--,s="",null!=n[0].lastChild&&(s=n[0].lastChild.firstChild.nodeValue),"|"==s?(i=x("mo",I.createTextNode(e.output)),(i=x("mrow",i)).appendChild(n[0]),[i,n[1]]):(i=x("mo",I.createTextNode("\u2223")),[i=x("mrow",i),t]);default:return t=T(t,e.input.length),[x(e.tag,I.createTextNode(e.output)),t]}}function S(t){var e,i,n,a,s,r;if(i=C(t=T(t,0)),a=(s=h(t))[0],(e=C(t=s[1])).ttype==k&&"/"!=e.input){if(null==(s=h(t=T(t,e.input.length)))[0]?s[0]=x("mo",I.createTextNode("\u25a1")):b(s[0]),t=s[1],r=i.ttype==_||i.ttype==F,"_"==e.input)if("^"==(n=C(t)).input){var o=h(t=T(t,n.input.length));b(o[0]),t=o[1],(a=x(r?"munderover":"msubsup",a)).appendChild(s[0]),a.appendChild(o[0]),a=x("mrow",a)}else(a=x(r?"munder":"msub",a)).appendChild(s[0]);else"^"==e.input&&r?(a=x("mover",a)).appendChild(s[0]):(a=x(e.tag,a)).appendChild(s[0]);void 0!==i.func&&i.func&&(n=C(t)).ttype!=k&&n.ttype!=H&&(s=S(t),(a=x("mrow",a)).appendChild(s[0]),t=s[1])}return[a,t]}function p(t,e){for(var i,n,a,s,r=I.createDocumentFragment();n=(a=S(t=T(t,0)))[0],(i=C(t=a[1])).ttype==k&&"/"==i.input?(null==(a=S(t=T(t,i.input.length)))[0]?a[0]=x("mo",I.createTextNode("\u25a1")):b(a[0]),t=a[1],b(n),(n=x(i.tag,n)).appendChild(a[0]),r.appendChild(n),i=C(t)):null!=n&&r.appendChild(n),(i.ttype!=H&&(i.ttype!=X||e)||0==G)&&null!=i&&""!=i.output;);if(i.ttype==H||i.ttype==X){var o=r.childNodes.length;if(0<o&&"mrow"==r.childNodes[o-1].nodeName&&r.childNodes[o-1].lastChild&&r.childNodes[o-1].lastChild.firstChild){var l=r.childNodes[o-1].lastChild.firstChild.nodeValue;if(")"==l||"]"==l){var u=r.childNodes[o-1].firstChild.firstChild.nodeValue;if("("==u&&")"==l&&"}"!=i.output||"["==u&&"]"==l){var h=[],p=!0,c=r.childNodes.length;for(s=0;p&&s<c;s+=2){if(h[s]=[],n=r.childNodes[s],p=p&&("mrow"==n.nodeName&&(s==c-1||"mo"==n.nextSibling.nodeName&&","==n.nextSibling.firstChild.nodeValue)&&n.firstChild.firstChild.nodeValue==u&&n.lastChild.firstChild.nodeValue==l))for(var d=0;d<n.childNodes.length;d++)","==n.childNodes[d].firstChild.nodeValue&&(h[s][h[s].length]=d);p&&1<s&&(p=h[s].length==h[s-2].length)}if(p=p&&(1<h.length||0<h[0].length)){var m,f,g,E,y=I.createDocumentFragment();for(s=0;s<c;s+=2){for(m=I.createDocumentFragment(),f=I.createDocumentFragment(),g=(n=r.firstChild).childNodes.length,E=0,n.removeChild(n.firstChild),d=1;d<g-1;d++)void 0!==h[s][E]&&d==h[s][E]?(n.removeChild(n.firstChild),m.appendChild(x("mtd",f)),E++):f.appendChild(n.firstChild);m.appendChild(x("mtd",f)),2<r.childNodes.length&&(r.removeChild(r.firstChild),r.removeChild(r.firstChild)),y.appendChild(x("mtr",m))}n=x("mtable",y),"boolean"==typeof i.invisible&&i.invisible&&n.setAttribute("columnalign","left"),r.replaceChild(n,r.firstChild)}}}}t=T(t,i.input.length),"boolean"==typeof i.invisible&&i.invisible||(n=x("mo",I.createTextNode(i.output)),r.appendChild(n))}return[r,t]}function o(t,e){var i;return G=0,i=x("mstyle",p((t=(t=(t=(t=t.replace(/&nbsp;/g,"")).replace(/&gt;/g,">")).replace(/&lt;/g,"<")).replace(/(Sin|Cos|Tan|Arcsin|Arccos|Arctan|Sinh|Cosh|Tanh|Cot|Sec|Csc|Log|Ln|Abs)/g,function(t){return t.toLowerCase()})).replace(/^\s+/g,""),!1)[0]),""!=m&&i.setAttribute("mathcolor",m),""!=f&&i.setAttribute("fontfamily",f),g&&i.setAttribute("displaystyle","true"),i=x("math",i),E&&i.setAttribute("title",t.replace(/\s+/g," ")),i}var l,c,d,I,m,f,g,E,y,N,A,v,R,O,L,M,D,k,P,H,w,_,J,X,j,F,U,B,G,V,W,z,K,q;l=MathJax.InputJax.AsciiMath,d=MathJax.Object.Subclass({firstChild:null,lastChild:null,Init:function(){this.childNodes=[]},appendChild:function(t){return t.parent&&t.parent.removeChild(t),this.lastChild&&(this.lastChild.nextSibling=t),this.firstChild||(this.firstChild=t),this.childNodes.push(t),(t.parent=this).lastChild=t},removeChild:function(t){for(var e=0,i=this.childNodes.length;e<i&&this.childNodes[e]!==t;e++);if(e!==i)return this.childNodes.splice(e,1),t===this.firstChild&&(this.firstChild=t.nextSibling),t===this.lastChild&&(this.childNodes.length?this.lastChild=this.childNodes[this.childNodes.length-1]:this.lastChild=null),e&&(this.childNodes[e-1].nextSibling=t.nextSibling),t.nextSibling=t.parent=null,t},replaceChild:function(t,e){for(var i=0,n=this.childNodes.length;i<n&&this.childNodes[i]!==e;i++);return i?this.childNodes[i-1].nextSibling=t:this.firstChild=t,n-1<=i&&(this.lastChild=t),(this.childNodes[i]=t).nextSibling=e.nextSibling,e.nextSibling=e.parent=null,e},hasChildNodes:function(t){return 0<this.childNodes.length},toString:function(){return"{"+this.childNodes.join("")+"}"}}),I={getElementById:!0,createElementNS:function(t,e){var i=c[e]();return"mo"===e&&l.config.useMathMLspacing&&(i.useMMLspacing=128),i},createTextNode:function(t){return c.chars(t).With({nodeValue:t})},createDocumentFragment:function(){return d()}},m="blue",f="serif",E=g=!0,y=".",N="Microsoft"=={appName:"MathJax"}.appName.slice(0,9),A="http://www.w3.org/1998/Math/MathML",B=[{input:"alpha",tag:"mi",output:"\u03b1",tex:null,ttype:L=0},{input:"beta",tag:"mi",output:"\u03b2",tex:null,ttype:L},{input:"chi",tag:"mi",output:"\u03c7",tex:null,ttype:L},{input:"delta",tag:"mi",output:"\u03b4",tex:null,ttype:L},{input:"Delta",tag:"mo",output:"\u0394",tex:null,ttype:L},{input:"epsi",tag:"mi",output:"\u03b5",tex:"epsilon",ttype:L},{input:"varepsilon",tag:"mi",output:"\u025b",tex:null,ttype:L},{input:"eta",tag:"mi",output:"\u03b7",tex:null,ttype:L},{input:"gamma",tag:"mi",output:"\u03b3",tex:null,ttype:L},{input:"Gamma",tag:"mo",output:"\u0393",tex:null,ttype:L},{input:"iota",tag:"mi",output:"\u03b9",tex:null,ttype:L},{input:"kappa",tag:"mi",output:"\u03ba",tex:null,ttype:L},{input:"lambda",tag:"mi",output:"\u03bb",tex:null,ttype:L},{input:"Lambda",tag:"mo",output:"\u039b",tex:null,ttype:L},{input:"lamda",tag:"mi",output:"\u03bb",tex:null,ttype:L},{input:"Lamda",tag:"mo",output:"\u039b",tex:null,ttype:L},{input:"mu",tag:"mi",output:"\u03bc",tex:null,ttype:L},{input:"nu",tag:"mi",output:"\u03bd",tex:null,ttype:L},{input:"omega",tag:"mi",output:"\u03c9",tex:null,ttype:L},{input:"Omega",tag:"mo",output:"\u03a9",tex:null,ttype:L},{input:"phi",tag:"mi",output:"\u03d5",tex:null,ttype:L},{input:"varphi",tag:"mi",output:"\u03c6",tex:null,ttype:L},{input:"Phi",tag:"mo",output:"\u03a6",tex:null,ttype:L},{input:"pi",tag:"mi",output:"\u03c0",tex:null,ttype:L},{input:"Pi",tag:"mo",output:"\u03a0",tex:null,ttype:L},{input:"psi",tag:"mi",output:"\u03c8",tex:null,ttype:L},{input:"Psi",tag:"mi",output:"\u03a8",tex:null,ttype:L},{input:"rho",tag:"mi",output:"\u03c1",tex:null,ttype:L},{input:"sigma",tag:"mi",output:"\u03c3",tex:null,ttype:L},{input:"Sigma",tag:"mo",output:"\u03a3",tex:null,ttype:L},{input:"tau",tag:"mi",output:"\u03c4",tex:null,ttype:L},{input:"theta",tag:"mi",output:"\u03b8",tex:null,ttype:L},{input:"vartheta",tag:"mi",output:"\u03d1",tex:null,ttype:L},{input:"Theta",tag:"mo",output:"\u0398",tex:null,ttype:L},{input:"upsilon",tag:"mi",output:"\u03c5",tex:null,ttype:L},{input:"xi",tag:"mi",output:"\u03be",tex:null,ttype:L},{input:"Xi",tag:"mo",output:"\u039e",tex:null,ttype:L},{input:"zeta",tag:"mi",output:"\u03b6",tex:null,ttype:L},{input:"*",tag:"mo",output:"\u22c5",tex:"cdot",ttype:L},{input:"**",tag:"mo",output:"\u2217",tex:"ast",ttype:L},{input:"***",tag:"mo",output:"\u22c6",tex:"star",ttype:L},{input:"//",tag:"mo",output:"/",tex:null,ttype:L},{input:"\\\\",tag:"mo",output:"\\",tex:"backslash",ttype:L},{input:"setminus",tag:"mo",output:"\\",tex:null,ttype:L},{input:"xx",tag:"mo",output:"\xd7",tex:"times",ttype:L},{input:"|><",tag:"mo",output:"\u22c9",tex:"ltimes",ttype:L},{input:"><|",tag:"mo",output:"\u22ca",tex:"rtimes",ttype:L},{input:"|><|",tag:"mo",output:"\u22c8",tex:"bowtie",ttype:L},{input:"-:",tag:"mo",output:"\xf7",tex:"div",ttype:L},{input:"divide",tag:"mo",output:"-:",tex:null,ttype:J=8},{input:"@",tag:"mo",output:"\u2218",tex:"circ",ttype:L},{input:"o+",tag:"mo",output:"\u2295",tex:"oplus",ttype:L},{input:"ox",tag:"mo",output:"\u2297",tex:"otimes",ttype:L},{input:"o.",tag:"mo",output:"\u2299",tex:"odot",ttype:L},{input:"sum",tag:"mo",output:"\u2211",tex:null,ttype:_=7},{input:"prod",tag:"mo",output:"\u220f",tex:null,ttype:_},{input:"^^",tag:"mo",output:"\u2227",tex:"wedge",ttype:L},{input:"^^^",tag:"mo",output:"\u22c0",tex:"bigwedge",ttype:_},{input:"vv",tag:"mo",output:"\u2228",tex:"vee",ttype:L},{input:"vvv",tag:"mo",output:"\u22c1",tex:"bigvee",ttype:_},{input:"nn",tag:"mo",output:"\u2229",tex:"cap",ttype:L},{input:"nnn",tag:"mo",output:"\u22c2",tex:"bigcap",ttype:_},{input:"uu",tag:"mo",output:"\u222a",tex:"cup",ttype:L},{input:"uuu",tag:"mo",output:"\u22c3",tex:"bigcup",ttype:_},{input:"!=",tag:"mo",output:"\u2260",tex:"ne",ttype:L},{input:":=",tag:"mo",output:":=",tex:null,ttype:L},{input:"lt",tag:"mo",output:"<",tex:null,ttype:L},{input:"<=",tag:"mo",output:"\u2264",tex:"le",ttype:L},{input:"lt=",tag:"mo",output:"\u2264",tex:"leq",ttype:L},{input:"gt",tag:"mo",output:">",tex:null,ttype:L},{input:">=",tag:"mo",output:"\u2265",tex:"ge",ttype:L},{input:"gt=",tag:"mo",output:"\u2265",tex:"geq",ttype:L},{input:"-<",tag:"mo",output:"\u227a",tex:"prec",ttype:L},{input:"-lt",tag:"mo",output:"\u227a",tex:null,ttype:L},{input:">-",tag:"mo",output:"\u227b",tex:"succ",ttype:L},{input:"-<=",tag:"mo",output:"\u2aaf",tex:"preceq",ttype:L},{input:">-=",tag:"mo",output:"\u2ab0",tex:"succeq",ttype:L},{input:"in",tag:"mo",output:"\u2208",tex:null,ttype:L},{input:"!in",tag:"mo",output:"\u2209",tex:"notin",ttype:L},{input:"sub",tag:"mo",output:"\u2282",tex:"subset",ttype:L},{input:"sup",tag:"mo",output:"\u2283",tex:"supset",ttype:L},{input:"sube",tag:"mo",output:"\u2286",tex:"subseteq",ttype:L},{input:"supe",tag:"mo",output:"\u2287",tex:"supseteq",ttype:L},{input:"-=",tag:"mo",output:"\u2261",tex:"equiv",ttype:L},{input:"~=",tag:"mo",output:"\u2245",tex:"cong",ttype:L},{input:"~~",tag:"mo",output:"\u2248",tex:"approx",ttype:L},{input:"prop",tag:"mo",output:"\u221d",tex:"propto",ttype:L},{input:"and",tag:"mtext",output:"and",tex:null,ttype:w=6},{input:"or",tag:"mtext",output:"or",tex:null,ttype:w},{input:"not",tag:"mo",output:"\xac",tex:"neg",ttype:L},{input:"=>",tag:"mo",output:"\u21d2",tex:"implies",ttype:L},{input:"if",tag:"mo",output:"if",tex:null,ttype:w},{input:"<=>",tag:"mo",output:"\u21d4",tex:"iff",ttype:L},{input:"AA",tag:"mo",output:"\u2200",tex:"forall",ttype:L},{input:"EE",tag:"mo",output:"\u2203",tex:"exists",ttype:L},{input:"_|_",tag:"mo",output:"\u22a5",tex:"bot",ttype:L},{input:"TT",tag:"mo",output:"\u22a4",tex:"top",ttype:L},{input:"|--",tag:"mo",output:"\u22a2",tex:"vdash",ttype:L},{input:"|==",tag:"mo",output:"\u22a8",tex:"models",ttype:L},{input:"(",tag:"mo",output:"(",tex:null,ttype:P=4},{input:")",tag:"mo",output:")",tex:null,ttype:H=5},{input:"[",tag:"mo",output:"[",tex:null,ttype:P},{input:"]",tag:"mo",output:"]",tex:null,ttype:H},{input:"{",tag:"mo",output:"{",tex:null,ttype:P},{input:"}",tag:"mo",output:"}",tex:null,ttype:H},{input:"|",tag:"mo",output:"|",tex:null,ttype:X=9},{input:"(:",tag:"mo",output:"\u2329",tex:"langle",ttype:P},{input:":)",tag:"mo",output:"\u232a",tex:"rangle",ttype:H},{input:"<<",tag:"mo",output:"\u2329",tex:null,ttype:P},{input:">>",tag:"mo",output:"\u232a",tex:null,ttype:H},{input:"{:",tag:"mo",output:"{:",tex:null,ttype:P,invisible:!0},{input:":}",tag:"mo",output:":}",tex:null,ttype:H,invisible:!0},{input:"int",tag:"mo",output:"\u222b",tex:null,ttype:L},{input:"dx",tag:"mi",output:"{:d x:}",tex:null,ttype:J},{input:"dy",tag:"mi",output:"{:d y:}",tex:null,ttype:J},{input:"dz",tag:"mi",output:"{:d z:}",tex:null,ttype:J},{input:"dt",tag:"mi",output:"{:d t:}",tex:null,ttype:J},{input:"oint",tag:"mo",output:"\u222e",tex:null,ttype:L},{input:"del",tag:"mo",output:"\u2202",tex:"partial",ttype:L},{input:"grad",tag:"mo",output:"\u2207",tex:"nabla",ttype:L},{input:"+-",tag:"mo",output:"\xb1",tex:"pm",ttype:L},{input:"O/",tag:"mo",output:"\u2205",tex:"emptyset",ttype:L},{input:"oo",tag:"mo",output:"\u221e",tex:"infty",ttype:L},{input:"aleph",tag:"mo",output:"\u2135",tex:null,ttype:L},{input:"...",tag:"mo",output:"...",tex:"ldots",ttype:L},{input:":.",tag:"mo",output:"\u2234",tex:"therefore",ttype:L},{input:":'",tag:"mo",output:"\u2235",tex:"because",ttype:L},{input:"/_",tag:"mo",output:"\u2220",tex:"angle",ttype:L},{input:"/_\\",tag:"mo",output:"\u25b3",tex:"triangle",ttype:L},{input:"'",tag:"mo",output:"\u2032",tex:"prime",ttype:L},{input:"tilde",tag:"mover",output:"~",tex:null,ttype:M=1,acc:!0},{input:"\\ ",tag:"mo",output:"\xa0",tex:null,ttype:L},{input:"frown",tag:"mo",output:"\u2322",tex:null,ttype:L},{input:"quad",tag:"mo",output:"\xa0\xa0",tex:null,ttype:L},{input:"qquad",tag:"mo",output:"\xa0\xa0\xa0\xa0",tex:null,ttype:L},{input:"cdots",tag:"mo",output:"\u22ef",tex:null,ttype:L},{input:"vdots",tag:"mo",output:"\u22ee",tex:null,ttype:L},{input:"ddots",tag:"mo",output:"\u22f1",tex:null,ttype:L},{input:"diamond",tag:"mo",output:"\u22c4",tex:null,ttype:L},{input:"square",tag:"mo",output:"\u25a1",tex:null,ttype:L},{input:"|__",tag:"mo",output:"\u230a",tex:"lfloor",ttype:L},{input:"__|",tag:"mo",output:"\u230b",tex:"rfloor",ttype:L},{input:"|~",tag:"mo",output:"\u2308",tex:"lceiling",ttype:L},{input:"~|",tag:"mo",output:"\u2309",tex:"rceiling",ttype:L},{input:"CC",tag:"mo",output:"\u2102",tex:null,ttype:L},{input:"NN",tag:"mo",output:"\u2115",tex:null,ttype:L},{input:"QQ",tag:"mo",output:"\u211a",tex:null,ttype:L},{input:"RR",tag:"mo",output:"\u211d",tex:null,ttype:L},{input:"ZZ",tag:"mo",output:"\u2124",tex:null,ttype:L},{input:"f",tag:"mi",output:"f",tex:null,ttype:M,func:!0},{input:"g",tag:"mi",output:"g",tex:null,ttype:M,func:!0},{input:"lim",tag:"mo",output:"lim",tex:null,ttype:_},{input:"Lim",tag:"mo",output:"Lim",tex:null,ttype:_},{input:"sin",tag:"mo",output:"sin",tex:null,ttype:M,func:!0},{input:"cos",tag:"mo",output:"cos",tex:null,ttype:M,func:!0},{input:"tan",tag:"mo",output:"tan",tex:null,ttype:M,func:!0},{input:"sinh",tag:"mo",output:"sinh",tex:null,ttype:M,func:!0},{input:"cosh",tag:"mo",output:"cosh",tex:null,ttype:M,func:!0},{input:"tanh",tag:"mo",output:"tanh",tex:null,ttype:M,func:!0},{input:"cot",tag:"mo",output:"cot",tex:null,ttype:M,func:!0},{input:"sec",tag:"mo",output:"sec",tex:null,ttype:M,func:!0},{input:"csc",tag:"mo",output:"csc",tex:null,ttype:M,func:!0},{input:"arcsin",tag:"mo",output:"arcsin",tex:null,ttype:M,func:!0},{input:"arccos",tag:"mo",output:"arccos",tex:null,ttype:M,func:!0},{input:"arctan",tag:"mo",output:"arctan",tex:null,ttype:M,func:!0},{input:"coth",tag:"mo",output:"coth",tex:null,ttype:M,func:!0},{input:"sech",tag:"mo",output:"sech",tex:null,ttype:M,func:!0},{input:"csch",tag:"mo",output:"csch",tex:null,ttype:M,func:!0},{input:"exp",tag:"mo",output:"exp",tex:null,ttype:M,func:!0},{input:"abs",tag:"mo",output:"abs",tex:null,ttype:M,rewriteleftright:["|","|"]},{input:"norm",tag:"mo",output:"norm",tex:null,ttype:M,rewriteleftright:["\u2225","\u2225"]},{input:"floor",tag:"mo",output:"floor",tex:null,ttype:M,rewriteleftright:["\u230a","\u230b"]},{input:"ceil",tag:"mo",output:"ceil",tex:null,ttype:M,rewriteleftright:["\u2308","\u2309"]},{input:"log",tag:"mo",output:"log",tex:null,ttype:M,func:!0},{input:"ln",tag:"mo",output:"ln",tex:null,ttype:M,func:!0},{input:"det",tag:"mo",output:"det",tex:null,ttype:M,func:!0},{input:"dim",tag:"mo",output:"dim",tex:null,ttype:L},{input:"mod",tag:"mo",output:"mod",tex:null,ttype:L},{input:"gcd",tag:"mo",output:"gcd",tex:null,ttype:M,func:!0},{input:"lcm",tag:"mo",output:"lcm",tex:null,ttype:M,func:!0},{input:"lub",tag:"mo",output:"lub",tex:null,ttype:L},{input:"glb",tag:"mo",output:"glb",tex:null,ttype:L},{input:"min",tag:"mo",output:"min",tex:null,ttype:_},{input:"max",tag:"mo",output:"max",tex:null,ttype:_},{input:"uarr",tag:"mo",output:"\u2191",tex:"uparrow",ttype:L},{input:"darr",tag:"mo",output:"\u2193",tex:"downarrow",ttype:L},{input:"rarr",tag:"mo",output:"\u2192",tex:"rightarrow",ttype:L},{input:"->",tag:"mo",output:"\u2192",tex:"to",ttype:L},{input:">->",tag:"mo",output:"\u21a3",tex:"rightarrowtail",ttype:L},{input:"->>",tag:"mo",output:"\u21a0",tex:"twoheadrightarrow",ttype:L},{input:">->>",tag:"mo",output:"\u2916",tex:"twoheadrightarrowtail",ttype:L},{input:"|->",tag:"mo",output:"\u21a6",tex:"mapsto",ttype:L},{input:"larr",tag:"mo",output:"\u2190",tex:"leftarrow",ttype:L},{input:"harr",tag:"mo",output:"\u2194",tex:"leftrightarrow",ttype:L},{input:"rArr",tag:"mo",output:"\u21d2",tex:"Rightarrow",ttype:L},{input:"lArr",tag:"mo",output:"\u21d0",tex:"Leftarrow",ttype:L},{input:"hArr",tag:"mo",output:"\u21d4",tex:"Leftrightarrow",ttype:L},{input:"sqrt",tag:"msqrt",output:"sqrt",tex:null,ttype:M},{input:"root",tag:"mroot",output:"root",tex:null,ttype:D=2},{input:"frac",tag:"mfrac",output:"/",tex:null,ttype:D},{input:"/",tag:"mfrac",output:"/",tex:null,ttype:k=3},{input:"stackrel",tag:"mover",output:"stackrel",tex:null,ttype:D},{input:"overset",tag:"mover",output:"stackrel",tex:null,ttype:D},{input:"underset",tag:"munder",output:"stackrel",tex:null,ttype:D},{input:"_",tag:"msub",output:"_",tex:null,ttype:k},{input:"^",tag:"msup",output:"^",tex:null,ttype:k},{input:"hat",tag:"mover",output:"^",tex:null,ttype:M,acc:!0},{input:"bar",tag:"mover",output:"\xaf",tex:"overline",ttype:M,acc:!0},{input:"vec",tag:"mover",output:"\u2192",tex:null,ttype:M,acc:!0},{input:"dot",tag:"mover",output:".",tex:null,ttype:M,acc:!0},{input:"ddot",tag:"mover",output:"..",tex:null,ttype:M,acc:!0},{input:"ul",tag:"munder",output:"\u0332",tex:"underline",ttype:M,acc:!0},{input:"ubrace",tag:"munder",output:"\u23df",tex:"underbrace",ttype:F=15,acc:!0},{input:"obrace",tag:"mover",output:"\u23de",tex:"overbrace",ttype:F,acc:!0},{input:"text",tag:"mtext",output:"text",tex:null,ttype:j=10},{input:"mbox",tag:"mtext",output:"mbox",tex:null,ttype:j},{input:"color",tag:"mstyle",ttype:D},{input:"cancel",tag:"menclose",output:"cancel",tex:null,ttype:M},U={input:'"',tag:"mtext",output:"mbox",tex:null,ttype:j},{input:"bb",tag:"mstyle",atname:"mathvariant",atval:"bold",output:"bb",tex:null,ttype:M},{input:"mathbf",tag:"mstyle",atname:"mathvariant",atval:"bold",output:"mathbf",tex:null,ttype:M},{input:"sf",tag:"mstyle",atname:"mathvariant",atval:"sans-serif",output:"sf",tex:null,ttype:M},{input:"mathsf",tag:"mstyle",atname:"mathvariant",atval:"sans-serif",output:"mathsf",tex:null,ttype:M},{input:"bbb",tag:"mstyle",atname:"mathvariant",atval:"double-struck",output:"bbb",tex:null,ttype:M,codes:O=["\ud835\udd38","\ud835\udd39","\u2102","\ud835\udd3b","\ud835\udd3c","\ud835\udd3d","\ud835\udd3e","\u210d","\ud835\udd40","\ud835\udd41","\ud835\udd42","\ud835\udd43","\ud835\udd44","\u2115","\ud835\udd46","\u2119","\u211a","\u211d","\ud835\udd4a","\ud835\udd4b","\ud835\udd4c","\ud835\udd4d","\ud835\udd4e","\ud835\udd4f","\ud835\udd50","\u2124","\ud835\udd52","\ud835\udd53","\ud835\udd54","\ud835\udd55","\ud835\udd56","\ud835\udd57","\ud835\udd58","\ud835\udd59","\ud835\udd5a","\ud835\udd5b","\ud835\udd5c","\ud835\udd5d","\ud835\udd5e","\ud835\udd5f","\ud835\udd60","\ud835\udd61","\ud835\udd62","\ud835\udd63","\ud835\udd64","\ud835\udd65","\ud835\udd66","\ud835\udd67","\ud835\udd68","\ud835\udd69","\ud835\udd6a","\ud835\udd6b"]},{input:"mathbb",tag:"mstyle",atname:"mathvariant",atval:"double-struck",output:"mathbb",tex:null,ttype:M,codes:O},{input:"cc",tag:"mstyle",atname:"mathvariant",atval:"script",output:"cc",tex:null,ttype:M,codes:v=["\ud835\udc9c","\u212c","\ud835\udc9e","\ud835\udc9f","\u2130","\u2131","\ud835\udca2","\u210b","\u2110","\ud835\udca5","\ud835\udca6","\u2112","\u2133","\ud835\udca9","\ud835\udcaa","\ud835\udcab","\ud835\udcac","\u211b","\ud835\udcae","\ud835\udcaf","\ud835\udcb0","\ud835\udcb1","\ud835\udcb2","\ud835\udcb3","\ud835\udcb4","\ud835\udcb5","\ud835\udcb6","\ud835\udcb7","\ud835\udcb8","\ud835\udcb9","\u212f","\ud835\udcbb","\u210a","\ud835\udcbd","\ud835\udcbe","\ud835\udcbf","\ud835\udcc0","\ud835\udcc1","\ud835\udcc2","\ud835\udcc3","\u2134","\ud835\udcc5","\ud835\udcc6","\ud835\udcc7","\ud835\udcc8","\ud835\udcc9","\ud835\udcca","\ud835\udccb","\ud835\udccc","\ud835\udccd","\ud835\udcce","\ud835\udccf"]},{input:"mathcal",tag:"mstyle",atname:"mathvariant",atval:"script",output:"mathcal",tex:null,ttype:M,codes:v},{input:"tt",tag:"mstyle",atname:"mathvariant",atval:"monospace",output:"tt",tex:null,ttype:M},{input:"mathtt",tag:"mstyle",atname:"mathvariant",atval:"monospace",output:"mathtt",tex:null,ttype:M},{input:"fr",tag:"mstyle",atname:"mathvariant",atval:"fraktur",output:"fr",tex:null,ttype:M,codes:R=["\ud835\udd04","\ud835\udd05","\u212d","\ud835\udd07","\ud835\udd08","\ud835\udd09","\ud835\udd0a","\u210c","\u2111","\ud835\udd0d","\ud835\udd0e","\ud835\udd0f","\ud835\udd10","\ud835\udd11","\ud835\udd12","\ud835\udd13","\ud835\udd14","\u211c","\ud835\udd16","\ud835\udd17","\ud835\udd18","\ud835\udd19","\ud835\udd1a","\ud835\udd1b","\ud835\udd1c","\u2128","\ud835\udd1e","\ud835\udd1f","\ud835\udd20","\ud835\udd21","\ud835\udd22","\ud835\udd23","\ud835\udd24","\ud835\udd25","\ud835\udd26","\ud835\udd27","\ud835\udd28","\ud835\udd29","\ud835\udd2a","\ud835\udd2b","\ud835\udd2c","\ud835\udd2d","\ud835\udd2e","\ud835\udd2f","\ud835\udd30","\ud835\udd31","\ud835\udd32","\ud835\udd33","\ud835\udd34","\ud835\udd35","\ud835\udd36","\ud835\udd37"]},{input:"mathfrak",tag:"mstyle",atname:"mathvariant",atval:"fraktur",output:"mathfrak",tex:null,ttype:M,codes:R}],E=!(z=[]),m=f="",function(){for(var t=0,e=B.length;t<e;t++)B[t].codes&&delete B[t].codes,B[t].func&&(B[t].tag="mi")}(),l.Augment({AM:{Init:function(){if(g=l.config.displaystyle,y=l.config.decimal||l.config.decimalsign,!l.config.fixphi)for(var t=0,e=B.length;t<e;t++)"phi"===B[t].input&&(B[t].output="\u03c6"),"varphi"===B[t].input&&(B[t].output="\u03d5",t=e);var i;i=(c=MathJax.ElementJax.mml).mbase.prototype.Init,c.mbase.Augment({firstChild:null,lastChild:null,nodeValue:null,nextSibling:null,Init:function(){var t=i.apply(this,arguments)||this;return t.childNodes=t.data,t.nodeName=t.type,t},appendChild:function(t){t.parent&&t.parent.removeChild(t);var e=arguments;t.isa(d)&&(e=t.childNodes,t.data=t.childNodes=[],t.firstChild=t.lastChild=null);for(var i=0,n=e.length;i<n;i++)t=e[i],this.lastChild&&(this.lastChild.nextSibling=t),this.firstChild||(this.firstChild=t),this.Append(t),this.lastChild=t;return t},removeChild:function(t){for(var e=0,i=this.childNodes.length;e<i&&this.childNodes[e]!==t;e++);if(e!==i)return this.childNodes.splice(e,1),t===this.firstChild&&(this.firstChild=t.nextSibling),t===this.lastChild&&(this.childNodes.length?this.lastChild=this.childNodes[this.childNodes.length-1]:this.lastChild=null),e&&(this.childNodes[e-1].nextSibling=t.nextSibling),t.nextSibling=t.parent=null,t},replaceChild:function(t,e){for(var i=0,n=this.childNodes.length;i<n&&this.childNodes[i]!==e;i++);return i?this.childNodes[i-1].nextSibling=t:this.firstChild=t,n-1<=i&&(this.lastChild=t),this.SetData(i,t),t.nextSibling=e.nextSibling,e.nextSibling=e.parent=null,e},hasChildNodes:function(t){return 0<this.childNodes.length},setAttribute:function(t,e){this[t]=e}}),s()},Augment:function(t){for(var e in t)if(t.hasOwnProperty(e)){switch(e){case"displaystyle":g=t[e];break;case"decimal":decimal=t[e];break;case"parseMath":o=t[e];break;case"parseExpr":p=t[e];break;case"parseIexpr":S=t[e];break;case"parseSexpr":h=t[e];break;case"removeBrackets":b=t[e];break;case"getSymbol":C=t[e];break;case"position":u=t[e];break;case"removeCharsAndBlanks":T=t[e];break;case"createMmlNode":x=t[e];break;case"createElementMathML":n=t[e];break;case"createElementXHTML":i=t[e];break;case"initSymbols":s=t[e];break;case"refreshSymbols":r=t[e];break;case"compareNames":a=t[e]}this[e]=t[e]}},parseMath:o,parseExpr:p,parseIexpr:S,parseSexr:h,removeBrackets:b,getSymbol:C,position:u,removeCharsAndBlanks:T,createMmlNode:x,createElementMathML:n,createElementXHTML:i,initSymbols:s,refreshSymbols:r,compareNames:a,createDocumentFragment:d,document:I,define:function(t,e){B.push({input:t,tag:"mo",output:e,tex:null,ttype:J}),r()},newcommand:function(t,e){B.push({input:t,tag:"mo",output:e,tex:null,ttype:J}),r()},newsymbol:function(t){B.push(t),r()},symbols:B,names:z,TOKEN:{CONST:L,UNARY:M,BINARY:D,INFIX:k,LEFTBRACKET:P,RIGHTBRACKET:H,SPACE:w,UNDEROVER:_,DEFINITION:J,LEFTRIGHT:X,TEXT:j,UNARYUNDEROVER:F}}}),(K=MathJax.InputJax.AsciiMath).Augment({sourceMenuTitle:["AsciiMathInput","AsciiMath Input"],annotationEncoding:"text/x-asciimath",prefilterHooks:MathJax.Callback.Hooks(!0),postfilterHooks:MathJax.Callback.Hooks(!0),Translate:function(t){var e,i=MathJax.HTML.getScript(t),n={math:i,script:t},a=this.prefilterHooks.Execute(n);if(a)return a;i=n.math;try{e=this.AM.parseMath(i)}catch(t){if(!t.asciimathError)throw t;e=this.formatError(t,i)}return n.math=q(e),this.postfilterHooks.Execute(n),this.postfilterHooks.Execute(n)||n.math},formatError:function(t,e,i){var n=t.message.replace(/\n.*/,"");return MathJax.Hub.signal.Post(["AsciiMath Jax - parse error",n,e,i]),q.Error(n)},Error:function(t){throw MathJax.Hub.Insert(Error(t),{asciimathError:!0})},Startup:function(){q=MathJax.ElementJax.mml,this.AM.Init()}}),K.loadComplete("jax.js")},function(t,e){var l,a,s;l=MathJax.ElementJax.mml,a=["texWithDelims","movesupsub","subsupOK","primes","movablelimits","scriptlevel","open","close","isError","multiline","variantForm","autoOP","fnOP"],s={texWithDelims:"withDelims"},l.mbase.Augment({toMmlNode:function(t){var e=this.type;"texatom"===e&&(e="TeXAtom");var i=this.nodeMake(t,e);return"texClass"in this&&(i.texClass=this.texClass),i},nodeMake:function(t,e){for(var i=t.MML["TeXmathchoice"===e?"mathchoice":e](),n=this.data[0]&&this.data[0].inferred&&this.inferRow?this.data[0].data:this.data,a=0,s=n.length;a<s;a++){var r=n[a];r&&i.appendChild(r.toMmlNode(t))}return this.nodeAddAttributes(i),this.nodeAddProperties(i),i},nodeAddAttributes:function(t){var e="mstyle"===this.type?l.math.prototype.defaults:this.defaults,i=this.attrNames||l.copyAttributeNames,n=l.skipAttributes,a=l.copyAttributes;if(!this.attrNames){for(var s in e)n[s]||a[s]||!e.hasOwnProperty(s)||null!=this[s]&&this[s]!==e[s]&&this.Get(s,null,1)!==this[s]&&t.attributes.set(s,this[s]);this.class&&t.attributes.set("class",this.class)}for(var r=0,o=i.length;r<o;r++)1===a[i[r]]&&!e.hasOwnProperty(i[r])||(value=(this.attr||{})[i[r]],null==value&&(value=this[i[r]]),null!=value&&t.attributes.set(i[r],value))},nodeAddProperties:function(t){for(var e=0,i=a.length;e<i;e++){var n=a[e];null==this[n]||null!=this.defaults[n]&&this.defaults[n]!==l.AUTO||t.setProperty(s[n]||n,this[n])}}}),l.chars.Augment({toMmlNode:function(t){return t.MML.text().setText(this.data.join(""))}}),l.entity.Augment({toMmlNode:function(t){return t.MML.text().setText(this.toString())}}),l.msubsup.Augment({toMmlNode:function(t){var e=null==this.data[this.sub]?"msup":null==this.data[this.sup]?"msub":"msubsup";return this.nodeMake(t,e)}}),l.munderover.Augment({toMmlNode:function(t){var e=null==this.data[this.under]?"mover":null==this.data[this.over]?"munder":"munderover";return this.nodeMake(t,e)}}),l.xml.Augment({toMmlNode:function(t){return t.MML.xml(this.data)}})},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MmlFactory=MathJax._.core.MmlTree.MmlFactory.MmlFactory},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.APPEND=MathJax._.util.Options.APPEND,e.REMOVE=MathJax._.util.Options.REMOVE,e.Expandable=MathJax._.util.Options.Expandable,e.expandable=MathJax._.util.Options.expandable,e.makeArray=MathJax._.util.Options.makeArray,e.keys=MathJax._.util.Options.keys,e.copy=MathJax._.util.Options.copy,e.insert=MathJax._.util.Options.insert,e.defaultOptions=MathJax._.util.Options.defaultOptions,e.userOptions=MathJax._.util.Options.userOptions,e.selectOptions=MathJax._.util.Options.selectOptions,e.selectOptionsFromKeys=MathJax._.util.Options.selectOptionsFromKeys,e.separateOptions=MathJax._.util.Options.separateOptions},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractFindMath=MathJax._.core.FindMath.AbstractFindMath},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sortLength=MathJax._.util.string.sortLength,e.quotePattern=MathJax._.util.string.quotePattern,e.unicodeChars=MathJax._.util.string.unicodeChars,e.isPercent=MathJax._.util.string.isPercent,e.split=MathJax._.util.string.split},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.protoItem=MathJax._.core.MathItem.protoItem,e.AbstractMathItem=MathJax._.core.MathItem.AbstractMathItem,e.STATE=MathJax._.core.MathItem.STATE,e.newState=MathJax._.core.MathItem.newState},function(t,e,i){"use strict";i.r(e);var n=i(2),a=i(0),s=i(1);Object(n.combineWithMathJax)({_:{input:{asciimath_ts:a,asciimath:{FindAsciiMath:s}}}}),MathJax.startup&&(MathJax.Hub.Config({AsciiMath:MathJax.config.asciimath||{}}),MathJax.startup.registerConstructor("asciimath",a.AsciiMath),MathJax.startup.useInput("asciimath"))}]);
\ No newline at end of file

D js/mathjax/input/mml.js => js/mathjax/input/mml.js +0 -1
@@ 1,1 0,0 @@
!function(r){var o={};function a(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,a),e.l=!0,e.exports}a.m=r,a.c=o,a.d=function(t,e,r){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)a.d(r,o,function(t){return e[t]}.bind(null,o));return r},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=10)}([function(t,e,r){"use strict";var o,a=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),n=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var o,a,i=r.call(t),n=[];try{for(;(void 0===e||0<e--)&&!(o=i.next()).done;)n.push(o.value)}catch(t){a={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return n};Object.defineProperty(e,"__esModule",{value:!0});var s,i=r(5),l=r(3),c=r(6),h=r(1),u=r(2),p=(s=i.AbstractInputJax,a(d,s),d.prototype.setAdaptor=function(t){s.prototype.setAdaptor.call(this,t),this.findMathML.adaptor=t,this.mathml.adaptor=t},d.prototype.setMmlFactory=function(t){s.prototype.setMmlFactory.call(this,t),this.mathml.setMmlFactory(t)},Object.defineProperty(d.prototype,"processStrings",{get:function(){return!1},enumerable:!0,configurable:!0}),d.prototype.compile=function(t,e){var r=t.start.node;if(!r||!t.end.node||this.options.forceReparse||"#text"===this.adaptor.kind(r)){var o=this.executeFilters(this.preFilters,t,e,t.math||"<math></math>"),a=this.checkForErrors(this.adaptor.parse(o,"text/"+this.options.parseAs)),i=this.adaptor.body(a);1!==this.adaptor.childNodes(i).length&&this.error("MathML must consist of a single element"),r=this.adaptor.remove(this.adaptor.firstChild(i)),"math"!==this.adaptor.kind(r).replace(/^[a-z]+:/,"")&&this.error("MathML must be formed by a <math> element, not <"+this.adaptor.kind(r)+">")}return r=this.executeFilters(this.mmlFilters,t,e,r),this.executeFilters(this.postFilters,t,e,this.mathml.compile(r))},d.prototype.checkForErrors=function(t){var e=this.adaptor.tags(this.adaptor.body(t),"parsererror")[0];return e&&(""===this.adaptor.textContent(e)&&this.error("Error processing MathML"),this.options.parseError.call(this,e)),t},d.prototype.error=function(t){throw new Error(t)},d.prototype.findMath=function(t){return this.findMathML.findMath(t)},d.NAME="MathML",d.OPTIONS=l.defaultOptions({parseAs:"html",forceReparse:!1,FindMathML:null,MathMLCompile:null,parseError:function(t){this.error(this.adaptor.textContent(t).replace(/\n.*/g,""))}},i.AbstractInputJax.OPTIONS),d);function d(t){void 0===t&&(t={});var e=this,r=n(l.separateOptions(t,h.FindMathML.OPTIONS,u.MathMLCompile.OPTIONS),3),o=r[0],a=r[1],i=r[2];return(e=s.call(this,o)||this).findMathML=e.options.FindMathML||new h.FindMathML(a),e.mathml=e.options.MathMLCompile||new u.MathMLCompile(i),e.mmlFilters=new c.FunctionList,e}e.MathML=p},function(t,e,r){"use strict";var o,a=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),f=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],o=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var i,n=r(7),M="http://www.w3.org/1998/Math/MathML",s=(i=n.AbstractFindMath,a(l,i),l.prototype.findMath=function(t){var e=new Set;this.findMathNodes(t,e),this.findMathPrefixed(t,e);var r=this.adaptor.root(this.adaptor.document);return"html"===this.adaptor.kind(r)&&0===e.size&&this.findMathNS(t,e),this.processMath(e)},l.prototype.findMathNodes=function(t,e){var r,o;try{for(var a=f(this.adaptor.tags(t,"math")),i=a.next();!i.done;i=a.next()){var n=i.value;e.add(n)}}catch(t){r={error:t}}finally{try{i&&!i.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},l.prototype.findMathPrefixed=function(t,e){var r,o,a,i,n=this.adaptor.root(this.adaptor.document);try{for(var s=f(this.adaptor.allAttributes(n)),l=s.next();!l.done;l=s.next()){var c=l.value;if("xmlns:"===c.name.substr(0,6)&&c.value===M){var h=c.name.substr(6);try{for(var u=(a=void 0,f(this.adaptor.tags(t,h+":math"))),p=u.next();!p.done;p=u.next()){var d=p.value;e.add(d)}}catch(t){a={error:t}}finally{try{p&&!p.done&&(i=u.return)&&i.call(u)}finally{if(a)throw a.error}}}}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}},l.prototype.findMathNS=function(t,e){var r,o;try{for(var a=f(this.adaptor.tags(t,"math",M)),i=a.next();!i.done;i=a.next()){var n=i.value;e.add(n)}}catch(t){r={error:t}}finally{try{i&&!i.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},l.prototype.processMath=function(t){var e,r,o=[];try{for(var a=f(Array.from(t)),i=a.next();!i.done;i=a.next()){var n=i.value,s="block"===this.adaptor.getAttribute(n,"display")||"display"===this.adaptor.getAttribute(n,"mode"),l={node:n,n:0,delim:""},c={node:n,n:0,delim:""};o.push({math:this.adaptor.outerHTML(n),start:l,end:c,display:s})}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return o},l.OPTIONS={},l);function l(){return null!==i&&i.apply(this,arguments)||this}e.FindMathML=s},function(t,e,r){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)},p=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],o=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var d=r(8),a=r(3),i=r(9),n=(s.prototype.setMmlFactory=function(t){this.factory=t},s.prototype.compile=function(t){var e=this.makeNode(t);return e.verifyTree(this.options.verify),e.setInheritedAttributes({},!1,0,!1),e.walkTree(this.markMrows),e},s.prototype.makeNode=function(t){var e,r,o=this.adaptor,a=!1,i=o.kind(t).replace(/^.*:/,""),n=o.getAttribute(t,"data-mjx-texclass")||"",s=n&&"mrow"===i?"TeXAtom":i;try{for(var l=p(o.allClasses(t)),c=l.next();!c.done;c=l.next()){var h=c.value;h.match(/^MJX-TeXAtom-/)?(n=h.substr(12),s="TeXAtom"):"MJX-fixedlimits"===h&&(a=!0)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}this.factory.getNodeClass(s)||this.error('Unknown node type "'+s+'"');var u=this.factory.create(s);return"TeXAtom"===s?this.texAtom(u,n,a):n&&(u.texClass=d.TEXCLASS[n],u.setProperty("texClass",u.texClass)),this.addAttributes(u,t),this.checkClass(u,t),this.addChildren(u,t),u},s.prototype.addAttributes=function(t,e){var r,o,a=!1;try{for(var i=p(this.adaptor.allAttributes(e)),n=i.next();!n.done;n=i.next()){var s=n.value,l=s.name;if("data-mjx-"===l.substr(0,9))"data-mjx-alternate"===l?t.setProperty("variantForm",!0):"data-mjx-variant"===l&&(t.attributes.set("mathvariant",this.filterAttribute("mathvariant",s.value)),a=!0);else if("class"!==l){var c=this.filterAttribute(l,s.value);if(null!==c){var h=c.toLowerCase();"true"===h||"false"===h?t.attributes.set(l,"true"===h):a&&"mathvariant"===l||t.attributes.set(l,c)}}}}catch(t){r={error:t}}finally{try{n&&!n.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}},s.prototype.filterAttribute=function(t,e){return e},s.prototype.addChildren=function(t,e){var r,o;if(0!==t.arity){var a=this.adaptor;try{for(var i=p(a.childNodes(e)),n=i.next();!n.done;n=i.next()){var s=n.value,l=a.kind(s);if("#comment"!==l)if("#text"===l)this.addText(t,s);else if(t.isKind("annotation-xml"))t.appendChild(this.factory.create("XML").setXML(s,a));else{var c=t.appendChild(this.makeNode(s));0===c.arity&&a.childNodes(s).length&&(this.options.fixMisplacedChildren?this.addChildren(t,s):c.mError("There should not be children for "+c.kind+" nodes",this.options.verify,!0))}}}catch(t){r={error:t}}finally{try{n&&!n.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}}},s.prototype.addText=function(t,e){var r=this.adaptor.value(e);(t.isToken||t.getProperty("isChars"))&&t.arity?(t.isToken&&(r=i.translate(r),r=this.trimSpace(r)),t.appendChild(this.factory.create("text").setText(r))):r.match(/\S/)&&this.error('Unexpected text node "'+r+'"')},s.prototype.checkClass=function(t,e){var r,o,a=[];try{for(var i=p(this.adaptor.allClasses(e)),n=i.next();!n.done;n=i.next()){var s=n.value;"MJX-"===s.substr(0,4)?"MJX-variant"===s?t.setProperty("variantForm",!0):"MJX-TeXAtom"!==s.substr(0,11)&&t.attributes.set("mathvariant",this.fixCalligraphic(s.substr(3))):a.push(s)}}catch(t){r={error:t}}finally{try{n&&!n.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}a.length&&t.attributes.set("class",a.join(" "))},s.prototype.fixCalligraphic=function(t){return t.replace(/caligraphic/,"calligraphic")},s.prototype.texAtom=function(t,e,r){t.texClass=d.TEXCLASS[e],t.setProperty("texClass",t.texClass),"OP"!==e||r||(t.setProperty("movesupsub",!0),t.attributes.setInherited("movablelimits",!0))},s.prototype.markMrows=function(t){if(t.isKind("mrow")&&!t.isInferred&&2<=t.childNodes.length){var e=t.childNodes[0],r=t.childNodes[t.childNodes.length-1];e.isKind("mo")&&e.attributes.get("fence")&&r.isKind("mo")&&r.attributes.get("fence")&&(e.childNodes.length&&t.setProperty("open",e.getText()),r.childNodes.length&&t.setProperty("close",r.getText()))}},s.prototype.trimSpace=function(t){return t.replace(/[\t\n\r]/g," ").replace(/^ +/,"").replace(/ +$/,"").replace(/  +/g," ")},s.prototype.error=function(t){throw new Error(t)},s.OPTIONS={MmlFactory:null,fixMisplacedChildren:!0,verify:{},translateEntities:!0},s.VERIFY=o({},d.AbstractMmlNode.verifyDefaults),s);function s(t){void 0===t&&(t={});var e=this.constructor;this.options=a.userOptions(a.defaultOptions({},e.OPTIONS),t),this.options.verify&&(this.options.verify=a.userOptions(a.defaultOptions({},e.VERIFY),this.options.verify))}e.MathMLCompile=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.APPEND=MathJax._.util.Options.APPEND,e.REMOVE=MathJax._.util.Options.REMOVE,e.Expandable=MathJax._.util.Options.Expandable,e.expandable=MathJax._.util.Options.expandable,e.makeArray=MathJax._.util.Options.makeArray,e.keys=MathJax._.util.Options.keys,e.copy=MathJax._.util.Options.copy,e.insert=MathJax._.util.Options.insert,e.defaultOptions=MathJax._.util.Options.defaultOptions,e.userOptions=MathJax._.util.Options.userOptions,e.selectOptions=MathJax._.util.Options.selectOptions,e.selectOptionsFromKeys=MathJax._.util.Options.selectOptionsFromKeys,e.separateOptions=MathJax._.util.Options.separateOptions},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=MathJax._.components.global.isObject,e.combineConfig=MathJax._.components.global.combineConfig,e.combineDefaults=MathJax._.components.global.combineDefaults,e.combineWithMathJax=MathJax._.components.global.combineWithMathJax,e.MathJax=MathJax._.components.global.MathJax},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractInputJax=MathJax._.core.InputJax.AbstractInputJax},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FunctionList=MathJax._.util.FunctionList.FunctionList},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractFindMath=MathJax._.core.FindMath.AbstractFindMath},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TEXCLASS=MathJax._.core.MmlTree.MmlNode.TEXCLASS,e.TEXCLASSNAMES=MathJax._.core.MmlTree.MmlNode.TEXCLASSNAMES,e.indentAttributes=MathJax._.core.MmlTree.MmlNode.indentAttributes,e.AbstractMmlNode=MathJax._.core.MmlTree.MmlNode.AbstractMmlNode,e.AbstractMmlTokenNode=MathJax._.core.MmlTree.MmlNode.AbstractMmlTokenNode,e.AbstractMmlLayoutNode=MathJax._.core.MmlTree.MmlNode.AbstractMmlLayoutNode,e.AbstractMmlBaseNode=MathJax._.core.MmlTree.MmlNode.AbstractMmlBaseNode,e.AbstractMmlEmptyNode=MathJax._.core.MmlTree.MmlNode.AbstractMmlEmptyNode,e.TextNode=MathJax._.core.MmlTree.MmlNode.TextNode,e.XMLNode=MathJax._.core.MmlTree.MmlNode.XMLNode},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.options=MathJax._.util.Entities.options,e.entities=MathJax._.util.Entities.entities,e.add=MathJax._.util.Entities.add,e.remove=MathJax._.util.Entities.remove,e.translate=MathJax._.util.Entities.translate,e.numeric=MathJax._.util.Entities.numeric},function(t,e,r){"use strict";r.r(e);var o=r(4),a=r(0),i=r(1),n=r(2);Object(o.combineWithMathJax)({_:{input:{mathml_ts:a,mathml:{FindMathML:i,MathMLCompile:n}}}}),MathJax.startup&&(MathJax.startup.registerConstructor("mml",a.MathML),MathJax.startup.useInput("mml"))}]);
\ No newline at end of file

D js/mathjax/input/mml/entities.js => js/mathjax/input/mml/entities.js +0 -1
@@ 1,1 0,0 @@
!function(t){var o={};function a(r){if(o[r])return o[r].exports;var e=o[r]={i:r,l:!1,exports:{}};return t[r].call(e.exports,e,e.exports,a),e.l=!0,e.exports}a.m=t,a.c=o,a.d=function(r,e,t){a.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:t})},a.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)a.d(t,o,function(r){return e[r]}.bind(null,o));return t},a.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return a.d(e,"a",e),e},a.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},a.p="",a(a.s=1)}([function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.options=MathJax._.util.Entities.options,e.entities=MathJax._.util.Entities.entities,e.add=MathJax._.util.Entities.add,e.remove=MathJax._.util.Entities.remove,e.translate=MathJax._.util.Entities.translate,e.numeric=MathJax._.util.Entities.numeric},function(r,e,t){"use strict";t.r(e);t(2)},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(3),t(4),t(5),t(6),t(7),t(8),t(9),t(10),t(11),t(12),t(13),t(14),t(15),t(16),t(17),t(18),t(19),t(20),t(21),t(22),t(23),t(24),t(25),t(26),t(27),t(28),t(29),t(30),t(31)},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({AElig:"\xc6",AMP:"&",Aacute:"\xc1",Abreve:"\u0102",Acirc:"\xc2",Acy:"\u0410",Agrave:"\xc0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2a53",Aogon:"\u0104",Aring:"\xc5",Assign:"\u2254",Atilde:"\xc3",Auml:"\xc4",aacute:"\xe1",abreve:"\u0103",ac:"\u223e",acE:"\u223e\u0333",acd:"\u223f",acirc:"\xe2",acy:"\u0430",aelig:"\xe6",af:"\u2061",agrave:"\xe0",alefsym:"\u2135",amacr:"\u0101",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ange:"\u29a4",angle:"\u2220",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angst:"\xc5",angzarr:"\u237c",aogon:"\u0105",ap:"\u2248",apE:"\u2a70",apacir:"\u2a6f",apid:"\u224b",apos:"'",approx:"\u2248",approxeq:"\u224a",aring:"\xe5",ast:"*",asymp:"\u2248",asympeq:"\u224d",atilde:"\xe3",auml:"\xe4",awconint:"\u2233",awint:"\u2a11"},"a")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({Barv:"\u2ae7",Barwed:"\u2306",Bcy:"\u0411",Bernoullis:"\u212c",Beta:"\u0392",Bumpeq:"\u224e",bNot:"\u2aed",backcong:"\u224c",backepsilon:"\u03f6",barvee:"\u22bd",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",bigcap:"\u22c2",bigcup:"\u22c3",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacksquare:"\u25aa",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bot:"\u22a5",bottom:"\u22a5",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255d",boxUR:"\u255a",boxUl:"\u255c",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256c",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256b",boxVl:"\u2562",boxVr:"\u255f",boxbox:"\u29c9",boxdL:"\u2555",boxdR:"\u2552",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252c",boxhu:"\u2534",boxuL:"\u255b",boxuR:"\u2558",boxv:"\u2502",boxvH:"\u256a",boxvL:"\u2561",boxvR:"\u255e",boxvh:"\u253c",boxvl:"\u2524",boxvr:"\u251c",bprime:"\u2035",breve:"\u02d8",brvbar:"\xa6",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsolb:"\u29c5",bsolhsub:"\u27c8",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",bumpeq:"\u224f"},"b")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({CHcy:"\u0427",COPY:"\xa9",Cacute:"\u0106",CapitalDifferentialD:"\u2145",Cayleys:"\u212d",Ccaron:"\u010c",Ccedil:"\xc7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010a",Cedilla:"\xb8",Chi:"\u03a7",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2a74",Conint:"\u222f",CounterClockwiseContourIntegral:"\u2233",cacute:"\u0107",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",ccaps:"\u2a4d",ccaron:"\u010d",ccedil:"\xe7",ccirc:"\u0109",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",cedil:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",chcy:"\u0447",checkmark:"\u2713",cir:"\u25cb",cirE:"\u29c3",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",clubsuit:"\u2663",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",conint:"\u222e",coprod:"\u2210",copy:"\xa9",copysr:"\u2117",crarr:"\u21b5",cross:"\u2717",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",cudarrl:"\u2938",cudarrr:"\u2935",cularrp:"\u293d",cupbrcap:"\u2a48",cupcap:"\u2a46",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d"},"c")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040f",Darr:"\u21a1",Dashv:"\u2ae4",Dcaron:"\u010e",Dcy:"\u0414",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",Dot:"\xa8",DotDot:"\u20dc",DoubleContourIntegral:"\u222f",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVectorBar:"\u2957",DownTeeArrow:"\u21a7",Dstrok:"\u0110",dArr:"\u21d3",dHar:"\u2965",darr:"\u2193",dash:"\u2010",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",dcaron:"\u010f",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddotseq:"\u2a77",demptyv:"\u29b1",dfisht:"\u297f",dharl:"\u21c3",dharr:"\u21c2",diam:"\u22c4",diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",disin:"\u22f2",divide:"\xf7",divonx:"\u22c7",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",doteq:"\u2250",dotminus:"\u2238",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",dscy:"\u0455",dsol:"\u29f6",dstrok:"\u0111",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",dzcy:"\u045f",dzigrarr:"\u27ff"},"d")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({ENG:"\u014a",ETH:"\xd0",Eacute:"\xc9",Ecaron:"\u011a",Ecirc:"\xca",Ecy:"\u042d",Edot:"\u0116",Egrave:"\xc8",Emacr:"\u0112",EmptySmallSquare:"\u25fb",EmptyVerySmallSquare:"\u25ab",Eogon:"\u0118",Epsilon:"\u0395",Equal:"\u2a75",Esim:"\u2a73",Eta:"\u0397",Euml:"\xcb",eDDot:"\u2a77",eDot:"\u2251",eacute:"\xe9",easter:"\u2a6e",ecaron:"\u011b",ecirc:"\xea",ecolon:"\u2255",ecy:"\u044d",edot:"\u0117",ee:"\u2147",eg:"\u2a9a",egrave:"\xe8",egsdot:"\u2a98",el:"\u2a99",elinters:"\u23e7",elsdot:"\u2a97",emacr:"\u0113",emptyset:"\u2205",emptyv:"\u2205",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014b",ensp:"\u2002",eogon:"\u0119",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsilon:"\u03b5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",equals:"=",equest:"\u225f",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",esdot:"\u2250",esim:"\u2242",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147"},"e")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({Fcy:"\u0424",FilledSmallSquare:"\u25fc",Fouriertrf:"\u2131",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",filig:"\ufb01",fjlig:"fj",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",forall:"\u2200",forkv:"\u2ad9",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044"},"f")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({GJcy:"\u0403",GT:">",Gammad:"\u03dc",Gbreve:"\u011e",Gcedil:"\u0122",Gcirc:"\u011c",Gcy:"\u0413",Gdot:"\u0120",GreaterGreater:"\u2aa2",Gt:"\u226b",gE:"\u2267",gacute:"\u01f5",gammad:"\u03dd",gbreve:"\u011f",gcirc:"\u011d",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gg:"\u226b",ggg:"\u22d9",gjcy:"\u0453",gl:"\u2277",glE:"\u2a92",gla:"\u2aa5",glj:"\u2aa4",gnapprox:"\u2a8a",gneq:"\u2a88",gneqq:"\u2269",grave:"`",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gtcc:"\u2aa7",gtcir:"\u2a7a",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00"},"g")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({HARDcy:"\u042a",Hcirc:"\u0124",HilbertSpace:"\u210b",HorizontalLine:"\u2500",Hstrok:"\u0126",hArr:"\u21d4",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",hardcy:"\u044a",harr:"\u2194",harrcir:"\u2948",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hercon:"\u22b9",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",horbar:"\u2015",hslash:"\u210f",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010"},"h")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xcd",Icirc:"\xce",Icy:"\u0418",Idot:"\u0130",Igrave:"\xcc",Imacr:"\u012a",Implies:"\u21d2",Int:"\u222c",Iogon:"\u012e",Iota:"\u0399",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xcf",iacute:"\xed",ic:"\u2063",icirc:"\xee",icy:"\u0438",iecy:"\u0435",iexcl:"\xa1",iff:"\u21d4",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012b",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imof:"\u22b7",imped:"\u01b5",in:"\u2208",incare:"\u2105",infintie:"\u29dd",inodot:"\u0131",int:"\u222b",integers:"\u2124",intercal:"\u22ba",intlarhk:"\u2a17",intprod:"\u2a3c",iocy:"\u0451",iogon:"\u012f",iprod:"\u2a3c",iquest:"\xbf",isin:"\u2208",isinE:"\u22f9",isindot:"\u22f5",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xef"},"i")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({Jcirc:"\u0134",Jcy:"\u0419",Jsercy:"\u0408",Jukcy:"\u0404",jcirc:"\u0135",jcy:"\u0439",jsercy:"\u0458",jukcy:"\u0454"},"j")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({KHcy:"\u0425",KJcy:"\u040c",Kappa:"\u039a",Kcedil:"\u0136",Kcy:"\u041a",kcedil:"\u0137",kcy:"\u043a",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045c"},"k")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lang:"\u27ea",Laplacetrf:"\u2112",Lcaron:"\u013d",Lcedil:"\u013b",Lcy:"\u041b",LeftArrowBar:"\u21e4",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftRightVector:"\u294e",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",LeftTriangleBar:"\u29cf",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftVectorBar:"\u2952",LessLess:"\u2aa1",Lmidot:"\u013f",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lstrok:"\u0141",Lt:"\u226a",lAarr:"\u21da",lArr:"\u21d0",lAtail:"\u291b",lBarr:"\u290e",lE:"\u2266",lHar:"\u2962",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",lang:"\u27e8",langd:"\u2991",langle:"\u27e8",laquo:"\xab",larr:"\u2190",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrpl:"\u2939",larrsim:"\u2973",lat:"\u2aab",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lbbrk:"\u2772",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",lcedil:"\u013c",lceil:"\u2308",lcub:"{",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",leftarrow:"\u2190",leftarrowtail:"\u21a2",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftrightarrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297c",lfloor:"\u230a",lg:"\u2276",lgE:"\u2a91",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226a",llarr:"\u21c7",llcorner:"\u231e",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",lmoustache:"\u23b0",lnapprox:"\u2a89",lneq:"\u2a87",lneqq:"\u2268",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",longleftrightarrow:"\u27f7",longrightarrow:"\u27f6",looparrowleft:"\u21ab",lopar:"\u2985",loplus:"\u2a2d",lotimes:"\u2a34",lowbar:"_",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltlarr:"\u2976",ltquest:"\u2a7b",ltrPar:"\u2996",ltrie:"\u22b4",ltrif:"\u25c2",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00"},"l")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({Map:"\u2905",Mcy:"\u041c",MediumSpace:"\u205f",Mellintrf:"\u2133",Mu:"\u039c",mDDot:"\u223a",male:"\u2642",maltese:"\u2720",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",mdash:"\u2014",measuredangle:"\u2221",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",mp:"\u2213",mstpos:"\u223e",mumap:"\u22b8"},"m")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({NJcy:"\u040a",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041d",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",NewLine:"\n",NoBreak:"\u2060",NonBreakingSpace:"\xa0",Not:"\u2aec",NotCongruent:"\u2262",NotCupCap:"\u226d",NotEqualTilde:"\u2242\u0338",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",NotLeftTriangleBar:"\u29cf\u0338",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",NotPrecedesEqual:"\u2aaf\u0338",NotReverseElement:"\u220c",NotRightTriangleBar:"\u29d0\u0338",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",Ntilde:"\xd1",Nu:"\u039d",nGg:"\u22d9\u0338",nGt:"\u226b\u20d2",nGtv:"\u226b\u0338",nLl:"\u22d8\u0338",nLt:"\u226a\u20d2",nLtv:"\u226a\u0338",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266e",naturals:"\u2115",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",ndash:"\u2013",ne:"\u2260",neArr:"\u21d7",nearhk:"\u2924",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",ngsim:"\u2275",ngt:"\u226f",ngtr:"\u226f",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",nlArr:"\u21cd",nlE:"\u2266\u0338",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219a",nleftrightarrow:"\u21ae",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nlsim:"\u2274",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nmid:"\u2224",notin:"\u2209",notinE:"\u22f9\u0338",notindot:"\u22f5\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrArr:"\u21cf",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",num:"#",numero:"\u2116",numsp:"\u2007",nvHarr:"\u2904",nvap:"\u224d\u20d2",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwArr:"\u21d6",nwarhk:"\u2923",nwarrow:"\u2196",nwnear:"\u2927"},"n")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({OElig:"\u0152",Oacute:"\xd3",Ocirc:"\xd4",Ocy:"\u041e",Odblac:"\u0150",Ograve:"\xd2",Omacr:"\u014c",Omicron:"\u039f",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",Or:"\u2a54",Oslash:"\xd8",Otilde:"\xd5",Otimes:"\u2a37",Ouml:"\xd6",OverBracket:"\u23b4",OverParenthesis:"\u23dc",oS:"\u24c8",oacute:"\xf3",oast:"\u229b",ocir:"\u229a",ocirc:"\xf4",ocy:"\u043e",odash:"\u229d",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",oelig:"\u0153",ofcir:"\u29bf",ogon:"\u02db",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",omacr:"\u014d",omid:"\u29b6",ominus:"\u2296",opar:"\u29b7",operp:"\u29b9",oplus:"\u2295",orarr:"\u21bb",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oslash:"\xf8",otilde:"\xf5",otimes:"\u2297",otimesas:"\u2a36",ouml:"\xf6",ovbar:"\u233d"},"o")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({Pcy:"\u041f",Poincareplane:"\u210c",Pr:"\u2abb",Prime:"\u2033",Proportion:"\u2237",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",pcy:"\u043f",percnt:"%",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",phmmat:"\u2133",phone:"\u260e",pitchfork:"\u22d4",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",pointint:"\u2a15",pound:"\xa3",pr:"\u227a",prE:"\u2ab3",prcue:"\u227c",pre:"\u2aaf",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",preceq:"\u2aaf",precsim:"\u227e",primes:"\u2119",prnE:"\u2ab5",prnap:"\u2ab9",prnsim:"\u22e8",prod:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",puncsp:"\u2008"},"p")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({QUOT:'"',qint:"\u2a0c",qprime:"\u2057",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f"},"q")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({RBarr:"\u2910",REG:"\xae",Racute:"\u0154",Rang:"\u27eb",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",ReverseElement:"\u220b",ReverseUpEquilibrium:"\u296f",Rho:"\u03a1",RightArrowBar:"\u21e5",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVectorBar:"\u2955",RightTeeVector:"\u295b",RightTriangleBar:"\u29d0",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVectorBar:"\u2954",RightVectorBar:"\u2953",RoundImplies:"\u2970",RuleDelayed:"\u29f4",rAarr:"\u21db",rArr:"\u21d2",rAtail:"\u291c",rBarr:"\u290f",rHar:"\u2964",race:"\u223d\u0331",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrw:"\u219d",ratail:"\u291a",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rbbrk:"\u2773",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",reg:"\xae",rfisht:"\u297d",rfloor:"\u230b",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",rightarrow:"\u2192",rightarrowtail:"\u21a3",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightsquigarrow:"\u219d",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",roplus:"\u2a2e",rotimes:"\u2a35",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",rsaquo:"\u203a",rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",ruluhar:"\u2968",rx:"\u211e"},"r")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042c",Sacute:"\u015a",Sc:"\u2abc",Scaron:"\u0160",Scedil:"\u015e",Scirc:"\u015c",Scy:"\u0421",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sub:"\u22d0",Sup:"\u22d1",sacute:"\u015b",sbquo:"\u201a",sc:"\u227b",scE:"\u2ab4",scaron:"\u0161",sccue:"\u227d",sce:"\u2ab0",scedil:"\u015f",scirc:"\u015d",scpolint:"\u2a13",scsim:"\u227f",scy:"\u0441",sdotb:"\u22a1",sdote:"\u2a66",seArr:"\u21d8",searhk:"\u2925",searrow:"\u2198",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfrown:"\u2322",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xad",sigmaf:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",sol:"/",solb:"\u29c4",solbar:"\u233f",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",square:"\u25a1",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",subdot:"\u2abd",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2ac5",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",sum:"\u2211",sung:"\u266a",sup:"\u2283",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"\u2abe",supdsub:"\u2ad8",supe:"\u2287",supedot:"\u2ac4",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supplus:"\u2ac0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swArr:"\u21d9",swarhk:"\u2926",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf"},"s")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({THORN:"\xde",TRADE:"\u2122",TSHcy:"\u040b",TScy:"\u0426",Tab:"\t",Tau:"\u03a4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",TripleDot:"\u20db",Tstrok:"\u0166",target:"\u2316",tbrk:"\u23b4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",there4:"\u2234",therefore:"\u2234",thetasym:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",thorn:"\xfe",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscy:"\u0446",tshcy:"\u045b",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0"},"t")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({Uacute:"\xda",Uarr:"\u219f",Uarrocir:"\u2949",Ubrcy:"\u040e",Ubreve:"\u016c",Ucirc:"\xdb",Ucy:"\u0423",Udblac:"\u0170",Ugrave:"\xd9",Umacr:"\u016a",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Uogon:"\u0172",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",UpEquilibrium:"\u296e",UpTeeArrow:"\u21a5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03d2",Uring:"\u016e",Utilde:"\u0168",Uuml:"\xdc",uArr:"\u21d1",uHar:"\u2963",uacute:"\xfa",uarr:"\u2191",ubrcy:"\u045e",ubreve:"\u016d",ucirc:"\xfb",ucy:"\u0443",udarr:"\u21c5",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",ugrave:"\xf9",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",uml:"\xa8",uogon:"\u0173",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",upsih:"\u03d2",upsilon:"\u03c5",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",urtri:"\u25f9",utdot:"\u22f0",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",uuml:"\xfc",uwangle:"\u29a7"},"u")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({VDash:"\u22ab",Vbar:"\u2aeb",Vcy:"\u0412",Vdashl:"\u2ae6",Verbar:"\u2016",Vert:"\u2016",VerticalLine:"|",VerticalSeparator:"\u2758",VeryThinSpace:"\u200a",vArr:"\u21d5",vBar:"\u2ae8",vBarv:"\u2ae9",vDash:"\u22a8",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vcy:"\u0432",vdash:"\u22a2",vee:"\u2228",veeeq:"\u225a",verbar:"|",vert:"|",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",vprop:"\u221d",vrtri:"\u22b3",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",vzigzag:"\u299a"},"v")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",wedgeq:"\u2259",wp:"\u2118",wr:"\u2240",wreath:"\u2240"},"w")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",xhArr:"\u27fa",xharr:"\u27f7",xlArr:"\u27f8",xlarr:"\u27f5",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",xoplus:"\u2a01",xotime:"\u2a02",xrArr:"\u27f9",xrarr:"\u27f6",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0"},"x")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({YAcy:"\u042f",YIcy:"\u0407",YUcy:"\u042e",Yacute:"\xdd",Ycirc:"\u0176",Ycy:"\u042b",Yuml:"\u0178",yacute:"\xfd",yacy:"\u044f",ycirc:"\u0177",ycy:"\u044b",yicy:"\u0457",yucy:"\u044e",yuml:"\xff"},"y")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017d",Zcy:"\u0417",Zdot:"\u017b",ZeroWidthSpace:"\u200b",Zeta:"\u0396",zacute:"\u017a",zcaron:"\u017e",zcy:"\u0437",zdot:"\u017c",zeetrf:"\u2128",zhcy:"\u0436",zwj:"\u200d",zwnj:"\u200c"},"z")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({Afr:"\ud835\udd04",Bfr:"\ud835\udd05",Cfr:"\u212d",Dfr:"\ud835\udd07",Efr:"\ud835\udd08",Ffr:"\ud835\udd09",Gfr:"\ud835\udd0a",Hfr:"\u210c",Ifr:"\u2111",Jfr:"\ud835\udd0d",Kfr:"\ud835\udd0e",Lfr:"\ud835\udd0f",Mfr:"\ud835\udd10",Nfr:"\ud835\udd11",Ofr:"\ud835\udd12",Pfr:"\ud835\udd13",Qfr:"\ud835\udd14",Rfr:"\u211c",Sfr:"\ud835\udd16",Tfr:"\ud835\udd17",Ufr:"\ud835\udd18",Vfr:"\ud835\udd19",Wfr:"\ud835\udd1a",Xfr:"\ud835\udd1b",Yfr:"\ud835\udd1c",Zfr:"\u2128",afr:"\ud835\udd1e",bfr:"\ud835\udd1f",cfr:"\ud835\udd20",dfr:"\ud835\udd21",efr:"\ud835\udd22",ffr:"\ud835\udd23",gfr:"\ud835\udd24",hfr:"\ud835\udd25",ifr:"\ud835\udd26",jfr:"\ud835\udd27",kfr:"\ud835\udd28",lfr:"\ud835\udd29",mfr:"\ud835\udd2a",nfr:"\ud835\udd2b",ofr:"\ud835\udd2c",pfr:"\ud835\udd2d",qfr:"\ud835\udd2e",rfr:"\ud835\udd2f",sfr:"\ud835\udd30",tfr:"\ud835\udd31",ufr:"\ud835\udd32",vfr:"\ud835\udd33",wfr:"\ud835\udd34",xfr:"\ud835\udd35",yfr:"\ud835\udd36",zfr:"\ud835\udd37"},"fr")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({Aopf:"\ud835\udd38",Bopf:"\ud835\udd39",Copf:"\u2102",Dopf:"\ud835\udd3b",Eopf:"\ud835\udd3c",Fopf:"\ud835\udd3d",Gopf:"\ud835\udd3e",Hopf:"\u210d",Iopf:"\ud835\udd40",Jopf:"\ud835\udd41",Kopf:"\ud835\udd42",Lopf:"\ud835\udd43",Mopf:"\ud835\udd44",Nopf:"\u2115",Oopf:"\ud835\udd46",Popf:"\u2119",Qopf:"\u211a",Ropf:"\u211d",Sopf:"\ud835\udd4a",Topf:"\ud835\udd4b",Uopf:"\ud835\udd4c",Vopf:"\ud835\udd4d",Wopf:"\ud835\udd4e",Xopf:"\ud835\udd4f",Yopf:"\ud835\udd50",Zopf:"\u2124",aopf:"\ud835\udd52",bopf:"\ud835\udd53",copf:"\ud835\udd54",dopf:"\ud835\udd55",eopf:"\ud835\udd56",fopf:"\ud835\udd57",gopf:"\ud835\udd58",hopf:"\ud835\udd59",iopf:"\ud835\udd5a",jopf:"\ud835\udd5b",kopf:"\ud835\udd5c",lopf:"\ud835\udd5d",mopf:"\ud835\udd5e",nopf:"\ud835\udd5f",oopf:"\ud835\udd60",popf:"\ud835\udd61",qopf:"\ud835\udd62",ropf:"\ud835\udd63",sopf:"\ud835\udd64",topf:"\ud835\udd65",uopf:"\ud835\udd66",vopf:"\ud835\udd67",wopf:"\ud835\udd68",xopf:"\ud835\udd69",yopf:"\ud835\udd6a",zopf:"\ud835\udd6b"},"opf")},function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t(0).add({Ascr:"\ud835\udc9c",Bscr:"\u212c",Cscr:"\ud835\udc9e",Dscr:"\ud835\udc9f",Escr:"\u2130",Fscr:"\u2131",Gscr:"\ud835\udca2",Hscr:"\u210b",Iscr:"\u2110",Jscr:"\ud835\udca5",Kscr:"\ud835\udca6",Lscr:"\u2112",Mscr:"\u2133",Nscr:"\ud835\udca9",Oscr:"\ud835\udcaa",Pscr:"\ud835\udcab",Qscr:"\ud835\udcac",Rscr:"\u211b",Sscr:"\ud835\udcae",Tscr:"\ud835\udcaf",Uscr:"\ud835\udcb0",Vscr:"\ud835\udcb1",Wscr:"\ud835\udcb2",Xscr:"\ud835\udcb3",Yscr:"\ud835\udcb4",Zscr:"\ud835\udcb5",ascr:"\ud835\udcb6",bscr:"\ud835\udcb7",cscr:"\ud835\udcb8",dscr:"\ud835\udcb9",escr:"\u212f",fscr:"\ud835\udcbb",gscr:"\u210a",hscr:"\ud835\udcbd",iscr:"\ud835\udcbe",jscr:"\ud835\udcbf",kscr:"\ud835\udcc0",lscr:"\ud835\udcc1",mscr:"\ud835\udcc2",nscr:"\ud835\udcc3",oscr:"\u2134",pscr:"\ud835\udcc5",qscr:"\ud835\udcc6",rscr:"\ud835\udcc7",sscr:"\ud835\udcc8",tscr:"\ud835\udcc9",uscr:"\ud835\udcca",vscr:"\ud835\udccb",wscr:"\ud835\udccc",xscr:"\ud835\udccd",yscr:"\ud835\udcce",zscr:"\ud835\udccf"},"scr")}]);
\ No newline at end of file

D js/mathjax/input/tex-base.js => js/mathjax/input/tex-base.js +0 -1
@@ 1,1 0,0 @@
!function(r){var n={};function a(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,a),e.l=!0,e.exports}a.m=r,a.c=n,a.d=function(t,e,r){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=37)}([function(t,e,r){"use strict";var u=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},n=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),o=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)o.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},a=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(n(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var i,o,l,s=r(3),c=r(31);function p(t,e){var r,n;try{for(var a=u(Object.keys(e)),i=a.next();!i.done;i=a.next()){var o=i.value,s=e[o];"texClass"===o?(t.texClass=s,t.setProperty(o,s)):"movablelimits"===o?(t.setProperty("movablelimits",s),(t.isKind("mo")||t.isKind("mstyle"))&&t.attributes.set("movablelimits",s)):"inferred"===o||(l.has(o)?t.setProperty(o,s):t.attributes.set(o,s))}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}function f(t,e,r){(t.childNodes[e]=r)&&(r.parent=t)}function h(t,e){return t.isKind(e)}o=i=i||{},l=new Map([["autoOP",!0],["fnOP",!0],["movesupsub",!0],["subsupOK",!0],["texprimestyle",!0],["useHeight",!0],["variantForm",!0],["withDelims",!0],["open",!0],["close",!0]]),o.createEntity=function(t){return String.fromCharCode(parseInt(t,16))},o.getChildren=function(t){return t.childNodes},o.getText=function(t){return t.getText()},o.appendChildren=function(t,e){var r,n;try{for(var a=u(e),i=a.next();!i.done;i=a.next()){var o=i.value;t.appendChild(o)}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}},o.setAttribute=function(t,e,r){t.attributes.set(e,r)},o.setProperty=function(t,e,r){t.setProperty(e,r)},o.setProperties=p,o.getProperty=function(t,e){return t.getProperty(e)},o.getAttribute=function(t,e){return t.attributes.get(e)},o.removeProperties=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];t.removeProperty.apply(t,a(e))},o.getChildAt=function(t,e){return t.childNodes[e]},o.setChild=f,o.copyChildren=function(t,e){for(var r=t.childNodes,n=0;n<r.length;n++)f(e,n,r[n])},o.copyAttributes=function(t,e){e.attributes=t.attributes,p(e,t.getAllProperties())},o.isType=h,o.isEmbellished=function(t){return t.isEmbellished},o.getTexClass=function(t){return t.texClass},o.getCoreMO=function(t){return t.coreMO()},o.isNode=function(t){return t instanceof s.AbstractMmlNode||t instanceof s.AbstractMmlEmptyNode},o.isInferred=function(t){return t.isInferred},o.getForm=function(t){var e,r;if(!h(t,"mo"))return null;var n=t,a=n.getForms();try{for(var i=u(a),o=i.next();!o.done;o=i.next()){var s=o.value,l=c.MmlMo.OPTABLE[s][n.getText()];if(l)return l}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return null},e.default=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(o.processString=function(t,e){for(var r=t.split(o.pattern),n=1,a=r.length;n<a;n+=2){var i=r[n].charAt(0);"0"<=i&&i<="9"?(r[n]=e[parseInt(r[n],10)-1],"number"==typeof r[n]&&(r[n]=r[n].toString())):"{"===i&&("0"<=(i=r[n].substr(1))&&i<="9"?(r[n]=e[parseInt(r[n].substr(1,r[n].length-2),10)-1],"number"==typeof r[n]&&(r[n]=r[n].toString())):r[n].match(/^\{([a-z]+):%(\d+)\|(.*)\}$/)&&(r[n]="%"+r[n])),null==r[n]&&(r[n]="???")}return r.join("")},o.pattern=/%(\d+|\{\d+\}|\{[a-z]+:\%\d+(?:\|(?:%\{\d+\}|%.|[^\}])*)+\}|.)/g,o);function o(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];this.id=t,this.message=o.processString(e,r)}e.default=n},function(t,e,r){"use strict";var n,a,i,u=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},c=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),o=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)o.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o};Object.defineProperty(e,"__esModule",{value:!0}),a=n=e.MapHandler||(e.MapHandler={}),i=new Map,a.register=function(t){i.set(t.name,t)},a.getMap=function(t){return i.get(t)},e.ExtensionMaps={NEW_MACRO:"new-Macro",NEW_DELIMITER:"new-Delimiter",NEW_COMMAND:"new-Command",NEW_ENVIRONMENT:"new-Environment"};var s=(o.prototype.add=function(t){var e=n.getMap(t);e?this._configuration.push(e):this.warn("Configuration "+t+" not found! Omitted.")},o.prototype.parse=function(t){var e,r;try{for(var n=u(this._configuration),a=n.next();!a.done;a=n.next()){var i=a.value.parse(t);if(i)return i}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}var o=c(t,2),s=o[0],l=o[1];this._fallback(s,l)},o.prototype.lookup=function(t){var e=this.applicable(t);return e?e.lookup(t):null},o.prototype.contains=function(t){return!!this.applicable(t)},o.prototype.toString=function(){return this._configuration.map(function(t){return t.name}).join(", ")},o.prototype.applicable=function(t){var e,r;try{for(var n=u(this._configuration),a=n.next();!a.done;a=n.next()){var i=a.value;if(i.contains(t))return i}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},o.prototype.retrieve=function(e){return this._configuration.find(function(t){return t.name===e})},o.prototype.warn=function(t){console.log("TexParser Warning: "+t)},o);function o(t,e){var r,n;this._fallback=e,this._configuration=[];try{for(var a=u(t),i=a.next();!i.done;i=a.next()){var o=i.value;this.add(o)}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}e.SubHandler=s;var l=(p.prototype.set=function(t,e){this.map.set(t,e)},p.prototype.get=function(t){return this.map.get(t)},p.prototype.retrieve=function(t){var e,r;try{for(var n=u(this.map.values()),a=n.next();!a.done;a=n.next()){var i=a.value.retrieve(t);if(i)return i}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},p.prototype.keys=function(){return this.map.keys()},p);function p(t){var e,r;this.map=new Map;try{for(var n=u(Object.keys(t.handler)),a=n.next();!a.done;a=n.next()){var i=a.value,o=new s(t.handler[i]||[],t.fallback[i]);this.set(i,o)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}}e.SubHandlers=l},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TEXCLASS=MathJax._.core.MmlTree.MmlNode.TEXCLASS,e.TEXCLASSNAMES=MathJax._.core.MmlTree.MmlNode.TEXCLASSNAMES,e.indentAttributes=MathJax._.core.MmlTree.MmlNode.indentAttributes,e.AbstractMmlNode=MathJax._.core.MmlTree.MmlNode.AbstractMmlNode,e.AbstractMmlTokenNode=MathJax._.core.MmlTree.MmlNode.AbstractMmlTokenNode,e.AbstractMmlLayoutNode=MathJax._.core.MmlTree.MmlNode.AbstractMmlLayoutNode,e.AbstractMmlBaseNode=MathJax._.core.MmlTree.MmlNode.AbstractMmlBaseNode,e.AbstractMmlEmptyNode=MathJax._.core.MmlTree.MmlNode.AbstractMmlEmptyNode,e.TextNode=MathJax._.core.MmlTree.MmlNode.TextNode,e.XMLNode=MathJax._.core.MmlTree.MmlNode.XMLNode},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.options=MathJax._.util.Entities.options,e.entities=MathJax._.util.Entities.entities,e.add=MathJax._.util.Entities.add,e.remove=MathJax._.util.Entities.remove,e.translate=MathJax._.util.Entities.translate,e.numeric=MathJax._.util.Entities.numeric},function(t,e,r){"use strict";var p=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},s=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),o=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)o.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},a=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(s(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var l=r(6),f=r(18),u=r(1),n=r(3),i=(Object.defineProperty(o.prototype,"options",{get:function(){return this.configuration.options},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"itemFactory",{get:function(){return this.configuration.itemFactory},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"tags",{get:function(){return this.configuration.tags},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"string",{get:function(){return this._string},set:function(t){this._string=t},enumerable:!0,configurable:!0}),o.prototype.parse=function(t,e){return this.configuration.handlers.get(t).parse(e)},o.prototype.lookup=function(t,e){return this.configuration.handlers.get(t).lookup(e)},o.prototype.contains=function(t,e){return this.configuration.handlers.get(t).contains(e)},o.prototype.toString=function(){var e,t,r="";try{for(var n=p(Array.from(this.configuration.handlers.keys())),a=n.next();!a.done;a=n.next()){var i=a.value;r+=i+": "+this.configuration.handlers.get(i)+"\n"}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},o.prototype.Parse=function(){for(var t,e;this.i<this.string.length;)55296<=(e=(t=this.string.charAt(this.i++)).charCodeAt(0))&&e<56320&&(t+=this.string.charAt(this.i++)),this.parse("character",[this,t])},o.prototype.Push=function(t){t instanceof n.AbstractMmlNode&&t.isInferred?this.PushAll(t.childNodes):this.stack.Push(t)},o.prototype.PushAll=function(t){var e,r;try{for(var n=p(t),a=n.next();!a.done;a=n.next()){var i=a.value;this.stack.Push(i)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},o.prototype.mml=function(){if(!this.stack.Top().isKind("mml"))return null;var t=this.stack.Top().First;return this.configuration.popParser(),t},o.prototype.convertDelimiter=function(t){var e=this.lookup("delimiter",t);return e?e.char:null},o.prototype.nextIsSpace=function(){return this.string.charAt(this.i).match(/\s/)},o.prototype.GetNext=function(){for(;this.nextIsSpace();)this.i++;return this.string.charAt(this.i)},o.prototype.GetCS=function(){var t=this.string.slice(this.i).match(/^([a-z]+|.) ?/i);return t?(this.i+=t[1].length,t[1]):(this.i++," ")},o.prototype.GetArgument=function(t,e){switch(this.GetNext()){case"":if(!e)throw new u.default("MissingArgFor","Missing argument for %1",this.currentCS);return null;case"}":if(!e)throw new u.default("ExtraCloseMissingOpen","Extra close brace or missing open brace");return null;case"\\":return this.i++,"\\"+this.GetCS();case"{":for(var r=++this.i,n=1;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case"\\":this.i++;break;case"{":n++;break;case"}":if(0==--n)return this.string.slice(r,this.i-1)}throw new u.default("MissingCloseBrace","Missing close brace")}return this.string.charAt(this.i++)},o.prototype.GetBrackets=function(t,e){if("["!==this.GetNext())return e;for(var r=++this.i,n=0;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case"{":n++;break;case"\\":this.i++;break;case"}":if(n--<=0)throw new u.default("ExtraCloseLooking","Extra close brace while looking for %1","']'");break;case"]":if(0===n)return this.string.slice(r,this.i-1)}throw new u.default("MissingCloseBracket","Could not find closing ']' for argument to %1",this.currentCS)},o.prototype.GetDelimiter=function(t,e){for(;this.nextIsSpace();)this.i++;var r=this.string.charAt(this.i);if(this.i++,this.i<=this.string.length&&("\\"===r?r+=this.GetCS():"{"===r&&e&&(this.i--,r=this.GetArgument(t)),this.contains("delimiter",r)))return this.convertDelimiter(r);throw new u.default("MissingOrUnrecognizedDelim","Missing or unrecognized delimiter for %1",this.currentCS)},o.prototype.GetDimen=function(t){if(this.nextIsSpace()&&this.i++,"{"===this.string.charAt(this.i)){var e=this.GetArgument(t),r=s(l.default.matchDimen(e),3),n=r[0],a=r[1];if(r[2],n)return n+a}else{e=this.string.slice(this.i);var i=s(l.default.matchDimen(e,!0),3),o=(n=i[0],a=i[1],i[2]);if(n)return this.i+=o,n+a}throw new u.default("MissingDimOrUnits","Missing dimension or its units for %1",this.currentCS)},o.prototype.GetUpTo=function(t,e){for(;this.nextIsSpace();)this.i++;for(var r=this.i,n=0;this.i<this.string.length;){var a=this.i,i=this.string.charAt(this.i++);switch(i){case"\\":i+=this.GetCS();break;case"{":n++;break;case"}":if(0===n)throw new u.default("ExtraCloseLooking","Extra close brace while looking for %1",e);n--}if(0===n&&i===e)return this.string.slice(r,a)}throw new u.default("TokenNotFoundForCommand","Could not find %1 for %2",e,this.currentCS)},o.prototype.ParseArg=function(t){return new o(this.GetArgument(t),this.stack.env,this.configuration).mml()},o.prototype.ParseUpTo=function(t,e){return new o(this.GetUpTo(t,e),this.stack.env,this.configuration).mml()},o.prototype.GetDelimiterArg=function(t){var e=l.default.trimSpaces(this.GetArgument(t));if(""===e)return null;if(this.contains("delimiter",e))return e;throw new u.default("MissingOrUnrecognizedDelim","Missing or unrecognized delimiter for %1",this.currentCS)},o.prototype.GetStar=function(){var t="*"===this.GetNext();return t&&this.i++,t},o.prototype.create=function(t){for(var e,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return(e=this.configuration.nodeFactory).create.apply(e,a([t],r))},o);function o(t,e,r){var n,a;this._string=t,this.configuration=r,this.macroCount=0,this.i=0,this.currentCS="";var i,o=e.hasOwnProperty("isInner"),s=e.isInner;if(delete e.isInner,e){i={};try{for(var l=p(Object.keys(e)),u=l.next();!u.done;u=l.next()){var c=u.value;i[c]=e[c]}}catch(t){n={error:t}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}}this.configuration.pushParser(this),this.stack=new f.default(this.itemFactory,i,!o||s),this.Parse(),this.Push(this.itemFactory.create("stop"))}e.default=i},function(t,e,r){"use strict";var u=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),o=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)o.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},c=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var n,a,l,i,o,p,f,h=r(3),d=r(0),m=r(5),y=r(1),s=r(4);function g(t,e){void 0===e&&(e=!1);var r,n,a,i,o,s=t.match(e?f:p);return s?(r=[s[1].replace(/,/,"."),s[4],s[0].length],n=u(r,3),a=n[0],i=n[1],o=n[2],"mu"===i?[v(l[i](parseFloat(a||"1"))).slice(0,-2),"em",o]:[a,i,o]):[null,null,0]}function v(t){return Math.abs(t)<6e-4?"0em":t.toFixed(3).replace(/\.?0+$/,"")+"em"}function b(t,e,r){"{"!==e&&"}"!==e||(e="\\"+e);var n="{\\bigg"+r+" "+e+"}",a="{\\big"+r+" "+e+"}";return new m.default("\\mathchoice"+n+a+a+a,{},t).mml()}function T(t,e,r){e=e.replace(/^\s+/,s.entities.nbsp).replace(/\s+$/,s.entities.nbsp);var n=t.create("text",e);return t.create("node","mtext",[],r,n)}function S(t,e,r){if(r.match(/^[a-z]/i)&&e.match(/(^|[^\\])(\\\\)*\\[a-z]+$/i)&&(e+=" "),e.length+r.length>t.configuration.options.maxBuffer)throw new y.default("MaxBufferSize","MathJax internal buffer size exceeded; is there a recursive macro call?");return e+r}function x(t,e){for(;0<e;)t=t.trim().slice(1,-1),e--;return t.trim()}function P(t,e){for(var r=t.length,n=0,a="",i=0,o=0,s=!0,l=!1;i<r;){var u=t[i++];switch(u){case" ":break;case"{":s?o++:(l=!1,n<o&&(o=n)),n++;break;case"}":n&&n--,(s||l)&&(o--,l=!0),s=!1;break;default:if(!n&&-1!==e.indexOf(u))return[l?"true":x(a,o),u,t.slice(i)];l=s=!1}a+=u}if(n)throw new y.default("ExtraOpenMissingClose","Extra open brace or missing close brace");return[l?"true":x(a,o),"",t.slice(i)]}r(25),a=n=n||{},l={em:function(t){return t},ex:function(t){return.43*t},pt:function(t){return t/10},pc:function(t){return 1.2*t},px:function(t){return 7.2*t/72},in:function(t){return 7.2*t},cm:function(t){return 7.2*t/2.54},mm:function(t){return 7.2*t/25.4},mu:function(t){return t/18}},i="([-+]?([.,]\\d+|\\d+([.,]\\d*)?))",o="(pt|em|ex|mu|px|mm|cm|in|pc)",p=RegExp("^\\s*"+i+"\\s*"+o+"\\s*$"),f=RegExp("^\\s*"+i+"\\s*"+o+" ?"),a.matchDimen=g,a.dimen2em=function(t){var e=u(g(t),3),r=e[0],n=e[1],a=(e[2],parseFloat(r||"1")),i=l[n];return i?i(a):0},a.Em=v,a.fenced=function(t,e,r,n,a){void 0===a&&(a="");var i,o=t.nodeFactory,s=o.create("node","mrow",[],{open:e,close:n,texClass:h.TEXCLASS.INNER});if(a)i=new m.default("\\"+a+"l"+e,t.parser.stack.env,t).mml();else{var l=o.create("text",e);i=o.create("node","mo",[],{fence:!0,stretchy:!0,symmetric:!0,texClass:h.TEXCLASS.OPEN},l)}if(d.default.appendChildren(s,[i]),d.default.isType(r,"mrow")&&d.default.isInferred(r)?d.default.appendChildren(s,d.default.getChildren(r)):d.default.appendChildren(s,[r]),a)i=new m.default("\\"+a+"r"+n,t.parser.stack.env,t).mml();else{var u=o.create("text",n);i=o.create("node","mo",[],{fence:!0,stretchy:!0,symmetric:!0,texClass:h.TEXCLASS.CLOSE},u)}return d.default.appendChildren(s,[i]),s},a.fixedFence=function(t,e,r,n){var a=t.nodeFactory.create("node","mrow",[],{open:e,close:n,texClass:h.TEXCLASS.ORD});return e&&d.default.appendChildren(a,[b(t,e,"l")]),d.default.isType(r,"mrow")?d.default.appendChildren(a,d.default.getChildren(r)):d.default.appendChildren(a,[r]),n&&d.default.appendChildren(a,[b(t,n,"r")]),a},a.mathPalette=b,a.fixInitialMO=function(t,e){for(var r=0,n=e.length;r<n;r++){var a=e[r];if(a&&!d.default.isType(a,"mspace")&&(!d.default.isType(a,"TeXAtom")||d.default.getChildren(a)[0]&&d.default.getChildren(d.default.getChildren(a)[0]).length)){if(d.default.isEmbellished(a)||d.default.isType(a,"TeXAtom")&&d.default.getTexClass(a)===h.TEXCLASS.REL){var i=t.nodeFactory.create("node","mi");e.unshift(i)}break}}},a.internalMath=function(t,e,r){var n,a,i=t.stack.env.font?{mathvariant:t.stack.env.font}:{},o=[],s=0,l=0,u="",c=0;if(e.match(/\\?[${}\\]|\\\(|\\(eq)?ref\s*\{/)){for(;s<e.length;)if("$"===(n=e.charAt(s++)))"$"===u&&0===c?(a=t.create("node","TeXAtom",[new m.default(e.slice(l,s-1),{},t.configuration).mml()]),o.push(a),u="",l=s):""===u&&(l<s-1&&o.push(T(t,e.slice(l,s-1),i)),u="$",l=s);else if("{"===n&&""!==u)c++;else if("}"===n)if("}"===u&&0===c){var p=new m.default(e.slice(l,s),{},t.configuration).mml();a=t.create("node","TeXAtom",[p],i),o.push(a),u="",l=s}else""!==u&&c&&c--;else if("\\"===n)if(""===u&&e.substr(s).match(/^(eq)?ref\s*\{/)){var f=RegExp["$&"].length;l<s-1&&o.push(T(t,e.slice(l,s-1),i)),u="}",l=s-1,s+=f}else"("===(n=e.charAt(s++))&&""===u?(l<s-2&&o.push(T(t,e.slice(l,s-2),i)),u=")",l=s):")"===n&&")"===u&&0===c?(a=t.create("node","TeXAtom",[new m.default(e.slice(l,s-2),{},t.configuration).mml()]),o.push(a),u="",l=s):n.match(/[${}\\]/)&&""===u&&(s--,e=e.substr(0,s-1)+e.substr(s));if(""!==u)throw new y.default("MathNotTerminated","Math not terminated in text box")}return l<e.length&&o.push(T(t,e.slice(l),i)),null!=r?o=[t.create("node","mstyle",o,{displaystyle:!1,scriptlevel:r})]:1<o.length&&(o=[t.create("node","mrow",o)]),o},a.trimSpaces=function(t){if("string"!=typeof t)return t;var e=t.trim();return e.match(/\\$/)&&t.match(/ $/)&&(e+=" "),e},a.setArrayAlign=function(t,e){return"t"===(e=a.trimSpaces(e||""))?t.arraydef.align="baseline 1":"b"===e?t.arraydef.align="baseline -1":"c"===e?t.arraydef.align="center":e&&(t.arraydef.align=e),t},a.substituteArgs=function(t,e,r){for(var n="",a="",i=0;i<r.length;){var o=r.charAt(i++);if("\\"===o)n+=o+r.charAt(i++);else if("#"===o)if("#"===(o=r.charAt(i++)))n+=o;else{if(!o.match(/[1-9]/)||parseInt(o,10)>e.length)throw new y.default("IllegalMacroParam","Illegal macro parameter reference");a=S(t,S(t,a,n),e[parseInt(o,10)-1]),n=""}else n+=o}return S(t,a,n)},a.addArgs=S,a.checkEqnEnv=function(t){if(t.stack.global.eqnenv)throw new y.default("ErroneousNestingEq","Erroneous nesting of equation structures");t.stack.global.eqnenv=!0},a.MmlFilterAttribute=function(t,e,r){return r},a.getFontDef=function(t){var e=t.stack.env.font;return e?{mathvariant:e}:{}},a.keyvalOptions=function(t,e,r){var n,a;void 0===e&&(e=null),void 0===r&&(r=!1);var i=function(t){var e,r,n,a,i,o={},s=t;for(;s;)e=u(P(s,["=",","]),3),a=e[0],n=e[1],s=e[2],"="===n?(r=u(P(s,[","]),3),i=r[0],n=r[1],s=r[2],i="false"===i||"true"===i?JSON.parse(i):i,o[a]=i):a&&(o[a]=!0);return o}(t);if(e)try{for(var o=c(Object.keys(i)),s=o.next();!s.done;s=o.next()){var l=s.value;if(!e.hasOwnProperty(l)){if(r)throw new y.default("InvalidOption","Invalid optional argument: %1",l);delete i[l]}}}catch(t){n={error:t}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}return i},e.default=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.APPEND=MathJax._.util.Options.APPEND,e.REMOVE=MathJax._.util.Options.REMOVE,e.Expandable=MathJax._.util.Options.Expandable,e.expandable=MathJax._.util.Options.expandable,e.makeArray=MathJax._.util.Options.makeArray,e.keys=MathJax._.util.Options.keys,e.copy=MathJax._.util.Options.copy,e.insert=MathJax._.util.Options.insert,e.defaultOptions=MathJax._.util.Options.defaultOptions,e.userOptions=MathJax._.util.Options.userOptions,e.selectOptions=MathJax._.util.Options.selectOptions,e.selectOptionsFromKeys=MathJax._.util.Options.selectOptionsFromKeys,e.separateOptions=MathJax._.util.Options.separateOptions},function(t,e,r){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var i=r(5),s=function(t,e){void 0===t&&(t="???"),void 0===e&&(e=""),this.tag=t,this.id=e};e.Label=s;var l=function(t,e,r,n,a,i,o,s){void 0===t&&(t=""),void 0===e&&(e=!1),void 0===r&&(r=!1),void 0===n&&(n=null),void 0===a&&(a=""),void 0===i&&(i=""),void 0===o&&(o=!1),void 0===s&&(s=""),this.env=t,this.taggable=e,this.defaultTags=r,this.tag=n,this.tagId=a,this.tagFormat=i,this.noTag=o,this.labelId=s};e.TagInfo=l;var u=(c.prototype.start=function(t,e,r){this.currentTag&&this.stack.push(this.currentTag),this.currentTag=new l(t,e,r)},Object.defineProperty(c.prototype,"env",{get:function(){return this.currentTag.env},enumerable:!0,configurable:!0}),c.prototype.end=function(){this.history.push(this.currentTag),this.currentTag=this.stack.pop()},c.prototype.tag=function(t,e){this.currentTag.tag=t,this.currentTag.tagFormat=e?t:this.formatTag(t),this.currentTag.noTag=!1},c.prototype.notag=function(){this.tag("",!0),this.currentTag.noTag=!0},Object.defineProperty(c.prototype,"noTag",{get:function(){return this.currentTag.noTag},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"label",{get:function(){return this.currentTag.labelId},set:function(t){this.currentTag.labelId=t},enumerable:!0,configurable:!0}),c.prototype.formatUrl=function(t,e){return e+"#"+encodeURIComponent(t)},c.prototype.formatTag=function(t){return"("+t+")"},c.prototype.formatId=function(t){return"mjx-eqn-"+t.replace(/\s/g,"_")},c.prototype.formatNumber=function(t){return t.toString()},c.prototype.autoTag=function(){null==this.currentTag.tag&&(this.counter++,this.tag(this.formatNumber(this.counter),!1))},c.prototype.clearTag=function(){this.label="",this.tag(null,!0),this.currentTag.tagId=""},c.prototype.getTag=function(t){if(void 0===t&&(t=!1),t)return this.autoTag(),this.makeTag();var e=this.currentTag;return e.taggable&&!e.noTag&&(e.defaultTags&&this.autoTag(),e.tag)?this.makeTag():null},c.prototype.resetTag=function(){this.history=[],this.redo=!1,this.refUpdate=!1,this.clearTag()},c.prototype.reset=function(t){void 0===t&&(t=0),this.resetTag(),this.counter=this.allCounter=t,this.allLabels={},this.allIds={}},c.prototype.startEquation=function(t){this.labels={},this.ids={},this.counter=this.allCounter,this.redo=!1;var e=t.inputData.recompile;e&&(this.refUpdate=!0,this.counter=e.counter)},c.prototype.finishEquation=function(t){this.redo&&(t.inputData.recompile={state:t.state(),counter:this.allCounter}),this.refUpdate||(this.allCounter=this.counter),Object.assign(this.allIds,this.ids),Object.assign(this.allLabels,this.labels)},c.prototype.finalize=function(t,e){if(!e.display||this.currentTag.env||null==this.currentTag.tag)return t;var r=this.makeTag();return this.enTag(t,r)},c.prototype.makeId=function(){this.currentTag.tagId=this.formatId(this.configuration.options.useLabelIds&&this.label||this.currentTag.tag)},c.prototype.makeTag=function(){this.makeId(),this.label&&(this.labels[this.label]=new s(this.currentTag.tag,this.currentTag.tagId));var t=new i.default("\\text{"+this.currentTag.tagFormat+"}",{},this.configuration).mml();return this.configuration.nodeFactory.create("node","mtd",[t],{id:this.currentTag.tagId})},c);function c(){this.counter=0,this.allCounter=0,this.configuration=null,this.ids={},this.allIds={},this.labels={},this.allLabels={},this.redo=!1,this.refUpdate=!1,this.currentTag=new l,this.history=[],this.stack=[],this.enTag=function(t,e){var r=this.configuration.nodeFactory,n=r.create("node","mtd",[t]),a=r.create("node","mlabeledtr",[e,n]);return r.create("node","mtable",[a],{side:this.configuration.options.tagSide,minlabelspacing:this.configuration.options.tagIndent,displaystyle:!0})}}e.AbstractTags=u;var p,f=(a(h,p=u),h.prototype.autoTag=function(){},h.prototype.getTag=function(){return this.currentTag.tag?p.prototype.getTag.call(this):null},h);function h(){return null!==p&&p.apply(this,arguments)||this}e.NoTags=f;var d,m,y,g,v=(a(b,d=u),b.prototype.finalize=function(t,e){if(!e.display||this.history.find(function(t){return t.taggable}))return t;var r=this.getTag(!0);return this.enTag(t,r)},b);function b(){return null!==d&&d.apply(this,arguments)||this}e.AllTags=v,m=e.TagsFactory||(e.TagsFactory={}),y=new Map([["none",f],["all",v]]),g="none",m.OPTIONS={tags:g,tagSide:"right",tagIndent:"0.8em",multlineWidth:"85%",useLabelIds:!0,ignoreDuplicateLabels:!1},m.add=function(t,e){y.set(t,e)},m.addTags=function(t){var e,r;try{for(var n=o(Object.keys(t)),a=n.next();!a.done;a=n.next()){var i=a.value;m.add(i,t[i])}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},m.create=function(t){var e=y.get(t)||y.get(g);if(!e)throw Error("Unknown tags class");return new e},m.setDefault=function(t){g=t},m.getDefault=function(){return m.create(g)}},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),(n=e.TexConstant||(e.TexConstant={})).Variant={NORMAL:"normal",BOLD:"bold",ITALIC:"italic",BOLDITALIC:"bold-italic",DOUBLESTRUCK:"double-struck",FRAKTUR:"fraktur",BOLDFRAKTUR:"bold-fraktur",SCRIPT:"script",BOLDSCRIPT:"bold-script",SANSSERIF:"sans-serif",BOLDSANSSERIF:"bold-sans-serif",SANSSERIFITALIC:"sans-serif-italic",SANSSERIFBOLDITALIC:"sans-serif-bold-italic",MONOSPACE:"monospace",INITIAL:"inital",TAILED:"tailed",LOOPED:"looped",STRETCHED:"stretched",CALLIGRAPHIC:"-tex-calligraphic",OLDSTYLE:"-tex-oldstyle"},n.Form={PREFIX:"prefix",INFIX:"infix",POSTFIX:"postfix"},n.LineBreak={AUTO:"auto",NEWLINE:"newline",NOBREAK:"nobreak",GOODBREAK:"goodbreak",BADBREAK:"badbreak"},n.LineBreakStyle={BEFORE:"before",AFTER:"after",DUPLICATE:"duplicate",INFIXLINBREAKSTYLE:"infixlinebreakstyle"},n.IndentAlign={LEFT:"left",CENTER:"center",RIGHT:"right",AUTO:"auto",ID:"id",INDENTALIGN:"indentalign"},n.IndentShift={INDENTSHIFT:"indentshift"},n.LineThickness={THIN:"thin",MEDIUM:"medium",THICK:"thick"},n.Notation={LONGDIV:"longdiv",ACTUARIAL:"actuarial",PHASORANGLE:"phasorangle",RADICAL:"radical",BOX:"box",ROUNDEDBOX:"roundedbox",CIRCLE:"circle",LEFT:"left",RIGHT:"right",TOP:"top",BOTTOM:"bottom",UPDIAGONALSTRIKE:"updiagonalstrike",DOWNDIAGONALSTRIKE:"downdiagonalstrike",VERTICALSTRIKE:"verticalstrike",HORIZONTALSTRIKE:"horizontalstrike",NORTHEASTARROW:"northeastarrow",MADRUWB:"madruwb",UPDIAGONALARROW:"updiagonalarrow"},n.Align={TOP:"top",BOTTOM:"bottom",CENTER:"center",BASELINE:"baseline",AXIS:"axis",LEFT:"left",RIGHT:"right"},n.Lines={NONE:"none",SOLID:"solid",DASHED:"dashed"},n.Side={LEFT:"left",RIGHT:"right",LEFTOVERLAP:"leftoverlap",RIGHTOVERLAP:"rightoverlap"},n.Width={AUTO:"auto",FIT:"fit"},n.Actiontype={TOGGLE:"toggle",STATUSLINE:"statusline",TOOLTIP:"tooltip",INPUT:"input"},n.Length={VERYVERYTHINMATHSPACE:"veryverythinmathspace",VERYTHINMATHSPACE:"verythinmathspace",THINMATHSPACE:"thinmathspace",MEDIUMMATHSPACE:"mediummathspace",THICKMATHSPACE:"thickmathspace",VERYTHICKMATHSPACE:"verythickmathspace",VERYVERYTHICKMATHSPACE:"veryverythickmathspace",NEGATIVEVERYVERYTHINMATHSPACE:"negativeveryverythinmathspace",NEGATIVEVERYTHINMATHSPACE:"negativeverythinmathspace",NEGATIVETHINMATHSPACE:"negativethinmathspace",NEGATIVEMEDIUMMATHSPACE:"negativemediummathspace",NEGATIVETHICKMATHSPACE:"negativethickmathspace",NEGATIVEVERYTHICKMATHSPACE:"negativeverythickmathspace",NEGATIVEVERYVERYTHICKMATHSPACE:"negativeveryverythickmathspace"},n.Overflow={LINBREAK:"linebreak",SCROLL:"scroll",ELIDE:"elide",TRUNCATE:"truncate",SCALE:"scale"},n.Unit={EM:"em",EX:"ex",PX:"px",IN:"in",CM:"cm",MM:"mm",PT:"pt",PC:"pc"}},function(t,e,r){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),d=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),o=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)o.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},m=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},l=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(d(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var y=r(22),i=r(2),o=(Object.defineProperty(s.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),s.prototype.parserFor=function(t){return this.contains(t)?this.parser:null},s.prototype.parse=function(t){var e=d(t,2),r=e[0],n=e[1],a=this.parserFor(n),i=this.lookup(n);return a&&i?a(r,i)||!0:null},Object.defineProperty(s.prototype,"parser",{get:function(){return this._parser},set:function(t){this._parser=t},enumerable:!0,configurable:!0}),s);function s(t,e){this._name=t,this._parser=e,i.MapHandler.register(this)}e.AbstractSymbolMap=o;var u,c=(a(p,u=o),p.prototype.contains=function(t){return this._regExp.test(t)},p.prototype.lookup=function(t){return this.contains(t)?t:null},p);function p(t,e,r){var n=u.call(this,t,e)||this;return n._regExp=r,n}e.RegExpMap=c;var f,h=(a(g,f=o),g.prototype.lookup=function(t){return this.map.get(t)},g.prototype.contains=function(t){return this.map.has(t)},g.prototype.add=function(t,e){this.map.set(t,e)},g);function g(){var t=null!==f&&f.apply(this,arguments)||this;return t.map=new Map,t}e.AbstractParseMap=h;var v,b=(a(T,v=h),T);function T(t,e,r){var n,a,i=v.call(this,t,e)||this;try{for(var o=m(Object.keys(r)),s=o.next();!s.done;s=o.next()){var l=s.value,u=r[l],c=d("string"==typeof u?[u,null]:u,2),p=c[0],f=c[1],h=new y.Symbol(l,p,f);i.add(l,h)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}return i}e.CharacterMap=b;var S,x=(a(P,S=b),P.prototype.parse=function(t){var e=d(t,2),r=e[0],n=e[1];return S.prototype.parse.call(this,[r,"\\"+n])},P);function P(){return null!==S&&S.apply(this,arguments)||this}e.DelimiterMap=x;var M,A=(a(O,M=h),O.prototype.parserFor=function(t){var e=this.lookup(t);return e?e.func:null},O.prototype.parse=function(t){var e=d(t,2),r=e[0],n=e[1],a=this.lookup(n),i=this.parserFor(n);return a&&i?i.apply(void 0,l([r,a.symbol],a.args))||!0:null},O);function O(t,e,r){var n,a,i=M.call(this,t,null)||this;try{for(var o=m(Object.keys(e)),s=o.next();!s.done;s=o.next()){var l=s.value,u=e[l],c=d("string"==typeof u?[u]:u),p=c[0],f=c.slice(1),h=new y.Macro(l,r[p],f);i.add(l,h)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}return i}e.MacroMap=A;var E,C=(a(w,E=A),w.prototype.parse=function(t){var e=d(t,2),r=e[0],n=e[1],a=this.lookup(n),i=this.parserFor(n);if(!a||!i)return null;if(["\\"+a.symbol].concat(a.args),!i)return null;var o=r.currentCS;r.currentCS="\\"+n;var s=i.apply(void 0,l([r,"\\"+a.symbol],a.args));return r.currentCS=o,s||!0},w);function w(){return null!==E&&E.apply(this,arguments)||this}e.CommandMap=C;var k,_=(a(I,k=A),I.prototype.parse=function(t){var e=d(t,2),r=e[0],n=e[1],a=this.lookup(n),i=this.parserFor(n);return a&&i?(this.parser(r,a.symbol,i,a.args),!0):null},I);function I(t,e,r,n){var a=k.call(this,t,r,n)||this;return a.parser=e,a}e.EnvironmentMap=_},function(t,e,r){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),o=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)o.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},o=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(i(arguments[e]));return t},s=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var l=r(1),u=(Object.defineProperty(c.prototype,"nodes",{get:function(){return this._nodes},enumerable:!0,configurable:!0}),c.prototype.Push=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];(t=this._nodes).push.apply(t,o(e))},c.prototype.Pop=function(){return this._nodes.pop()},Object.defineProperty(c.prototype,"First",{get:function(){return this._nodes[this.Size()-1]},set:function(t){this._nodes[this.Size()-1]=t},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"Last",{get:function(){return this._nodes[0]},set:function(t){this._nodes[0]=t},enumerable:!0,configurable:!0}),c.prototype.Peek=function(t){return null==t&&(t=1),this._nodes.slice(this.Size()-t)},c.prototype.Size=function(){return this._nodes.length},c.prototype.Clear=function(){this._nodes=[]},c.prototype.toMml=function(t,e){return void 0===t&&(t=!0),1!==this._nodes.length||e?this.create("node",t?"inferredMrow":"mrow",this._nodes,{}):this.First},c.prototype.create=function(t){for(var e,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return(e=this.factory.configuration.nodeFactory).create.apply(e,o([t],r))},c);function c(t){this._nodes=t}e.MmlStack=u;var p,f=(a(h,p=u),Object.defineProperty(h.prototype,"kind",{get:function(){return"base"},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"env",{get:function(){return this._env},set:function(t){this._env=t},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"copyEnv",{get:function(){return!0},enumerable:!0,configurable:!0}),h.prototype.getProperty=function(t){return this._properties[t]},h.prototype.setProperty=function(t,e){return this._properties[t]=e,this},Object.defineProperty(h.prototype,"isOpen",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"isClose",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"isFinal",{get:function(){return!1},enumerable:!0,configurable:!0}),h.prototype.isKind=function(t){return t===this.kind},h.prototype.checkItem=function(t){if(t.isKind("over")&&this.isOpen&&(t.setProperty("num",this.toMml(!1)),this.Clear()),t.isKind("cell")&&this.isOpen){if(t.getProperty("linebreak"))return h.fail;throw new l.default("Misplaced","Misplaced %1",t.getName())}if(t.isClose&&this.getErrors(t.kind)){var e=i(this.getErrors(t.kind),2),r=e[0],n=e[1];throw new l.default(r,n,t.getName())}return t.isFinal?(this.Push(t.First),h.fail):h.success},h.prototype.clearEnv=function(){var e,t;try{for(var r=s(Object.keys(this.env)),n=r.next();!n.done;n=r.next()){var a=n.value;delete this.env[a]}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},h.prototype.setProperties=function(t){return Object.assign(this._properties,t),this},h.prototype.getName=function(){return this.getProperty("name")},h.prototype.toString=function(){return this.kind+"["+this.nodes.join("; ")+"]"},h.prototype.getErrors=function(t){return(this.constructor.errors||{})[t]||h.errors[t]},h.fail=[null,!1],h.success=[null,!0],h.errors={end:["MissingBeginExtraEnd","Missing \\begin{%1} or extra \\end{%1}"],close:["ExtraCloseMissingOpen","Extra close brace or missing open brace"],right:["MissingLeftExtraRight","Missing \\left or extra \\right"]},h);function h(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=p.call(this,e)||this;return n.factory=t,n.global={},n._properties={},n.isOpen&&(n._env={}),n}e.BaseItem=f},function(t,e,r){"use strict";var g=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),o=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)o.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},_=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var v,n,a,i=r(13),o=r(2),I=r(7),s=r(10),u=r(2),b=r(33),l=(c.create=function(t,e){return void 0===e&&(e={}),new c(t,e.handler||{},e.fallback||{},e.items||{},e.tags||{},e.options||{},e.nodes||{},e.preprocessors||[],e.postprocessors||[],[e.init,e.priority],[e.config,e.configPriority])},c.empty=function(){return c.create("empty")},c.extension=function(){return new s.MacroMap(o.ExtensionMaps.NEW_MACRO,{},{}),new s.DelimiterMap(o.ExtensionMaps.NEW_DELIMITER,i.default.delimiter,{}),new s.CommandMap(o.ExtensionMaps.NEW_COMMAND,{},{}),new s.EnvironmentMap(o.ExtensionMaps.NEW_ENVIRONMENT,i.default.environment,{},{}),c.create("extension",{handler:{character:[],delimiter:[o.ExtensionMaps.NEW_DELIMITER],macro:[o.ExtensionMaps.NEW_DELIMITER,o.ExtensionMaps.NEW_COMMAND,o.ExtensionMaps.NEW_MACRO],environment:[o.ExtensionMaps.NEW_ENVIRONMENT]}})},c.prototype.init=function(t){this.initMethod.execute(t)},c.prototype.config=function(t,e){var r,n,a,i;this.configMethod.execute(t,e);try{for(var o=_(this.preprocessors),s=o.next();!s.done;s=o.next()){var l=s.value;"function"==typeof l?e.preFilters.add(l):e.preFilters.add(l[0],l[1])}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}try{for(var u=_(this.postprocessors),c=u.next();!c.done;c=u.next()){var p=c.value;"function"==typeof p?e.postFilters.add(p):e.postFilters.add(p[0],p[1])}}catch(t){a={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(a)throw a.error}}},c.prototype.append=function(t){var e,r,n,a,i,o,s,l,u,c,p,f,h=Object.keys(t.handler);try{for(var d=_(h),m=d.next();!m.done;m=d.next()){var y=m.value;try{for(var g=(n=void 0,_(t.handler[y])),v=g.next();!v.done;v=g.next()){var b=v.value;this.handler[y].unshift(b)}}catch(t){n={error:t}}finally{try{v&&!v.done&&(a=g.return)&&a.call(g)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{m&&!m.done&&(r=d.return)&&r.call(d)}finally{if(e)throw e.error}}Object.assign(this.fallback,t.fallback),Object.assign(this.items,t.items),Object.assign(this.tags,t.tags),I.defaultOptions(this.options,t.options),Object.assign(this.nodes,t.nodes);try{for(var T=_(t.preprocessors),S=T.next();!S.done;S=T.next()){var x=S.value;this.preprocessors.push(x)}}catch(t){i={error:t}}finally{try{S&&!S.done&&(o=T.return)&&o.call(T)}finally{if(i)throw i.error}}try{for(var P=_(t.postprocessors),M=P.next();!M.done;M=P.next()){var A=M.value;this.postprocessors.push(A)}}catch(t){s={error:t}}finally{try{M&&!M.done&&(l=P.return)&&l.call(P)}finally{if(s)throw s.error}}try{for(var O=_(t.initMethod),E=O.next();!E.done;E=O.next()){var C=E.value;this.initMethod.add(C.item,C.priority)}}catch(t){u={error:t}}finally{try{E&&!E.done&&(c=O.return)&&c.call(O)}finally{if(u)throw u.error}}try{for(var w=_(t.configMethod),k=w.next();!k.done;k=w.next())C=k.value,this.configMethod.add(C.item,C.priority)}catch(t){p={error:t}}finally{try{k&&!k.done&&(f=w.return)&&f.call(w)}finally{if(p)throw p.error}}},c.prototype.register=function(t,e,r){var n,a;void 0===r&&(r={}),this.append(t),t.init(this);var i=e.parseOptions;i.handlers=new u.SubHandlers(this),i.nodeFactory.setCreators(t.nodes);try{for(var o=_(Object.keys(t.items)),s=o.next();!s.done;s=o.next()){var l=s.value;i.itemFactory.setNodeClass(l,t.items[l])}}catch(t){n={error:t}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}I.defaultOptions(i.options,t.options),I.userOptions(i.options,r),t.config(this,e)},c);function c(t,e,r,n,a,i,o,s,l,u,c){void 0===e&&(e={}),void 0===r&&(r={}),void 0===n&&(n={}),void 0===a&&(a={}),void 0===i&&(i={}),void 0===o&&(o={}),void 0===s&&(s=[]),void 0===l&&(l=[]);var p=g(u,2),f=p[0],h=p[1],d=g(c,2),m=d[0],y=d[1];this.name=t,this.handler=e,this.fallback=r,this.items=n,this.tags=a,this.options=i,this.nodes=o,this.preprocessors=s,this.postprocessors=l,this.initMethod=new b.FunctionList,this.configMethod=new b.FunctionList,f&&this.initMethod.add(f,h||0),m&&this.configMethod.add(m,y||h||0),this.handler=Object.assign({character:[],delimiter:[],macro:[],environment:[]},e),v.set(t,this)}e.Configuration=l,n=v=e.ConfigurationHandler||(e.ConfigurationHandler={}),a=new Map,n.set=function(t,e){a.set(t,e)},n.get=function(t){return a.get(t)},n.keys=function(){return a.keys()}},function(t,e,r){"use strict";var n=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),o=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)o.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},o=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(n(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var a,i,s=r(0),l=r(9),u=r(6);(i=a=a||{}).variable=function(t,e){var r=u.default.getFontDef(t),n=t.create("token","mi",r,e);t.Push(n)},i.digit=function(t,e){var r,n=t.configuration.options.digits,a=t.string.slice(t.i-1).match(n),i=u.default.getFontDef(t);a?(r=t.create("token","mn",i,a[0].replace(/[{}]/g,"")),t.i+=a[0].length-1):r=t.create("token","mo",i,e),t.Push(r)},i.controlSequence=function(t,e){var r=t.GetCS();t.parse("macro",[t,r])},i.mathchar0mi=function(t,e){var r=e.attributes||{mathvariant:l.TexConstant.Variant.ITALIC},n=t.create("token","mi",r,e.char);t.Push(n)},i.mathchar0mo=function(t,e){var r=e.attributes||{};r.stretchy=!1;var n=t.create("token","mo",r,e.char);s.default.setProperty(n,"fixStretchy",!0),t.configuration.addNode("fixStretchy",n),t.Push(n)},i.mathchar7=function(t,e){var r=e.attributes||{mathvariant:l.TexConstant.Variant.NORMAL};t.stack.env.font&&(r.mathvariant=t.stack.env.font);var n=t.create("token","mi",r,e.char);t.Push(n)},i.delimiter=function(t,e){var r=e.attributes||{};r=Object.assign({fence:!1,stretchy:!1},r);var n=t.create("token","mo",r,e.char);t.Push(n)},i.environment=function(t,e,r,n){var a=n[0],i=t.itemFactory.create("begin").setProperties({name:e,end:a});i=r.apply(void 0,o([t,i],n.slice(1))),t.Push(i)},e.default=a},function(t,e,r){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),o=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)o.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},o=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(i(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var s,l=r(2),u=r(4),c=r(3),p=r(1),f=r(6),h=r(0),d=r(11),m=(s=d.BaseItem,a(y,s),Object.defineProperty(y.prototype,"kind",{get:function(){return"start"},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"isOpen",{get:function(){return!0},enumerable:!0,configurable:!0}),y.prototype.checkItem=function(t){if(t.isKind("stop")){var e=this.toMml();return this.global.isInner||(e=this.factory.configuration.tags.finalize(e,this.env)),[[this.factory.create("mml",e)],!0]}return s.prototype.checkItem.call(this,t)},y);function y(t,e){var r=s.call(this,t)||this;return r.global=e,r}e.StartItem=m;var g,v=(g=d.BaseItem,a(b,g),Object.defineProperty(b.prototype,"kind",{get:function(){return"stop"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"isClose",{get:function(){return!0},enumerable:!0,configurable:!0}),b);function b(){return null!==g&&g.apply(this,arguments)||this}e.StopItem=v;var T,S=(T=d.BaseItem,a(x,T),Object.defineProperty(x.prototype,"kind",{get:function(){return"open"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"isOpen",{get:function(){return!0},enumerable:!0,configurable:!0}),x.prototype.checkItem=function(t){if(t.isKind("close")){var e=this.toMml(),r=this.create("node","TeXAtom",[e]);return[[this.factory.create("mml",r)],!0]}return T.prototype.checkItem.call(this,t)},x.errors=Object.assign(Object.create(d.BaseItem.errors),{stop:["ExtraOpenMissingClose","Extra open brace or missing close brace"]}),x);function x(){return null!==T&&T.apply(this,arguments)||this}e.OpenItem=S;var P,M=(P=d.BaseItem,a(A,P),Object.defineProperty(A.prototype,"kind",{get:function(){return"close"},enumerable:!0,configurable:!0}),Object.defineProperty(A.prototype,"isClose",{get:function(){return!0},enumerable:!0,configurable:!0}),A);function A(){return null!==P&&P.apply(this,arguments)||this}e.CloseItem=M;var O,E=(O=d.BaseItem,a(C,O),Object.defineProperty(C.prototype,"kind",{get:function(){return"prime"},enumerable:!0,configurable:!0}),C.prototype.checkItem=function(t){var e=i(this.Peek(2),2),r=e[0],n=e[1];return!h.default.isType(r,"msubsup")||h.default.isType(r,"msup")?[[this.create("node","msup",[r,n]),t],!0]:(h.default.setChild(r,r.sup,n),[[r,t],!0])},C);function C(){return null!==O&&O.apply(this,arguments)||this}e.PrimeItem=E;var w,k=(w=d.BaseItem,a(_,w),Object.defineProperty(_.prototype,"kind",{get:function(){return"subsup"},enumerable:!0,configurable:!0}),_.prototype.checkItem=function(t){if(t.isKind("open")||t.isKind("left"))return d.BaseItem.success;var e=this.First,r=this.getProperty("position");if(t.isKind("mml")){if(this.getProperty("primes"))if(2!==r)h.default.setChild(e,2,this.getProperty("primes"));else{h.default.setProperty(this.getProperty("primes"),"variantForm",!0);var n=this.create("node","mrow",[this.getProperty("primes"),t.First]);t.First=n}return h.default.setChild(e,r,t.First),null!=this.getProperty("movesupsub")&&h.default.setProperty(e,"movesupsub",this.getProperty("movesupsub")),[[this.factory.create("mml",e)],!0]}if(w.prototype.checkItem.call(this,t)[1]){var a=this.getErrors(["","sub","sup"][r]);throw new(p.default.bind.apply(p.default,o([void 0,a[0],a[1]],a.splice(2))))}},_.errors=Object.assign(Object.create(d.BaseItem.errors),{stop:["MissingScript","Missing superscript or subscript argument"],sup:["MissingOpenForSup","Missing open brace for superscript"],sub:["MissingOpenForSub","Missing open brace for subscript"]}),_);function _(){return null!==w&&w.apply(this,arguments)||this}e.SubsupItem=k;var I,N=(I=d.BaseItem,a(L,I),Object.defineProperty(L.prototype,"kind",{get:function(){return"over"},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"isClose",{get:function(){return!0},enumerable:!0,configurable:!0}),L.prototype.checkItem=function(t){if(t.isKind("over"))throw new p.default("AmbiguousUseOf","Ambiguous use of %1",t.getName());if(t.isClose){var e=this.create("node","mfrac",[this.getProperty("num"),this.toMml(!1)]);return null!=this.getProperty("thickness")&&h.default.setAttribute(e,"linethickness",this.getProperty("thickness")),(this.getProperty("open")||this.getProperty("close"))&&(h.default.setProperty(e,"withDelims",!0),e=f.default.fixedFence(this.factory.configuration,this.getProperty("open"),e,this.getProperty("close"))),[[this.factory.create("mml",e),t],!0]}return I.prototype.checkItem.call(this,t)},L.prototype.toString=function(){return"over["+this.getProperty("num")+" / "+this.nodes.join("; ")+"]"},L);function L(t){var e=I.call(this,t)||this;return e.setProperty("name","\\over"),e}e.OverItem=N;var F,R=(F=d.BaseItem,a(j,F),Object.defineProperty(j.prototype,"kind",{get:function(){return"left"},enumerable:!0,configurable:!0}),Object.defineProperty(j.prototype,"isOpen",{get:function(){return!0},enumerable:!0,configurable:!0}),j.prototype.checkItem=function(t){return t.isKind("right")?[[this.factory.create("mml",f.default.fenced(this.factory.configuration,this.getProperty("delim"),this.toMml(),t.getProperty("delim")))],!0]:F.prototype.checkItem.call(this,t)},j.errors=Object.assign(Object.create(d.BaseItem.errors),{stop:["ExtraLeftMissingRight","Extra \\left or missing \\right"]}),j);function j(t){var e=F.call(this,t)||this;return e.setProperty("delim","("),e}e.LeftItem=R;var B,D=(B=d.BaseItem,a(X,B),Object.defineProperty(X.prototype,"kind",{get:function(){return"right"},enumerable:!0,configurable:!0}),Object.defineProperty(X.prototype,"isClose",{get:function(){return!0},enumerable:!0,configurable:!0}),X);function X(t){var e=B.call(this,t)||this;return e.setProperty("delim",")"),e}e.RightItem=D;var q,H=(q=d.BaseItem,a(G,q),Object.defineProperty(G.prototype,"kind",{get:function(){return"begin"},enumerable:!0,configurable:!0}),Object.defineProperty(G.prototype,"isOpen",{get:function(){return!0},enumerable:!0,configurable:!0}),G.prototype.checkItem=function(t){if(t.isKind("end")){if(t.getName()!==this.getName())throw new p.default("EnvBadEnd","\\begin{%1} ended with \\end{%2}",this.getName(),t.getName());return this.getProperty("end")?d.BaseItem.fail:[[this.factory.create("mml",this.toMml())],!0]}if(t.isKind("stop"))throw new p.default("EnvMissingEnd","Missing \\end{%1}",this.getName());return q.prototype.checkItem.call(this,t)},G);function G(){return null!==q&&q.apply(this,arguments)||this}e.BeginItem=H;var U,V=(U=d.BaseItem,a(J,U),Object.defineProperty(J.prototype,"kind",{get:function(){return"end"},enumerable:!0,configurable:!0}),Object.defineProperty(J.prototype,"isClose",{get:function(){return!0},enumerable:!0,configurable:!0}),J);function J(){return null!==U&&U.apply(this,arguments)||this}e.EndItem=V;var K,z=(K=d.BaseItem,a($,K),Object.defineProperty($.prototype,"kind",{get:function(){return"style"},enumerable:!0,configurable:!0}),$.prototype.checkItem=function(t){if(!t.isClose)return K.prototype.checkItem.call(this,t);var e=this.create("node","mstyle",this.nodes,this.getProperty("styles"));return[[this.factory.create("mml",e),t],!0]},$);function $(){return null!==K&&K.apply(this,arguments)||this}e.StyleItem=z;var W,Y=(W=d.BaseItem,a(Z,W),Object.defineProperty(Z.prototype,"kind",{get:function(){return"position"},enumerable:!0,configurable:!0}),Z.prototype.checkItem=function(t){if(t.isClose)throw new p.default("MissingBoxFor","Missing box for %1",this.getName());if(t.isFinal){var e=t.toMml();switch(this.getProperty("move")){case"vertical":return e=this.create("node","mpadded",[e],{height:this.getProperty("dh"),depth:this.getProperty("dd"),voffset:this.getProperty("dh")}),[[this.factory.create("mml",e)],!0];case"horizontal":return[[this.factory.create("mml",this.getProperty("left")),t,this.factory.create("mml",this.getProperty("right"))],!0]}}return W.prototype.checkItem.call(this,t)},Z);function Z(){return null!==W&&W.apply(this,arguments)||this}e.PositionItem=Y;var Q,tt=(Q=d.BaseItem,a(et,Q),Object.defineProperty(et.prototype,"kind",{get:function(){return"cell"},enumerable:!0,configurable:!0}),Object.defineProperty(et.prototype,"isClose",{get:function(){return!0},enumerable:!0,configurable:!0}),et);function et(){return null!==Q&&Q.apply(this,arguments)||this}e.CellItem=tt;var rt,nt=(rt=d.BaseItem,a(at,rt),Object.defineProperty(at.prototype,"isFinal",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(at.prototype,"kind",{get:function(){return"mml"},enumerable:!0,configurable:!0}),at);function at(){return null!==rt&&rt.apply(this,arguments)||this}e.MmlItem=nt;var it,ot=(it=d.BaseItem,a(st,it),Object.defineProperty(st.prototype,"kind",{get:function(){return"fn"},enumerable:!0,configurable:!0}),st.prototype.checkItem=function(t){var e=this.First;if(e){if(t.isOpen)return d.BaseItem.success;if(!t.isKind("fn")){var r=t.First;if(!t.isKind("mml")||!r)return[[e,t],!0];if(h.default.isType(r,"mstyle")&&r.childNodes.length&&h.default.isType(r.childNodes[0].childNodes[0],"mspace")||h.default.isType(r,"mspace"))return[[e,t],!0];h.default.isEmbellished(r)&&(r=h.default.getCoreMO(r));var n=h.default.getForm(r);if(null!=n&&[0,0,1,1,0,1,1,0,0,0][n[2]])return[[e,t],!0]}return[[e,this.create("token","mo",{texClass:c.TEXCLASS.NONE},u.entities.ApplyFunction),t],!0]}return it.prototype.checkItem.apply(this,arguments)},st);function st(){return null!==it&&it.apply(this,arguments)||this}e.FnItem=ot;var lt,ut=(lt=d.BaseItem,a(ct,lt),Object.defineProperty(ct.prototype,"kind",{get:function(){return"not"},enumerable:!0,configurable:!0}),ct.prototype.checkItem=function(t){var e,r,n;if(t.isKind("open")||t.isKind("left"))return d.BaseItem.success;if(t.isKind("mml")&&(h.default.isType(t.First,"mo")||h.default.isType(t.First,"mi")||h.default.isType(t.First,"mtext"))&&(e=t.First,1===(r=h.default.getText(e)).length&&!h.default.getProperty(e,"movesupsub")&&1===h.default.getChildren(e).length))return this.remap.contains(r)?(n=this.create("text",this.remap.lookup(r).char),h.default.setChild(e,0,n)):(n=this.create("text","\u0338"),h.default.appendChildren(e,[n])),[[t],!0];n=this.create("text","\u29f8");var a=this.create("node","mtext",[],{},n),i=this.create("node","mpadded",[a],{width:0});return[[e=this.create("node","TeXAtom",[i],{texClass:c.TEXCLASS.REL}),t],!0]},ct);function ct(){var t=null!==lt&&lt.apply(this,arguments)||this;return t.remap=l.MapHandler.getMap("not_remap"),t}e.NotItem=ut;var pt,ft=(pt=d.BaseItem,a(ht,pt),Object.defineProperty(ht.prototype,"kind",{get:function(){return"dots"},enumerable:!0,configurable:!0}),ht.prototype.checkItem=function(t){if(t.isKind("open")||t.isKind("left"))return d.BaseItem.success;var e=this.getProperty("ldots"),r=t.First;if(t.isKind("mml")&&h.default.isEmbellished(r)){var n=h.default.getTexClass(h.default.getCoreMO(r));n!==c.TEXCLASS.BIN&&n!==c.TEXCLASS.REL||(e=this.getProperty("cdots"))}return[[e,t],!0]},ht);function ht(){return null!==pt&&pt.apply(this,arguments)||this}e.DotsItem=ft;var dt,mt=(dt=d.BaseItem,a(yt,dt),Object.defineProperty(yt.prototype,"kind",{get:function(){return"array"},enumerable:!0,configurable:!0}),Object.defineProperty(yt.prototype,"isOpen",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(yt.prototype,"copyEnv",{get:function(){return!1},enumerable:!0,configurable:!0}),yt.prototype.checkItem=function(t){if(!t.isClose||t.isKind("over"))return dt.prototype.checkItem.call(this,t);if(t.getProperty("isEntry"))return this.EndEntry(),this.clearEnv(),d.BaseItem.fail;if(t.getProperty("isCR"))return this.EndEntry(),this.EndRow(),this.clearEnv(),d.BaseItem.fail;this.EndTable(),this.clearEnv();var e=this.arraydef.scriptlevel;delete this.arraydef.scriptlevel;var r=this.create("node","mtable",this.table,this.arraydef);4===this.frame.length?h.default.setAttribute(r,"frame",this.dashed?"dashed":"solid"):this.frame.length&&(this.arraydef.rowlines&&(this.arraydef.rowlines=this.arraydef.rowlines.replace(/none( none)+$/,"none")),r=this.create("node","menclose",[r],{notation:this.frame.join(" "),isFrame:!0}),"none"===(this.arraydef.columnlines||"none")&&"none"===(this.arraydef.rowlines||"none")||h.default.setAttribute(r,"padding",0)),e&&(r=this.create("node","mstyle",[r],{scriptlevel:e})),(this.getProperty("open")||this.getProperty("close"))&&(r=f.default.fenced(this.factory.configuration,this.getProperty("open"),r,this.getProperty("close")));var n=this.factory.create("mml",r);if(this.getProperty("requireClose")){if(t.isKind("close"))return[[n],!0];throw new p.default("MissingCloseBrace","Missing close brace")}return[[n,t],!0]},yt.prototype.EndEntry=function(){var t=this.create("node","mtd",this.nodes);this.hfill.length&&(0===this.hfill[0]&&h.default.setAttribute(t,"columnalign","right"),this.hfill[this.hfill.length-1]===this.Size()&&h.default.setAttribute(t,"columnalign",h.default.getAttribute(t,"columnalign")?"center":"left")),this.row.push(t),this.Clear(),this.hfill=[]},yt.prototype.EndRow=function(){var t;t=this.getProperty("isNumbered")&&3===this.row.length?(this.row.unshift(this.row.pop()),this.create("node","mlabeledtr",this.row)):this.create("node","mtr",this.row),this.table.push(t),this.row=[]},yt.prototype.EndTable=function(){(this.Size()||this.row.length)&&(this.EndEntry(),this.EndRow()),this.checkLines()},yt.prototype.checkLines=function(){if(this.arraydef.rowlines){var t=this.arraydef.rowlines.split(/ /);t.length===this.table.length?(this.frame.push("bottom"),t.pop(),this.arraydef.rowlines=t.join(" ")):t.length<this.table.length-1&&(this.arraydef.rowlines+=" none")}if(this.getProperty("rowspacing")){for(var e=this.arraydef.rowspacing.split(/ /);e.length<this.table.length;)e.push(this.getProperty("rowspacing")+"em");this.arraydef.rowspacing=e.join(" ")}},yt);function yt(){var t=null!==dt&&dt.apply(this,arguments)||this;return t.table=[],t.row=[],t.frame=[],t.hfill=[],t.arraydef={},t.dashed=!1,t}e.ArrayItem=mt;var gt,vt=(a(bt,gt=mt),Object.defineProperty(bt.prototype,"kind",{get:function(){return"eqnarray"},enumerable:!0,configurable:!0}),bt.prototype.EndEntry=function(){this.row.length&&f.default.fixInitialMO(this.factory.configuration,this.nodes);var t=this.create("node","mtd",this.nodes);this.row.push(t),this.Clear()},bt.prototype.EndRow=function(){var t="mtr",e=this.factory.configuration.tags.getTag();e&&(this.row=[e].concat(this.row),t="mlabeledtr"),this.factory.configuration.tags.clearTag();var r=this.create("node",t,this.row);this.table.push(r),this.row=[]},bt.prototype.EndTable=function(){gt.prototype.EndTable.call(this),this.factory.configuration.tags.end()},bt);function bt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=gt.call(this,t)||this;return n.factory.configuration.tags.start(e[0],e[2],e[1]),n}e.EqnArrayItem=vt;var Tt,St=(Tt=d.BaseItem,a(xt,Tt),Object.defineProperty(xt.prototype,"kind",{get:function(){return"equation"},enumerable:!0,configurable:!0}),Object.defineProperty(xt.prototype,"isOpen",{get:function(){return!0},enumerable:!0,configurable:!0}),xt.prototype.checkItem=function(t){if(t.isKind("end")){var e=this.toMml(),r=this.factory.configuration.tags.getTag();return this.factory.configuration.tags.end(),[[r?this.factory.configuration.tags.enTag(e,r):e,t],!0]}if(t.isKind("stop"))throw new p.default("EnvMissingEnd","Missing \\end{%1}",this.getName());return Tt.prototype.checkItem.call(this,t)},xt);function xt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=Tt.call(this,t)||this;return n.factory.configuration.tags.start("equation",!0,e[0]),n}e.EquationItem=St},function(t,e,r){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)},u=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),o=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)o.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},l=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var o=r(27),c=r(7),p=r(16),f=r(17),s=r(0),h=r(5),d=r(1),m=r(19),y=r(8),g=r(12);r(23);var v,b=(v=o.AbstractInputJax,a(T,v),T.configure=function(t){var e,r,n=g.Configuration.empty();try{for(var a=l(t),i=a.next();!i.done;i=a.next()){var o=i.value,s=g.ConfigurationHandler.get(o);s&&n.append(s)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return n.init(n),n},T.tags=function(t,e){y.TagsFactory.addTags(e.tags),y.TagsFactory.setDefault(t.options.tags),t.tags=y.TagsFactory.getDefault(),t.tags.configuration=t},T.prototype.setMmlFactory=function(t){v.prototype.setMmlFactory.call(this,t),this._parseOptions.nodeFactory.setMmlFactory(t)},Object.defineProperty(T.prototype,"parseOptions",{get:function(){return this._parseOptions},enumerable:!0,configurable:!0}),T.prototype.compile=function(t,e){this.parseOptions.clear(),this.executeFilters(this.preFilters,t,e,this.parseOptions);var r,n=t.display;this.latex=t.math,this.parseOptions.tags.startEquation(t);try{r=new h.default(this.latex,{display:n,isInner:!1},this.parseOptions).mml()}catch(t){if(!(t instanceof d.default))throw t;this.parseOptions.error=!0,r=this.formatError(t)}return r=this.parseOptions.nodeFactory.create("node","math",[r]),n&&s.default.setAttribute(r,"display","block"),this.parseOptions.tags.finishEquation(t),this.parseOptions.root=r,this.executeFilters(this.postFilters,t,e,this.parseOptions),this.mathNode=this.parseOptions.root,this.mathNode},T.prototype.findMath=function(t){return this.findTeX.findMath(t)},T.prototype.formatError=function(t){var e=t.message.replace(/\n.*/,"");return this.parseOptions.nodeFactory.create("error",e,t.id,this.latex)},T.NAME="TeX",T.OPTIONS=i(i({},o.AbstractInputJax.OPTIONS),{FindTeX:null,packages:["base"],digits:/^(?:[0-9]+(?:\{,\}[0-9]{3})*(?:\.[0-9]*)?|\.[0-9]+)/,maxBuffer:5120}),T);function T(t){void 0===t&&(t={});var e=this,r=u(c.separateOptions(t,T.OPTIONS,p.FindTeX.OPTIONS),3),n=r[0],a=r[1],i=r[2];(e=v.call(this,a)||this).findTeX=e.options.FindTeX||new p.FindTeX(i);var o=e.options.packages,s=e.configuration=T.configure(o),l=e._parseOptions=new m.default(s,[e.options,y.TagsFactory.OPTIONS]);return c.userOptions(l.options,n),s.config(s,e),T.tags(l,s),e.postFilters.add(f.default.cleanSubSup,-6),e.postFilters.add(f.default.setInherited,-5),e.postFilters.add(f.default.moveLimits,-4),e.postFilters.add(f.default.cleanStretchy,-3),e.postFilters.add(f.default.cleanAttributes,-2),e.postFilters.add(f.default.combineRelations,-1),e}e.TeX=b},function(t,e,r){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),o=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)o.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o};Object.defineProperty(e,"__esModule",{value:!0});var i,o=r(28),s=r(29),f=r(30),l=(i=o.AbstractFindMath,a(u,i),u.prototype.getPatterns=function(){var e=this,t=this.options,r=[],n=[],a=[];this.end={},this.env=this.sub=0;var i=1;t.inlineMath.forEach(function(t){return e.addPattern(r,t,!1)}),t.displayMath.forEach(function(t){return e.addPattern(r,t,!0)}),r.length&&n.push(r.sort(s.sortLength).join("|")),t.processEnvironments&&(n.push("\\\\begin\\{([^}]*)\\}"),this.env=i,i++),t.processEscapes&&a.push("\\\\([\\\\$])"),t.processRefs&&a.push("(\\\\(?:eq)?ref\\{[^}]*\\})"),a.length&&(n.push("("+a.join("|")+")"),this.sub=i),this.start=new RegExp(n.join("|"),"g"),this.hasPatterns=0<n.length},u.prototype.addPattern=function(t,e,r){var n=p(e,2),a=n[0],i=n[1];t.push(s.quotePattern(a)),this.end[a]=[i,r,this.endPattern(i)]},u.prototype.endPattern=function(t){return new RegExp(s.quotePattern(t)+"|\\\\(?:[a-zA-Z]|.)|[{}]","g")},u.prototype.findEnd=function(t,e,r,n){for(var a,i=p(n,3),o=i[0],s=i[1],l=i[2],u=l.lastIndex=r.index+r[0].length,c=0;a=l.exec(t);){if(a[0]===o&&0===c)return f.protoItem(r[0],t.substr(u,a.index-u),a[0],e,r.index,a.index+a[0].length,s);"{"===a[0]?c++:"}"===a[0]&&c&&c--}return null},u.prototype.findMathInString=function(t,e,r){var n,a;for(this.start.lastIndex=0;n=this.start.exec(r);){if(void 0!==n[this.env]&&this.env){var i="\\end{"+n[this.env]+"}";(a=this.findEnd(r,e,n,[i,!0,this.endPattern(i)]))&&(a.math=a.open+a.math+a.close,a.open=a.close="")}else if(void 0!==n[this.sub]&&this.sub){var o=n[this.sub];i=n.index+n[this.sub].length,a=2===o.length?f.protoItem("",o.substr(1),"",e,n.index,i):f.protoItem("",o,"",e,n.index,i,!1)}else a=this.findEnd(r,e,n,this.end[n[0]]);a&&(t.push(a),this.start.lastIndex=a.end.n)}},u.prototype.findMath=function(t){var e=[];if(this.hasPatterns)for(var r=0,n=t.length;r<n;r++)this.findMathInString(e,r,t[r]);return e},u.OPTIONS={inlineMath:[["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],processEscapes:!0,processEnvironments:!0,processRefs:!0},u);function u(t){var e=i.call(this,t)||this;return e.getPatterns(),e}e.FindTeX=l},function(t,e,r){"use strict";var h=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var n,d=r(3),m=r(0);!function(t){t.cleanStretchy=function(t){var e,r,n=t.data;try{for(var a=h(n.getList("fixStretchy")),i=a.next();!i.done;i=a.next()){var o=i.value;if(m.default.getProperty(o,"fixStretchy")){var s=m.default.getForm(o);s&&s[3]&&s[3].stretchy&&m.default.setAttribute(o,"stretchy",!1);var l=o.parent;if(!(m.default.getTexClass(o)||s&&s[2])){var u=n.nodeFactory.create("node","TeXAtom",[o]);l.replaceChild(u,o),u.inheritAttributesFrom(o)}m.default.removeProperties(o,"fixStretchy")}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}},t.cleanAttributes=function(t){t.data.root.walkTree(function(t,e){var r,n,a=t.attributes;if(a)try{for(var i=h(a.getExplicitNames()),o=i.next();!o.done;o=i.next()){var s=o.value;a.attributes[s]===t.attributes.getInherited(s)&&delete a.attributes[s]}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},{})},t.combineRelations=function(t){var e,r;try{for(var n=h(t.data.getList("mo")),a=n.next();!a.done;a=n.next()){var i=a.value;if(!i.getProperty("relationsCombined")&&i.parent&&(!i.parent||m.default.isType(i.parent,"mrow"))&&m.default.getTexClass(i)===d.TEXCLASS.REL){for(var o=i.parent,s=void 0,l=o.childNodes,u=l.indexOf(i)+1,c=m.default.getProperty(i,"variantForm");u<l.length&&(s=l[u])&&m.default.isType(s,"mo")&&m.default.getTexClass(s)===d.TEXCLASS.REL;){if(c!==m.default.getProperty(s,"variantForm")||!f(i,s)){null==i.attributes.getExplicit("rspace")&&m.default.setAttribute(i,"rspace","0pt"),null==s.attributes.getExplicit("lspace")&&m.default.setAttribute(s,"lspace","0pt");break}m.default.appendChildren(i,m.default.getChildren(s)),p(["stretchy","rspace"],i,s),m.default.setProperties(i,s.getAllProperties()),l.splice(u,1),s.parent=null,s.setProperty("relationsCombined",!0)}i.attributes.setInherited("form",i.getForms()[0])}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}};function r(t,e,r){var n,a;try{for(var i=h(t.getList("m"+e+r)),o=i.next();!o.done;o=i.next()){var s=o.value,l=s.childNodes;if(!l[s[e]]||!l[s[r]]){var u=s.parent,c=l[s[e]]?t.nodeFactory.create("node","m"+e,[l[s.base],l[s[e]]]):t.nodeFactory.create("node","m"+r,[l[s.base],l[s[r]]]);m.default.copyAttributes(s,c),u?u.replaceChild(c,s):t.root=c}}}catch(t){n={error:t}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}}var p=function(t,e,r){var n=e.attributes,a=r.attributes;t.forEach(function(t){var e=a.getExplicit(t);null!=e&&n.set(t,e)})},f=function(t,e){function r(e,r){return e.getExplicitNames().filter(function(t){return t!==r&&("stretchy"!==t||e.getExplicit("stretchy"))})}var n,a,i=t.attributes,o=e.attributes,s=r(i,"lspace"),l=r(o,"rspace");if(s.length!==l.length)return!1;try{for(var u=h(s),c=u.next();!c.done;c=u.next()){var p=c.value;if(i.getExplicit(p)!==o.getExplicit(p))return!1}}catch(t){n={error:t}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}return!0};t.cleanSubSup=function(t){var e=t.data;e.error||(r(e,"sub","sup"),r(e,"under","over"))};function n(t,e,r){var n,a;try{for(var i=h(t.getList(e)),o=i.next();!o.done;o=i.next()){var s=o.value;if(!s.attributes.get("displaystyle")){var l=s.childNodes[s.base],u=l.coreMO();if(l.getProperty("movablelimits")&&!u.attributes.getExplicit("movablelimits")){var c=t.nodeFactory.create("node",r,s.childNodes);m.default.copyAttributes(s,c),s.parent?s.parent.replaceChild(c,s):t.root=c}}}}catch(t){n={error:t}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}}t.moveLimits=function(t){var e=t.data;n(e,"munderover","msubsup"),n(e,"munder","msub"),n(e,"mover","msup")},t.setInherited=function(t){t.data.root.setInheritedAttributes({},t.math.display,0,!1)}}(n=n||{}),e.default=n},function(t,e,r){"use strict";var c=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},p=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),o=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)o.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},f=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(p(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var h=r(0),n=(Object.defineProperty(a.prototype,"env",{get:function(){return this._env},set:function(t){this._env=t},enumerable:!0,configurable:!0}),a.prototype.Push=function(){for(var e,t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{for(var a=c(r),i=a.next();!i.done;i=a.next()){var o=i.value;if(o){var s=h.default.isNode(o)?this._factory.create("mml",o):o;s.global=this.global;var l=p(this.stack.length?this.Top().checkItem(s):[null,!0],2),u=l[0];l[1]&&(u?(this.Pop(),this.Push.apply(this,f(u))):(this.stack.push(s),s.env?(s.copyEnv&&Object.assign(s.env,this.env),this.env=s.env):s.env=this.env))}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}},a.prototype.Pop=function(){var t=this.stack.pop();return t.isOpen||delete t.env,this.env=this.stack.length?this.Top().env:{},t},a.prototype.Top=function(t){return void 0===t&&(t=1),this.stack.length<t?null:this.stack[this.stack.length-t]},a.prototype.Prev=function(t){var e=this.Top();return t?e.First:e.Pop()},a.prototype.toString=function(){return"stack[\n  "+this.stack.join("\n  ")+"\n]"},a);function a(t,e,r){this._factory=t,this._env=e,this.global={},this.stack=[],this.global={isInner:r},this.stack=[this._factory.create("start",this.global)],e&&(this.stack[0].env=e),this.env=this.stack[0].env}e.default=n},function(t,e,r){"use strict";var n=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),o=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)o.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},a=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(n(arguments[e]));return t},l=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var i=r(20),o=r(2),s=r(21),u=r(7),c=(p.prototype.pushParser=function(t){this.parsers.unshift(t)},p.prototype.popParser=function(){this.parsers.shift()},Object.defineProperty(p.prototype,"parser",{get:function(){return this.parsers[0]},enumerable:!0,configurable:!0}),p.prototype.clear=function(){this.parsers=[],this.root=null,this.nodeLists={},this.error=!1,this.tags.resetTag()},p.prototype.addNode=function(t,e){var r=this.nodeLists[t];(r=r||(this.nodeLists[t]=[])).push(e)},p.prototype.getList=function(t){var e,r,n=this.nodeLists[t]||[],a=[];try{for(var i=l(n),o=i.next();!o.done;o=i.next()){var s=o.value;this.inTree(s)&&a.push(s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return this.nodeLists[t]=a},p.prototype.inTree=function(t){for(;t&&t!==this.root;)t=t.parent;return!!t},p);function p(t,e){void 0===e&&(e=[]),this.options={},this.parsers=[],this.root=null,this.nodeLists={},this.error=!1,this.handlers=new o.SubHandlers(t),this.nodeFactory=new s.NodeFactory,(this.nodeFactory.configuration=this).nodeFactory.setCreators(t.nodes),this.itemFactory=new i.default(t.items),this.itemFactory.configuration=this,u.defaultOptions.apply(void 0,a([this.options],e)),u.defaultOptions(this.options,t.options)}e.default=c},function(t,e,r){"use strict";var n,a,i=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var o,s=r(11),l=r(32),u=(o=s.BaseItem,i(c,o),c);function c(){return null!==o&&o.apply(this,arguments)||this}var p,f=(p=l.AbstractFactory,i(h,p),h.DefaultStackItems=((a={})[u.prototype.kind]=u,a),h);function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.defaultKind="dummy",t.configuration=null,t}e.default=f},function(t,e,r){"use strict";var n=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),o=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)o.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},a=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(n(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var p=r(0),i=(o.prototype.setMmlFactory=function(t){this.mmlFactory=t},o.createNode=function(t,e,r,n,a){void 0===r&&(r=[]),void 0===n&&(n={});var i=t.mmlFactory.create(e),o=i.arity;if(o===1/0||-1===o)1===r.length&&r[0].isInferred?i.setChildren(p.default.getChildren(r[0])):i.setChildren(r);else{for(var s=[],l=0,u=void 0;u=r[l];l++)if(u.isInferred){var c=t.mmlFactory.create("mrow",{},p.default.getChildren(u));p.default.copyAttributes(u,c),s.push(c)}else s.push(u);i.setChildren(s)}return a&&i.appendChild(a),p.default.setProperties(i,n),i},o.createToken=function(t,e,r,n){void 0===r&&(r={}),void 0===n&&(n="");var a=t.create("text",n);return t.create("node",e,[],r,a)},o.createText=function(t,e){return null==e?null:t.mmlFactory.create("text").setText(e)},o.createError=function(t,e){var r=t.create("text",e),n=t.create("node","mtext",[],{},r);return t.create("node","merror",[n])},o.prototype.set=function(t,e){this.factory[t]=e},o.prototype.setCreators=function(t){for(var e in t)this.set(e,t[e])},o.prototype.create=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=(this.factory[t]||this.factory.node).apply(void 0,a([this,e[0]],e.slice(1)));return"node"===t&&this.configuration.addNode(e[0],n),n},o.prototype.get=function(t){return this.factory[t]},o);function o(){this.mmlFactory=null,this.factory={node:o.createNode,token:o.createToken,text:o.createText,error:o.createError}}e.NodeFactory=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(Object.defineProperty(a.prototype,"symbol",{get:function(){return this._symbol},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"char",{get:function(){return this._char},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"attributes",{get:function(){return this._attributes},enumerable:!0,configurable:!0}),a);function a(t,e,r){this._symbol=t,this._char=e,this._attributes=r}e.Symbol=n;var i=(Object.defineProperty(o.prototype,"symbol",{get:function(){return this._symbol},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"func",{get:function(){return this._func},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"args",{get:function(){return this._args},enumerable:!0,configurable:!0}),o);function o(t,e,r){void 0===r&&(r=[]),this._symbol=t,this._func=e,this._args=r}e.Macro=i},function(t,e,r){"use strict";var n,a,i=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var o=r(12),s=r(2),l=r(1),u=r(0),c=r(10),p=r(14),f=r(8);function h(t,e){var r=t.stack.env.font?{mathvariant:t.stack.env.font}:{},n=s.MapHandler.getMap("remap").lookup(e),a=t.create("token","mo",r,n?n.char:e);u.default.setProperty(a,"fixStretchy",!0),t.configuration.addNode("fixStretchy",a),t.Push(a)}r(34),new c.CharacterMap("remap",null,{"-":"\u2212","*":"\u2217","`":"\u2018"}),e.Other=h;var d,m=(d=f.AbstractTags,i(y,d),y);function y(){return null!==d&&d.apply(this,arguments)||this}e.BaseTags=m,e.BaseConfiguration=o.Configuration.create("base",{handler:{character:["command","special","letter","digit"],delimiter:["delimiter"],macro:["delimiter","macros","mathchar0mi","mathchar0mo","mathchar7"],environment:["environment"]},fallback:{character:h,macro:function(t,e){throw new l.default("UndefinedControlSequence","Undefined control sequence %1","\\"+e)},environment:function(t,e){throw new l.default("UnknownEnv","Unknown environment '%1'",e)}},items:((a={})[p.StartItem.prototype.kind]=p.StartItem,a[p.StopItem.prototype.kind]=p.StopItem,a[p.OpenItem.prototype.kind]=p.OpenItem,a[p.CloseItem.prototype.kind]=p.CloseItem,a[p.PrimeItem.prototype.kind]=p.PrimeItem,a[p.SubsupItem.prototype.kind]=p.SubsupItem,a[p.OverItem.prototype.kind]=p.OverItem,a[p.LeftItem.prototype.kind]=p.LeftItem,a[p.RightItem.prototype.kind]=p.RightItem,a[p.BeginItem.prototype.kind]=p.BeginItem,a[p.EndItem.prototype.kind]=p.EndItem,a[p.StyleItem.prototype.kind]=p.StyleItem,a[p.PositionItem.prototype.kind]=p.PositionItem,a[p.CellItem.prototype.kind]=p.CellItem,a[p.MmlItem.prototype.kind]=p.MmlItem,a[p.FnItem.prototype.kind]=p.FnItem,a[p.NotItem.prototype.kind]=p.NotItem,a[p.DotsItem.prototype.kind]=p.DotsItem,a[p.ArrayItem.prototype.kind]=p.ArrayItem,a[p.EqnArrayItem.prototype.kind]=p.EqnArrayItem,a[p.EquationItem.prototype.kind]=p.EquationItem,a),options:{maxMacros:1e3,baseURL:"undefined"==typeof document||0===document.getElementsByTagName("base").length?"":String(document.location).replace(/#.*$/,"")},tags:{base:m}})},function(t,e,r){"use strict";var h=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),o=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)o.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o};Object.defineProperty(e,"__esModule",{value:!0});var d=r(14),p=r(0),m=r(1),u=r(5),y=r(9),g=r(6),f=r(3),s=r(8),i=r(4);r(25),r(35),r(36);var a={},c={fontfamily:1,fontsize:1,fontweight:1,fontstyle:1,color:1,background:1,id:1,class:1,href:1,style:1};function o(t,e){var r=t.stack.env,n=r.inRoot;r.inRoot=!0;var a=new u.default(e,r,t.configuration),i=a.mml(),o=a.stack.global;if(o.leftRoot||o.upRoot){var s={};o.leftRoot&&(s.width=o.leftRoot),o.upRoot&&(s.voffset=o.upRoot,s.height=o.upRoot),i=t.create("node","mpadded",[i],s)}return r.inRoot=n,i}a.Open=function(t,e){t.Push(t.itemFactory.create("open"))},a.Close=function(t,e){t.Push(t.itemFactory.create("close"))},a.Tilde=function(t,e){t.Push(t.create("token","mtext",{},i.entities.nbsp))},a.Space=function(t,e){},a.Superscript=function(t,e){var r,n,a;t.GetNext().match(/\d/)&&(t.string=t.string.substr(0,t.i+1)+" "+t.string.substr(t.i+1));var i=t.stack.Top();i.isKind("prime")?(a=(r=h(i.Peek(2),2))[0],n=r[1],t.stack.Pop()):a=(a=t.stack.Prev())||t.create("token","mi",{},"");var o=p.default.getProperty(a,"movesupsub"),s=p.default.isType(a,"msubsup")?a.sup:a.over;if(p.default.isType(a,"msubsup")&&!p.default.isType(a,"msup")&&p.default.getChildAt(a,a.sup)||p.default.isType(a,"munderover")&&!p.default.isType(a,"mover")&&p.default.getChildAt(a,a.over)&&!p.default.getProperty(a,"subsupOK"))throw new m.default("DoubleExponent","Double exponent: use braces to clarify");p.default.isType(a,"msubsup")&&!p.default.isType(a,"msup")||(s=o?(p.default.isType(a,"munderover")&&!p.default.isType(a,"mover")&&!p.default.getChildAt(a,a.over)||(a=t.create("node","munderover",[a],{movesupsub:!0})),a.over):(a=t.create("node","msubsup",[a])).sup),t.Push(t.itemFactory.create("subsup",a).setProperties({position:s,primes:n,movesupsub:o}))},a.Subscript=function(t,e){var r,n,a;t.GetNext().match(/\d/)&&(t.string=t.string.substr(0,t.i+1)+" "+t.string.substr(t.i+1));var i=t.stack.Top();i.isKind("prime")?(a=(r=h(i.Peek(2),2))[0],n=r[1],t.stack.Pop()):a=(a=t.stack.Prev())||t.create("token","mi",{},"");var o=p.default.getProperty(a,"movesupsub"),s=p.default.isType(a,"msubsup")?a.sub:a.under;if(p.default.isType(a,"msubsup")&&!p.default.isType(a,"msup")&&p.default.getChildAt(a,a.sub)||p.default.isType(a,"munderover")&&!p.default.isType(a,"mover")&&p.default.getChildAt(a,a.under)&&!p.default.getProperty(a,"subsupOK"))throw new m.default("DoubleSubscripts","Double subscripts: use braces to clarify");p.default.isType(a,"msubsup")&&!p.default.isType(a,"msup")||(s=o?(p.default.isType(a,"munderover")&&!p.default.isType(a,"mover")&&!p.default.getChildAt(a,a.under)||(a=t.create("node","munderover",[a],{movesupsub:!0})),a.under):(a=t.create("node","msubsup",[a])).sub),t.Push(t.itemFactory.create("subsup",a).setProperties({position:s,primes:n,movesupsub:o}))},a.Prime=function(t,e){var r=t.stack.Prev();if(r=r||t.create("node","mi"),p.default.isType(r,"msubsup")&&!p.default.isType(r,"msup")&&p.default.getChildAt(r,r.sup))throw new m.default("DoubleExponentPrime","Prime causes double exponent: use braces to clarify");var n="";for(t.i--;n+=i.entities.prime,t.i++,"'"===(e=t.GetNext())||e===i.entities.rquote;);n=["","\u2032","\u2033","\u2034","\u2057"][n.length]||n;var a=t.create("token","mo",{},n);t.Push(t.itemFactory.create("prime",r,a))},a.Comment=function(t,e){for(;t.i<t.string.length&&"\n"!==t.string.charAt(t.i);)t.i++},a.Hash=function(t,e){throw new m.default("CantUseHash1","You can't use 'macro parameter character #' in math mode")},a.SetFont=function(t,e,r){t.stack.env.font=r},a.SetStyle=function(t,e,r,n,a){t.stack.env.style=r,t.stack.env.level=a,t.Push(t.itemFactory.create("style").setProperty("styles",{displaystyle:n,scriptlevel:a}))},a.SetSize=function(t,e,r){t.stack.env.size=r,t.Push(t.itemFactory.create("style").setProperty("styles",{mathsize:r+"em"}))},a.Spacer=function(t,e,r){var n=t.create("node","mspace",[],{width:r}),a=t.create("node","mstyle",[n],{scriptlevel:0});t.Push(a)},a.LeftRight=function(t,e){var r=e.substr(1);t.Push(t.itemFactory.create(r).setProperty("delim",t.GetDelimiter(e)))},a.Middle=function(t,e){var r=t.GetDelimiter(e),n=t.create("node","TeXAtom",[],{texClass:f.TEXCLASS.CLOSE});if(t.Push(n),!t.stack.Top().isKind("left"))throw new m.default("MisplacedMiddle","%1 must be within \\left and \\right",t.currentCS);n=t.create("token","mo",{stretchy:!0},r),t.Push(n),n=t.create("node","TeXAtom",[],{texClass:f.TEXCLASS.OPEN}),t.Push(n)},a.NamedFn=function(t,e,r){r=r||e.substr(1);var n=t.create("token","mi",{texClass:f.TEXCLASS.OP},r);t.Push(t.itemFactory.create("fn",n))},a.NamedOp=function(t,e,r){r=(r=r||e.substr(1)).replace(/&thinsp;/,"\u2006");var n=t.create("token","mo",{movablelimits:!0,movesupsub:!0,form:y.TexConstant.Form.PREFIX,texClass:f.TEXCLASS.OP},r);t.Push(n)},a.Limits=function(t,e,r){var n=t.stack.Prev(!0);if(!n||p.default.getTexClass(p.default.getCoreMO(n))!==f.TEXCLASS.OP&&null==p.default.getProperty(n,"movesupsub"))throw new m.default("MisplacedLimits","%1 is allowed only on operators",t.currentCS);var a,i=t.stack.Top();p.default.isType(n,"munderover")&&!r?(a=t.create("node","msubsup"),p.default.copyChildren(n,a),n=i.Last=a):p.default.isType(n,"msubsup")&&r&&(a=t.create("node","munderover"),p.default.copyChildren(n,a),n=i.Last=a),p.default.setProperty(n,"movesupsub",!!r),p.default.setProperties(p.default.getCoreMO(n),{movablelimits:!1}),(p.default.getAttribute(n,"movablelimits")||p.default.getProperty(n,"movablelimits"))&&p.default.setProperties(n,{movablelimits:!1})},a.Over=function(t,e,r,n){var a=t.itemFactory.create("over").setProperty("name",t.currentCS);r||n?(a.setProperty("open",r),a.setProperty("close",n)):e.match(/withdelims$/)&&(a.setProperty("open",t.GetDelimiter(e)),a.setProperty("close",t.GetDelimiter(e))),e.match(/^\\above/)?a.setProperty("thickness",t.GetDimen(e)):(e.match(/^\\atop/)||r||n)&&a.setProperty("thickness",0),t.Push(a)},a.Frac=function(t,e){var r=t.ParseArg(e),n=t.ParseArg(e),a=t.create("node","mfrac",[r,n]);t.Push(a)},a.Sqrt=function(t,e){var r=t.GetBrackets(e),n=t.GetArgument(e);"\\frac"===n&&(n+="{"+t.GetArgument(n)+"}{"+t.GetArgument(n)+"}");var a=new u.default(n,t.stack.env,t.configuration).mml();a=r?t.create("node","mroot",[a,o(t,r)]):t.create("node","msqrt",[a]),t.Push(a)},a.Root=function(t,e){var r=t.GetUpTo(e,"\\of"),n=t.ParseArg(e),a=t.create("node","mroot",[n,o(t,r)]);t.Push(a)},a.MoveRoot=function(t,e,r){if(!t.stack.env.inRoot)throw new m.default("MisplacedMoveRoot","%1 can appear only within a root",t.currentCS);if(t.stack.global[r])throw new m.default("MultipleMoveRoot","Multiple use of %1",t.currentCS);var n=t.GetArgument(e);if(!n.match(/-?[0-9]+/))throw new m.default("IntegerArg","The argument to %1 must be an integer",t.currentCS);"-"!==(n=parseInt(n,10)/15+"em").substr(0,1)&&(n="+"+n),t.stack.global[r]=n},a.Accent=function(t,e,r,n){var a=t.ParseArg(e),i=g.default.getFontDef(t);i.accent=!0;var o=p.default.createEntity(r),s=t.create("token","mo",i,o);p.default.setAttribute(s,"stretchy",!!n);var l=p.default.isEmbellished(a)?p.default.getCoreMO(a):a;p.default.isType(l,"mo")&&p.default.setProperties(l,{movablelimits:!1});var u=t.create("node","munderover");p.default.setChild(u,0,a),p.default.setChild(u,1,null),p.default.setChild(u,2,s);var c=t.create("node","TeXAtom",[u]);t.Push(c)},a.UnderOver=function(t,e,r,n,a){var i,o=t.ParseArg(e),s=p.default.getForm(o);(s&&s[3]&&s[3].movablelimits||p.default.getProperty(o,"movablelimits"))&&p.default.setProperties(o,{movablelimits:!1}),p.default.isType(o,"munderover")&&p.default.isEmbellished(o)&&(p.default.setProperties(p.default.getCoreMO(o),{lspace:0,rspace:0}),i=t.create("node","mo",[],{rspace:0}),o=t.create("node","mrow",[i,o]));var l=t.create("node","munderover",[o]),u=p.default.createEntity(r);i=t.create("token","mo",{stretchy:!0,accent:!a},u),p.default.setChild(l,"o"===e.charAt(1)?l.over:l.under,i);var c=l;n&&(c=t.create("node","TeXAtom",[l],{texClass:f.TEXCLASS.OP,movesupsub:!0})),p.default.setProperty(c,"subsupOK",!0),t.Push(c)},a.Overset=function(t,e){var r=t.ParseArg(e),n=t.ParseArg(e);(p.default.getAttribute(n,"movablelimits")||p.default.getProperty(n,"movablelimits"))&&p.default.setProperties(n,{movablelimits:!1});var a=t.create("node","mover",[n,r]);t.Push(a)},a.Underset=function(t,e){var r=t.ParseArg(e),n=t.ParseArg(e);(p.default.getAttribute(n,"movablelimits")||p.default.getProperty(n,"movablelimits"))&&p.default.setProperties(n,{movablelimits:!1});var a=t.create("node","munder",[n,r]);t.Push(a)},a.TeXAtom=function(t,e,r){var n,a,i,o={texClass:r};if(r===f.TEXCLASS.OP){o.movesupsub=o.movablelimits=!0;var s=t.GetArgument(e),l=s.match(/^\s*\\rm\s+([a-zA-Z0-9 ]+)$/);a=l?(o.mathvariant=y.TexConstant.Variant.NORMAL,t.create("token","mi",o,l[1])):(i=new u.default(s,t.stack.env,t.configuration).mml(),t.create("node","TeXAtom",[i],o)),n=t.itemFactory.create("fn",a)}else i=t.ParseArg(e),n=t.create("node","TeXAtom",[i],o);t.Push(n)},a.MmlToken=function(t,e){var r,n=t.GetArgument(e),a=t.GetBrackets(e,"").replace(/^\s+/,""),i=t.GetArgument(e),o={};try{r=t.create("node",n)}catch(t){r=null}if(!r||!r.isToken)throw new m.default("NotMathMLToken","%1 is not a token element",n);for(;""!==a;){var s=a.match(/^([a-z]+)\s*=\s*('[^']*'|"[^"]*"|[^ ,]*)\s*,?\s*/i);if(!s)throw new m.default("InvalidMathMLAttr","Invalid MathML attribute: %1",a);if(!r.attributes.hasDefault(s[1])&&!c[s[1]])throw new m.default("UnknownAttrForElement","%1 is not a recognized attribute for %2",s[1],n);var l=g.default.MmlFilterAttribute(t,s[1],s[2].replace(/^(['"])(.*)\1$/,"$2"));l&&("true"===l.toLowerCase()?l=!0:"false"===l.toLowerCase()&&(l=!1),o[s[1]]=l),a=a.substr(s[0].length)}var u=t.create("text",i);r.appendChild(u),p.default.setProperties(r,o),t.Push(r)},a.Strut=function(t,e){var r=t.create("node","mrow"),n=t.create("node","mpadded",[r],{height:"8.6pt",depth:"3pt",width:0});t.Push(n)},a.Phantom=function(t,e,r,n){var a=t.create("node","mphantom",[t.ParseArg(e)]);(r||n)&&(a=t.create("node","mpadded",[a]),n&&(p.default.setAttribute(a,"height",0),p.default.setAttribute(a,"depth",0)),r&&p.default.setAttribute(a,"width",0));var i=t.create("node","TeXAtom",[a]);t.Push(i)},a.Smash=function(t,e){var r=g.default.trimSpaces(t.GetBrackets(e,"")),n=t.create("node","mpadded",[t.ParseArg(e)]);switch(r){case"b":p.default.setAttribute(n,"depth",0);break;case"t":p.default.setAttribute(n,"height",0);break;default:p.default.setAttribute(n,"height",0),p.default.setAttribute(n,"depth",0)}var a=t.create("node","TeXAtom",[n]);t.Push(a)},a.Lap=function(t,e){var r=t.create("node","mpadded",[t.ParseArg(e)],{width:0});"\\llap"===e&&p.default.setAttribute(r,"lspace","-1width");var n=t.create("node","TeXAtom",[r]);t.Push(n)},a.RaiseLower=function(t,e){var r=t.GetDimen(e),n=t.itemFactory.create("position").setProperties({name:t.currentCS,move:"vertical"});"-"===r.charAt(0)&&(r=r.slice(1),e="raise"===e.substr(1)?"\\lower":"\\raise"),"\\lower"===e?(n.setProperty("dh","-"+r),n.setProperty("dd","+"+r)):(n.setProperty("dh","+"+r),n.setProperty("dd","-"+r)),t.Push(n)},a.MoveLeftRight=function(t,e){var r=t.GetDimen(e),n="-"===r.charAt(0)?r.slice(1):"-"+r;if("\\moveleft"===e){var a=r;r=n,n=a}t.Push(t.itemFactory.create("position").setProperties({name:t.currentCS,move:"horizontal",left:t.create("node","mspace",[],{width:r}),right:t.create("node","mspace",[],{width:n})}))},a.Hskip=function(t,e){var r=t.create("node","mspace",[],{width:t.GetDimen(e)});t.Push(r)},a.Rule=function(t,e,r){var n={width:t.GetDimen(e),height:t.GetDimen(e),depth:t.GetDimen(e)};"blank"!==r&&(n.mathbackground=t.stack.env.color||"black");var a=t.create("node","mspace",[],n);t.Push(a)},a.rule=function(t,e){var r=t.GetBrackets(e),n=t.GetDimen(e),a=t.GetDimen(e),i=t.create("node","mspace",[],{width:n,height:a,mathbackground:t.stack.env.color||"black"});r&&(i=t.create("node","mpadded",[i],{voffset:r}),r.match(/^\-/)?(p.default.setAttribute(i,"height",r),p.default.setAttribute(i,"depth","+"+r.substr(1))):p.default.setAttribute(i,"height","+"+r)),t.Push(i)},a.MakeBig=function(t,e,r,n){n*=1.2/.85;var a=String(n).replace(/(\.\d\d\d).+/,"$1")+"em",i=t.GetDelimiter(e,!0),o=t.create("token","mo",{minsize:a,maxsize:a,fence:!0,stretchy:!0,symmetric:!0},i),s=t.create("node","TeXAtom",[o],{texClass:r});t.Push(s)},a.BuildRel=function(t,e){var r=t.ParseUpTo(e,"\\over"),n=t.ParseArg(e),a=t.create("node","munderover");p.default.setChild(a,0,n),p.default.setChild(a,1,null),p.default.setChild(a,2,r);var i=t.create("node","TeXAtom",[a],{texClass:f.TEXCLASS.REL});t.Push(i)},a.HBox=function(t,e,r){t.PushAll(g.default.internalMath(t,t.GetArgument(e),r))},a.FBox=function(t,e){var r=g.default.internalMath(t,t.GetArgument(e)),n=t.create("node","menclose",r,{notation:"box"});t.Push(n)},a.Not=function(t,e){t.Push(t.itemFactory.create("not"))},a.Dots=function(t,e){var r=p.default.createEntity("2026"),n=p.default.createEntity("22EF"),a=t.create("token","mo",{stretchy:!1},r),i=t.create("token","mo",{stretchy:!1},n);t.Push(t.itemFactory.create("dots").setProperties({ldots:a,cdots:i}))},a.Matrix=function(t,e,r,n,a,i,o,s,l,u){var c=t.GetNext();if(""===c)throw new m.default("MissingArgFor","Missing argument for %1",t.currentCS);"{"===c?t.i++:(t.string=c+"}"+t.string.slice(t.i+1),t.i=0);var p=t.itemFactory.create("array").setProperty("requireClose",!0);p.arraydef={rowspacing:o||"4pt",columnspacing:i||"1em"},l&&p.setProperty("isCases",!0),u&&(p.setProperty("isNumbered",!0),p.arraydef.side=u),(r||n)&&(p.setProperty("open",r),p.setProperty("close",n)),"D"===s&&(p.arraydef.displaystyle=!0),null!=a&&(p.arraydef.columnalign=a),t.Push(p)},a.Entry=function(t,e){if(t.Push(t.itemFactory.create("cell").setProperties({isEntry:!0,name:e})),t.stack.Top().getProperty("isCases")){for(var r=t.string,n=0,a=-1,i=t.i,o=r.length;i<o;){var s=r.charAt(i);if("{"===s)n++,i++;else if("}"===s)0===n?o=0:(0===--n&&a<0&&(a=i-t.i),i++);else{if("&"===s&&0===n)throw new m.default("ExtraAlignTab","Extra alignment tab in \\cases text");"\\"===s?r.substr(i).match(/^((\\cr)[^a-zA-Z]|\\\\)/)?o=0:i+=2:i++}}var l=r.substr(t.i,i-t.i);if(!l.match(/^\s*\\text[^a-zA-Z]/)||a!==l.replace(/\s+$/,"").length-1){var u=g.default.internalMath(t,l,0);t.PushAll(u),t.i=i}}},a.Cr=function(t,e){t.Push(t.itemFactory.create("cell").setProperties({isCR:!0,name:e}))},a.CrLaTeX=function(t,e,r){var n;if(void 0===r&&(r=!1),!r&&"["===t.string.charAt(t.i)){var a=t.GetBrackets(e,""),i=h(g.default.matchDimen(a),3),o=i[0],s=i[1];i[2];if(a&&!o)throw new m.default("BracketMustBeDimension","Bracket argument to %1 must be a dimension",t.currentCS);n=o+s}t.Push(t.itemFactory.create("cell").setProperties({isCR:!0,name:e,linebreak:!0}));var l,u=t.stack.Top();if(u instanceof d.ArrayItem){if(n&&u.arraydef.rowspacing){var c=u.arraydef.rowspacing.split(/ /);if(!u.getProperty("rowspacing")){var p=g.default.dimen2em(c[0]);u.setProperty("rowspacing",p)}for(var f=u.getProperty("rowspacing");c.length<u.table.length;)c.push(g.default.Em(f));c[u.table.length-1]=g.default.Em(Math.max(0,f+g.default.dimen2em(n))),u.arraydef.rowspacing=c.join(" ")}}else n&&(l=t.create("node","mspace",[],{depth:n}),t.Push(l)),l=t.create("node","mspace",[],{linebreak:y.TexConstant.LineBreak.NEWLINE}),t.Push(l)},a.HLine=function(t,e,r){null==r&&(r="solid");var n=t.stack.Top();if(!(n instanceof d.ArrayItem)||n.Size())throw new m.default("Misplaced","Misplaced %1",t.currentCS);if(n.table.length){for(var a=n.arraydef.rowlines?n.arraydef.rowlines.split(/ /):[];a.length<n.table.length;)a.push("none");a[n.table.length-1]=r,n.arraydef.rowlines=a.join(" ")}else n.frame.push("top")},a.HFill=function(t,e){var r=t.stack.Top();if(!(r instanceof d.ArrayItem))throw new m.default("UnsupportedHFill","Unsupported use of %1",t.currentCS);r.hfill.push(r.Size())},a.BeginEnd=function(t,e){var r=t.GetArgument(e);if(r.match(/\\/i))throw new m.default("InvalidEnv","Invalid environment name '%1'",r);var n=t.configuration.handlers.get("environment").lookup(r);if(n&&"\\end"===e){if(!n.args[0]){var a=t.itemFactory.create("end").setProperty("name",r);return void t.Push(a)}t.stack.env.closing=r}if(++t.macroCount>t.configuration.options.maxMacros)throw new m.default("MaxMacroSub2","MathJax maximum substitution count exceeded; is there a recursive latex environment?");t.parse("environment",[t,r])},a.Array=function(t,e,r,n,a,i,o,s,l){var u=("c"+(a=a||t.GetArgument("\\begin{"+e.getName()+"}"))).replace(/[^clr|:]/g,"").replace(/[^|:]([|:])+/g,"$1");a=(a=a.replace(/[^clr]/g,"").split("").join(" ")).replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");var c=t.itemFactory.create("array");return c.arraydef={columnalign:a,columnspacing:i||"1em",rowspacing:o||"4pt"},u.match(/[|:]/)&&(u.charAt(0).match(/[|:]/)&&(c.frame.push("left"),c.dashed=":"===u.charAt(0)),u.charAt(u.length-1).match(/[|:]/)&&c.frame.push("right"),u=u.substr(1,u.length-2),c.arraydef.columnlines=u.split("").join(" ").replace(/[^|: ]/g,"none").replace(/\|/g,"solid").replace(/:/g,"dashed")),r&&c.setProperty("open",t.convertDelimiter(r)),n&&c.setProperty("close",t.convertDelimiter(n)),"D"===s?c.arraydef.displaystyle=!0:s&&(c.arraydef.displaystyle=!1),"S"===s&&(c.arraydef.scriptlevel=1),l&&(c.arraydef.useHeight=!1),t.Push(e),c},a.AlignedArray=function(t,e){var r=t.GetBrackets("\\begin{"+e.getName()+"}"),n=a.Array(t,e);return g.default.setArrayAlign(n,r)},a.Equation=function(t,e,r){return t.Push(e),g.default.checkEqnEnv(t),t.itemFactory.create("equation",r).setProperty("name",e.getName())},a.EqnArray=function(t,e,r,n,a,i){t.Push(e),n&&g.default.checkEqnEnv(t),a=(a=a.replace(/[^clr]/g,"").split("").join(" ")).replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");var o=t.itemFactory.create("eqnarray",e.getName(),r,n,t.stack.global);return o.arraydef={displaystyle:!0,columnalign:a,columnspacing:i||"1em",rowspacing:"3pt",side:t.options.tagSide,minlabelspacing:t.options.tagIndent},o},a.HandleNoTag=function(t,e){t.tags.notag()},a.HandleLabel=function(t,e){t.stack.global;var r=t.GetArgument(e);if(""!==r&&!t.tags.refUpdate){if(t.tags.label)throw new m.default("MultipleCommand","Multiple %1",t.currentCS);if(t.tags.label=r,(t.tags.allLabels[r]||t.tags.labels[r])&&!t.options.ignoreDuplicateLabels)throw new m.default("MultipleLabel","Label '%1' multiply defined",r);t.tags.labels[r]=new s.Label}},a.HandleRef=function(t,e,r){var n=t.GetArgument(e),a=t.tags.allLabels[n]||t.tags.labels[n];a||(t.tags.refUpdate||(t.tags.redo=!0),a=new s.Label);var i=a.tag;r&&(i=t.tags.formatTag(i));var o=t.create("node","mrow",g.default.internalMath(t,i),{href:t.tags.formatUrl(a.id,t.options.baseURL),class:"MathJax_ref"});t.Push(o)},a.Macro=function(t,e,r,n,a){if(n){var i=[];if(null!=a){var o=t.GetBrackets(e);i.push(null==o?a:o)}for(var s=i.length;s<n;s++)i.push(t.GetArgument(e));r=g.default.substituteArgs(t,i,r)}if(t.string=g.default.addArgs(t,r,t.string.slice(t.i)),t.i=0,++t.macroCount>t.configuration.options.maxMacros)throw new m.default("MaxMacroSub1","MathJax maximum macro substitution count exceeded; is there a recursive macro call?")},a.MathChoice=function(t,e){var r=t.ParseArg(e),n=t.ParseArg(e),a=t.ParseArg(e),i=t.ParseArg(e);t.Push(t.create("node","mathchoice",[r,n,a,i]))},e.default=a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),r(4).add({NJcy:"\u040a",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041d",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",NewLine:"\n",NoBreak:"\u2060",NonBreakingSpace:"\xa0",Not:"\u2aec",NotCongruent:"\u2262",NotCupCap:"\u226d",NotEqualTilde:"\u2242\u0338",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",NotLeftTriangleBar:"\u29cf\u0338",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",NotPrecedesEqual:"\u2aaf\u0338",NotReverseElement:"\u220c",NotRightTriangleBar:"\u29d0\u0338",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",Ntilde:"\xd1",Nu:"\u039d",nGg:"\u22d9\u0338",nGt:"\u226b\u20d2",nGtv:"\u226b\u0338",nLl:"\u22d8\u0338",nLt:"\u226a\u20d2",nLtv:"\u226a\u0338",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266e",naturals:"\u2115",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",ndash:"\u2013",ne:"\u2260",neArr:"\u21d7",nearhk:"\u2924",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",ngsim:"\u2275",ngt:"\u226f",ngtr:"\u226f",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",nlArr:"\u21cd",nlE:"\u2266\u0338",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219a",nleftrightarrow:"\u21ae",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nlsim:"\u2274",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nmid:"\u2224",notin:"\u2209",notinE:"\u22f9\u0338",notindot:"\u22f5\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrArr:"\u21cf",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",num:"#",numero:"\u2116",numsp:"\u2007",nvHarr:"\u2904",nvap:"\u224d\u20d2",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwArr:"\u21d6",nwarhk:"\u2923",nwarrow:"\u2196",nwnear:"\u2927"},"n")},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=MathJax._.components.global.isObject,e.combineConfig=MathJax._.components.global.combineConfig,e.combineDefaults=MathJax._.components.global.combineDefaults,e.combineWithMathJax=MathJax._.components.global.combineWithMathJax,e.MathJax=MathJax._.components.global.MathJax},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractInputJax=MathJax._.core.InputJax.AbstractInputJax},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractFindMath=MathJax._.core.FindMath.AbstractFindMath},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sortLength=MathJax._.util.string.sortLength,e.quotePattern=MathJax._.util.string.quotePattern,e.unicodeChars=MathJax._.util.string.unicodeChars,e.isPercent=MathJax._.util.string.isPercent,e.split=MathJax._.util.string.split},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.protoItem=MathJax._.core.MathItem.protoItem,e.AbstractMathItem=MathJax._.core.MathItem.AbstractMathItem,e.STATE=MathJax._.core.MathItem.STATE,e.newState=MathJax._.core.MathItem.newState},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MmlMo=MathJax._.core.MmlTree.MmlNodes.mo.MmlMo},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractFactory=MathJax._.core.Tree.Factory.AbstractFactory},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FunctionList=MathJax._.util.FunctionList.FunctionList},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(10),a=r(9),i=r(24),o=r(13),s=r(3);new n.RegExpMap("letter",o.default.variable,/[a-z]/i),new n.RegExpMap("digit",o.default.digit,/[0-9.,]/),new n.RegExpMap("command",o.default.controlSequence,/^\\/),new n.MacroMap("special",{"{":"Open","}":"Close","~":"Tilde","^":"Superscript",_:"Subscript"," ":"Space","\t":"Space","\r":"Space","\n":"Space","'":"Prime","%":"Comment","&":"Entry","#":"Hash","\xa0":"Space","\u2019":"Prime"},i.default),new n.CharacterMap("mathchar0mi",o.default.mathchar0mi,{alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03f5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03d5",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",varepsilon:"\u03b5",vartheta:"\u03d1",varpi:"\u03d6",varrho:"\u03f1",varsigma:"\u03c2",varphi:"\u03c6",S:["\xa7",{mathvariant:a.TexConstant.Variant.NORMAL}],aleph:["\u2135",{mathvariant:a.TexConstant.Variant.NORMAL}],hbar:["\u210f",{variantForm:!0}],imath:"\u0131",jmath:"\u0237",ell:"\u2113",wp:["\u2118",{mathvariant:a.TexConstant.Variant.NORMAL}],Re:["\u211c",{mathvariant:a.TexConstant.Variant.NORMAL}],Im:["\u2111",{mathvariant:a.TexConstant.Variant.NORMAL}],partial:["\u2202",{mathvariant:a.TexConstant.Variant.NORMAL}],infty:["\u221e",{mathvariant:a.TexConstant.Variant.NORMAL}],prime:["\u2032",{mathvariant:a.TexConstant.Variant.NORMAL,variantForm:!0}],emptyset:["\u2205",{mathvariant:a.TexConstant.Variant.NORMAL}],nabla:["\u2207",{mathvariant:a.TexConstant.Variant.NORMAL}],top:["\u22a4",{mathvariant:a.TexConstant.Variant.NORMAL}],bot:["\u22a5",{mathvariant:a.TexConstant.Variant.NORMAL}],angle:["\u2220",{mathvariant:a.TexConstant.Variant.NORMAL}],triangle:["\u25b3",{mathvariant:a.TexConstant.Variant.NORMAL}],backslash:["\u2216",{mathvariant:a.TexConstant.Variant.NORMAL,variantForm:!0}],forall:["\u2200",{mathvariant:a.TexConstant.Variant.NORMAL}],exists:["\u2203",{mathvariant:a.TexConstant.Variant.NORMAL}],neg:["\xac",{mathvariant:a.TexConstant.Variant.NORMAL}],lnot:["\xac",{mathvariant:a.TexConstant.Variant.NORMAL}],flat:["\u266d",{mathvariant:a.TexConstant.Variant.NORMAL}],natural:["\u266e",{mathvariant:a.TexConstant.Variant.NORMAL}],sharp:["\u266f",{mathvariant:a.TexConstant.Variant.NORMAL}],clubsuit:["\u2663",{mathvariant:a.TexConstant.Variant.NORMAL}],diamondsuit:["\u2662",{mathvariant:a.TexConstant.Variant.NORMAL}],heartsuit:["\u2661",{mathvariant:a.TexConstant.Variant.NORMAL}],spadesuit:["\u2660",{mathvariant:a.TexConstant.Variant.NORMAL}]}),new n.CharacterMap("mathchar0mo",o.default.mathchar0mo,{surd:"\u221a",coprod:["\u2210",{texClass:s.TEXCLASS.OP,movesupsub:!0}],bigvee:["\u22c1",{texClass:s.TEXCLASS.OP,movesupsub:!0}],bigwedge:["\u22c0",{texClass:s.TEXCLASS.OP,movesupsub:!0}],biguplus:["\u2a04",{texClass:s.TEXCLASS.OP,movesupsub:!0}],bigcap:["\u22c2",{texClass:s.TEXCLASS.OP,movesupsub:!0}],bigcup:["\u22c3",{texClass:s.TEXCLASS.OP,movesupsub:!0}],int:["\u222b",{texClass:s.TEXCLASS.OP}],intop:["\u222b",{texClass:s.TEXCLASS.OP,movesupsub:!0,movablelimits:!0}],iint:["\u222c",{texClass:s.TEXCLASS.OP}],iiint:["\u222d",{texClass:s.TEXCLASS.OP}],prod:["\u220f",{texClass:s.TEXCLASS.OP,movesupsub:!0}],sum:["\u2211",{texClass:s.TEXCLASS.OP,movesupsub:!0}],bigotimes:["\u2a02",{texClass:s.TEXCLASS.OP,movesupsub:!0}],bigoplus:["\u2a01",{texClass:s.TEXCLASS.OP,movesupsub:!0}],bigodot:["\u2a00",{texClass:s.TEXCLASS.OP,movesupsub:!0}],oint:["\u222e",{texClass:s.TEXCLASS.OP}],bigsqcup:["\u2a06",{texClass:s.TEXCLASS.OP,movesupsub:!0}],smallint:["\u222b",{largeop:!1}],triangleleft:"\u25c3",triangleright:"\u25b9",bigtriangleup:"\u25b3",bigtriangledown:"\u25bd",wedge:"\u2227",land:"\u2227",vee:"\u2228",lor:"\u2228",cap:"\u2229",cup:"\u222a",ddagger:"\u2021",dagger:"\u2020",sqcap:"\u2293",sqcup:"\u2294",uplus:"\u228e",amalg:"\u2a3f",diamond:"\u22c4",bullet:"\u2219",wr:"\u2240",div:"\xf7",odot:["\u2299",{largeop:!1}],oslash:["\u2298",{largeop:!1}],otimes:["\u2297",{largeop:!1}],ominus:["\u2296",{largeop:!1}],oplus:["\u2295",{largeop:!1}],mp:"\u2213",pm:"\xb1",circ:"\u2218",bigcirc:"\u25ef",setminus:"\u2216",cdot:"\u22c5",ast:"\u2217",times:"\xd7",star:"\u22c6",propto:"\u221d",sqsubseteq:"\u2291",sqsupseteq:"\u2292",parallel:"\u2225",mid:"\u2223",dashv:"\u22a3",vdash:"\u22a2",leq:"\u2264",le:"\u2264",geq:"\u2265",ge:"\u2265",lt:"<",gt:">",succ:"\u227b",prec:"\u227a",approx:"\u2248",succeq:"\u2ab0",preceq:"\u2aaf",supset:"\u2283",subset:"\u2282",supseteq:"\u2287",subseteq:"\u2286",in:"\u2208",ni:"\u220b",notin:"\u2209",owns:"\u220b",gg:"\u226b",ll:"\u226a",sim:"\u223c",simeq:"\u2243",perp:"\u22a5",equiv:"\u2261",asymp:"\u224d",smile:"\u2323",frown:"\u2322",ne:"\u2260",neq:"\u2260",cong:"\u2245",doteq:"\u2250",bowtie:"\u22c8",models:"\u22a8",notChar:"\u29f8",Leftrightarrow:"\u21d4",Leftarrow:"\u21d0",Rightarrow:"\u21d2",leftrightarrow:"\u2194",leftarrow:"\u2190",gets:"\u2190",rightarrow:"\u2192",to:["\u2192",{accent:!1}],mapsto:"\u21a6",leftharpoonup:"\u21bc",leftharpoondown:"\u21bd",rightharpoonup:"\u21c0",rightharpoondown:"\u21c1",nearrow:"\u2197",searrow:"\u2198",nwarrow:"\u2196",swarrow:"\u2199",rightleftharpoons:"\u21cc",hookrightarrow:"\u21aa",hookleftarrow:"\u21a9",longleftarrow:"\u27f5",Longleftarrow:"\u27f8",longrightarrow:"\u27f6",Longrightarrow:"\u27f9",Longleftrightarrow:"\u27fa",longleftrightarrow:"\u27f7",longmapsto:"\u27fc",ldots:"\u2026",cdots:"\u22ef",vdots:"\u22ee",ddots:"\u22f1",dotsc:"\u2026",dotsb:"\u22ef",dotsm:"\u22ef",dotsi:"\u22ef",dotso:"\u2026",ldotp:[".",{texClass:s.TEXCLASS.PUNCT}],cdotp:["\u22c5",{texClass:s.TEXCLASS.PUNCT}],colon:[":",{texClass:s.TEXCLASS.PUNCT}]}),new n.CharacterMap("mathchar7",o.default.mathchar7,{Gamma:"\u0393",Delta:"\u0394",Theta:"\u0398",Lambda:"\u039b",Xi:"\u039e",Pi:"\u03a0",Sigma:"\u03a3",Upsilon:"\u03a5",Phi:"\u03a6",Psi:"\u03a8",Omega:"\u03a9",_:"_","#":"#",$:"$","%":"%","&":"&",And:"&"}),new n.DelimiterMap("delimiter",o.default.delimiter,{"(":"(",")":")","[":"[","]":"]","<":"\u27e8",">":"\u27e9","\\lt":"\u27e8","\\gt":"\u27e9","/":"/","|":["|",{texClass:s.TEXCLASS.ORD}],".":"","\\\\":"\\","\\lmoustache":"\u23b0","\\rmoustache":"\u23b1","\\lgroup":"\u27ee","\\rgroup":"\u27ef","\\arrowvert":"\u23d0","\\Arrowvert":"\u2016","\\bracevert":"\u23aa","\\Vert":["\u2225",{texClass:s.TEXCLASS.ORD}],"\\|":["\u2225",{texClass:s.TEXCLASS.ORD}],"\\vert":["|",{texClass:s.TEXCLASS.ORD}],"\\uparrow":"\u2191","\\downarrow":"\u2193","\\updownarrow":"\u2195","\\Uparrow":"\u21d1","\\Downarrow":"\u21d3","\\Updownarrow":"\u21d5","\\backslash":"\\","\\rangle":"\u27e9","\\langle":"\u27e8","\\rbrace":"}","\\lbrace":"{","\\}":"}","\\{":"{","\\rceil":"\u2309","\\lceil":"\u2308","\\rfloor":"\u230b","\\lfloor":"\u230a","\\lbrack":"[","\\rbrack":"]"}),new n.CommandMap("macros",{displaystyle:["SetStyle","D",!0,0],textstyle:["SetStyle","T",!1,0],scriptstyle:["SetStyle","S",!1,1],scriptscriptstyle:["SetStyle","SS",!1,2],rm:["SetFont",a.TexConstant.Variant.NORMAL],mit:["SetFont",a.TexConstant.Variant.ITALIC],oldstyle:["SetFont",a.TexConstant.Variant.OLDSTYLE],cal:["SetFont",a.TexConstant.Variant.CALLIGRAPHIC],it:["SetFont","-tex-mathit"],bf:["SetFont",a.TexConstant.Variant.BOLD],bbFont:["SetFont",a.TexConstant.Variant.DOUBLESTRUCK],scr:["SetFont",a.TexConstant.Variant.SCRIPT],frak:["SetFont",a.TexConstant.Variant.FRAKTUR],sf:["SetFont",a.TexConstant.Variant.SANSSERIF],tt:["SetFont",a.TexConstant.Variant.MONOSPACE],tiny:["SetSize",.5],Tiny:["SetSize",.6],scriptsize:["SetSize",.7],small:["SetSize",.85],normalsize:["SetSize",1],large:["SetSize",1.2],Large:["SetSize",1.44],LARGE:["SetSize",1.73],huge:["SetSize",2.07],Huge:["SetSize",2.49],arcsin:["NamedFn"],arccos:["NamedFn"],arctan:["NamedFn"],arg:["NamedFn"],cos:["NamedFn"],cosh:["NamedFn"],cot:["NamedFn"],coth:["NamedFn"],csc:["NamedFn"],deg:["NamedFn"],det:"NamedOp",dim:["NamedFn"],exp:["NamedFn"],gcd:"NamedOp",hom:["NamedFn"],inf:"NamedOp",ker:["NamedFn"],lg:["NamedFn"],lim:"NamedOp",liminf:["NamedOp","lim&thinsp;inf"],limsup:["NamedOp","lim&thinsp;sup"],ln:["NamedFn"],log:["NamedFn"],max:"NamedOp",min:"NamedOp",Pr:"NamedOp",sec:["NamedFn"],sin:["NamedFn"],sinh:["NamedFn"],sup:"NamedOp",tan:["NamedFn"],tanh:["NamedFn"],limits:["Limits",1],nolimits:["Limits",0],overline:["UnderOver","00AF",null,1],underline:["UnderOver","005F"],overbrace:["UnderOver","23DE",1],underbrace:["UnderOver","23DF",1],overparen:["UnderOver","23DC"],underparen:["UnderOver","23DD"],overrightarrow:["UnderOver","2192"],underrightarrow:["UnderOver","2192"],overleftarrow:["UnderOver","2190"],underleftarrow:["UnderOver","2190"],overleftrightarrow:["UnderOver","2194"],underleftrightarrow:["UnderOver","2194"],overset:"Overset",underset:"Underset",stackrel:["Macro","\\mathrel{\\mathop{#2}\\limits^{#1}}",2],over:"Over",overwithdelims:"Over",atop:"Over",atopwithdelims:"Over",above:"Over",abovewithdelims:"Over",brace:["Over","{","}"],brack:["Over","[","]"],choose:["Over","(",")"],frac:"Frac",sqrt:"Sqrt",root:"Root",uproot:["MoveRoot","upRoot"],leftroot:["MoveRoot","leftRoot"],left:"LeftRight",right:"LeftRight",middle:"Middle",llap:"Lap",rlap:"Lap",raise:"RaiseLower",lower:"RaiseLower",moveleft:"MoveLeftRight",moveright:"MoveLeftRight",",":["Spacer",a.TexConstant.Length.THINMATHSPACE],":":["Spacer",a.TexConstant.Length.MEDIUMMATHSPACE],">":["Spacer",a.TexConstant.Length.MEDIUMMATHSPACE],";":["Spacer",a.TexConstant.Length.THICKMATHSPACE],"!":["Spacer",a.TexConstant.Length.NEGATIVETHINMATHSPACE],enspace:["Spacer",".5em"],quad:["Spacer","1em"],qquad:["Spacer","2em"],thinspace:["Spacer",a.TexConstant.Length.THINMATHSPACE],negthinspace:["Spacer",a.TexConstant.Length.NEGATIVETHINMATHSPACE],hskip:"Hskip",hspace:"Hskip",kern:"Hskip",mskip:"Hskip",mspace:"Hskip",mkern:"Hskip",rule:"rule",Rule:["Rule"],Space:["Rule","blank"],big:["MakeBig",s.TEXCLASS.ORD,.85],Big:["MakeBig",s.TEXCLASS.ORD,1.15],bigg:["MakeBig",s.TEXCLASS.ORD,1.45],Bigg:["MakeBig",s.TEXCLASS.ORD,1.75],bigl:["MakeBig",s.TEXCLASS.OPEN,.85],Bigl:["MakeBig",s.TEXCLASS.OPEN,1.15],biggl:["MakeBig",s.TEXCLASS.OPEN,1.45],Biggl:["MakeBig",s.TEXCLASS.OPEN,1.75],bigr:["MakeBig",s.TEXCLASS.CLOSE,.85],Bigr:["MakeBig",s.TEXCLASS.CLOSE,1.15],biggr:["MakeBig",s.TEXCLASS.CLOSE,1.45],Biggr:["MakeBig",s.TEXCLASS.CLOSE,1.75],bigm:["MakeBig",s.TEXCLASS.REL,.85],Bigm:["MakeBig",s.TEXCLASS.REL,1.15],biggm:["MakeBig",s.TEXCLASS.REL,1.45],Biggm:["MakeBig",s.TEXCLASS.REL,1.75],mathord:["TeXAtom",s.TEXCLASS.ORD],mathop:["TeXAtom",s.TEXCLASS.OP],mathopen:["TeXAtom",s.TEXCLASS.OPEN],mathclose:["TeXAtom",s.TEXCLASS.CLOSE],mathbin:["TeXAtom",s.TEXCLASS.BIN],mathrel:["TeXAtom",s.TEXCLASS.REL],mathpunct:["TeXAtom",s.TEXCLASS.PUNCT],mathinner:["TeXAtom",s.TEXCLASS.INNER],vcenter:["TeXAtom",s.TEXCLASS.VCENTER],buildrel:"BuildRel",hbox:["HBox",0],text:"HBox",mbox:["HBox",0],fbox:"FBox",strut:"Strut",mathstrut:["Macro","\\vphantom{(}"],phantom:"Phantom",vphantom:["Phantom",1,0],hphantom:["Phantom",0,1],smash:"Smash",acute:["Accent","00B4"],grave:["Accent","0060"],ddot:["Accent","00A8"],tilde:["Accent","007E"],bar:["Accent","00AF"],breve:["Accent","02D8"],check:["Accent","02C7"],hat:["Accent","005E"],vec:["Accent","2192"],dot:["Accent","02D9"],widetilde:["Accent","007E",1],widehat:["Accent","005E",1],matrix:"Matrix",array:"Matrix",pmatrix:["Matrix","(",")"],cases:["Matrix","{","","left left",null,".1em",null,!0],eqalign:["Matrix",null,null,"right left",a.TexConstant.Length.THICKMATHSPACE,".5em","D"],displaylines:["Matrix",null,null,"center",null,".5em","D"],cr:"Cr","\\":"CrLaTeX",newline:["CrLaTeX",!0],hline:["HLine","solid"],hdashline:["HLine","dashed"],eqalignno:["Matrix",null,null,"right left",a.TexConstant.Length.THICKMATHSPACE,".5em","D",null,"right"],leqalignno:["Matrix",null,null,"right left",a.TexConstant.Length.THICKMATHSPACE,".5em","D",null,"left"],hfill:"HFill",hfil:"HFill",hfilll:"HFill",bmod:["Macro",'\\mmlToken{mo}[lspace="thickmathspace" rspace="thickmathspace"]{mod}'],pmod:["Macro","\\pod{\\mmlToken{mi}{mod}\\kern 6mu #1}",1],mod:["Macro","\\mathchoice{\\kern18mu}{\\kern12mu}{\\kern12mu}{\\kern12mu}\\mmlToken{mi}{mod}\\,\\,#1",1],pod:["Macro","\\mathchoice{\\kern18mu}{\\kern8mu}{\\kern8mu}{\\kern8mu}(#1)",1],iff:["Macro","\\;\\Longleftrightarrow\\;"],skew:["Macro","{{#2{#3\\mkern#1mu}\\mkern-#1mu}{}}",3],mathcal:["Macro","{\\cal #1}",1],mathscr:["Macro","{\\scr #1}",1],mathrm:["Macro","{\\rm #1}",1],mathbf:["Macro","{\\bf #1}",1],mathbb:["Macro","{\\bbFont #1}",1],Bbb:["Macro","{\\bbFont #1}",1],mathit:["Macro","{\\it #1}",1],mathfrak:["Macro","{\\frak #1}",1],mathsf:["Macro","{\\sf #1}",1],mathtt:["Macro","{\\tt #1}",1],textrm:["Macro","\\mathord{\\rm\\text{#1}}",1],textit:["Macro","\\mathord{\\it\\text{#1}}",1],textbf:["Macro","\\mathord{\\bf\\text{#1}}",1],textsf:["Macro","\\mathord{\\sf\\text{#1}}",1],texttt:["Macro","\\mathord{\\tt\\text{#1}}",1],pmb:["Macro","\\rlap{#1}\\kern1px{#1}",1],TeX:["Macro","T\\kern-.14em\\lower.5ex{E}\\kern-.115em X"],LaTeX:["Macro","L\\kern-.325em\\raise.21em{\\scriptstyle{A}}\\kern-.17em\\TeX"]," ":["Macro","\\text{ }"],not:"Not",dots:"Dots",space:"Tilde","\xa0":"Tilde",begin:"BeginEnd",end:"BeginEnd",label:"HandleLabel",ref:"HandleRef",nonumber:"HandleNoTag",mathchoice:"MathChoice",mmlToken:"MmlToken"},i.default);new n.EnvironmentMap("environment",o.default.environment,{array:["AlignedArray"],equation:["Equation",null,!0],"equation*":["Equation",null,!1],eqnarray:["EqnArray",null,!0,!0,"rcl","0 "+a.TexConstant.Length.THICKMATHSPACE,".5em"]},i.default);new n.CharacterMap("not_remap",null,{"\u2190":"\u219a","\u2192":"\u219b","\u2194":"\u21ae","\u21d0":"\u21cd","\u21d2":"\u21cf","\u21d4":"\u21ce","\u2208":"\u2209","\u220b":"\u220c","\u2223":"\u2224","\u2225":"\u2226","\u223c":"\u2241","~":"\u2241","\u2243":"\u2244","\u2245":"\u2247","\u2248":"\u2249","\u224d":"\u226d","=":"\u2260","\u2261":"\u2262","<":"\u226e",">":"\u226f","\u2264":"\u2270","\u2265":"\u2271","\u2272":"\u2274","\u2273":"\u2275","\u2276":"\u2278","\u2277":"\u2279","\u227a":"\u2280","\u227b":"\u2281","\u2282":"\u2284","\u2283":"\u2285","\u2286":"\u2288","\u2287":"\u2289","\u22a2":"\u22ac","\u22a8":"\u22ad","\u22a9":"\u22ae","\u22ab":"\u22af","\u227c":"\u22e0","\u227d":"\u22e1","\u2291":"\u22e2","\u2292":"\u22e3","\u22b2":"\u22ea","\u22b3":"\u22eb","\u22b4":"\u22ec","\u22b5":"\u22ed","\u2203":"\u2204"})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),r(4).add({Pcy:"\u041f",Poincareplane:"\u210c",Pr:"\u2abb",Prime:"\u2033",Proportion:"\u2237",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",pcy:"\u043f",percnt:"%",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",phmmat:"\u2133",phone:"\u260e",pitchfork:"\u22d4",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",pointint:"\u2a15",pound:"\xa3",pr:"\u227a",prE:"\u2ab3",prcue:"\u227c",pre:"\u2aaf",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",preceq:"\u2aaf",precsim:"\u227e",primes:"\u2119",prnE:"\u2ab5",prnap:"\u2ab9",prnsim:"\u22e8",prod:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",puncsp:"\u2008"},"p")},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),r(4).add({RBarr:"\u2910",REG:"\xae",Racute:"\u0154",Rang:"\u27eb",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",ReverseElement:"\u220b",ReverseUpEquilibrium:"\u296f",Rho:"\u03a1",RightArrowBar:"\u21e5",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVectorBar:"\u2955",RightTeeVector:"\u295b",RightTriangleBar:"\u29d0",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVectorBar:"\u2954",RightVectorBar:"\u2953",RoundImplies:"\u2970",RuleDelayed:"\u29f4",rAarr:"\u21db",rArr:"\u21d2",rAtail:"\u291c",rBarr:"\u290f",rHar:"\u2964",race:"\u223d\u0331",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrw:"\u219d",ratail:"\u291a",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rbbrk:"\u2773",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",reg:"\xae",rfisht:"\u297d",rfloor:"\u230b",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",rightarrow:"\u2192",rightarrowtail:"\u21a3",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightsquigarrow:"\u219d",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",roplus:"\u2a2e",rotimes:"\u2a35",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",rsaquo:"\u203a",rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",ruluhar:"\u2968",rx:"\u211e"},"r")},function(t,e,r){"use strict";r.r(e);var n=r(26),a=r(15),i=r(12),o=r(17),s=r(16),l=r(2),u=r(21),c=r(0),p=r(13),f=r(19),h=r(6),d=r(18),m=r(11),y=r(20),g=r(22),v=r(10),b=r(8),T=r(9),S=r(1),x=r(5),P=r(23),M=r(14),A=r(24);Object(n.combineWithMathJax)({_:{input:{tex_ts:a,tex:{Configuration:i,FilterUtil:o,FindTeX:s,MapHandler:l,NodeFactory:u,NodeUtil:c,ParseMethods:p,ParseOptions:f,ParseUtil:h,Stack:d,StackItem:m,StackItemFactory:y,Symbol:g,SymbolMap:v,Tags:b,TexConstants:T,TexError:S,TexParser:x,base:{BaseConfiguration:P,BaseItems:M,BaseMethods:A}}}}});var O=r(7);!function(t){if(MathJax.startup){MathJax.startup.registerConstructor("tex",a.TeX),MathJax.startup.useInput("tex"),MathJax.config.tex||(MathJax.config.tex={});var e=MathJax.config.tex.packages;MathJax.config.tex.packages=t,e&&Object(O.insert)(MathJax.config.tex,{packages:e})}}(["base"])}]);
\ No newline at end of file

D js/mathjax/input/tex-full.js => js/mathjax/input/tex-full.js +0 -1
@@ 1,1 0,0 @@
!function(r){var n={};function a(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,a),e.l=!0,e.exports}a.m=r,a.c=n,a.d=function(t,e,r){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=89)}([function(t,e,r){"use strict";var y=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},E=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var v,n,a,o=r(12),i=r(8),N=r(10),s=r(1),c=r(8),b=r(75),l=(u.create=function(t,e){return void 0===e&&(e={}),new u(t,e.handler||{},e.fallback||{},e.items||{},e.tags||{},e.options||{},e.nodes||{},e.preprocessors||[],e.postprocessors||[],[e.init,e.priority],[e.config,e.configPriority])},u.empty=function(){return u.create("empty")},u.extension=function(){return new s.MacroMap(i.ExtensionMaps.NEW_MACRO,{},{}),new s.DelimiterMap(i.ExtensionMaps.NEW_DELIMITER,o.default.delimiter,{}),new s.CommandMap(i.ExtensionMaps.NEW_COMMAND,{},{}),new s.EnvironmentMap(i.ExtensionMaps.NEW_ENVIRONMENT,o.default.environment,{},{}),u.create("extension",{handler:{character:[],delimiter:[i.ExtensionMaps.NEW_DELIMITER],macro:[i.ExtensionMaps.NEW_DELIMITER,i.ExtensionMaps.NEW_COMMAND,i.ExtensionMaps.NEW_MACRO],environment:[i.ExtensionMaps.NEW_ENVIRONMENT]}})},u.prototype.init=function(t){this.initMethod.execute(t)},u.prototype.config=function(t,e){var r,n,a,o;this.configMethod.execute(t,e);try{for(var i=E(this.preprocessors),s=i.next();!s.done;s=i.next()){var l=s.value;"function"==typeof l?e.preFilters.add(l):e.preFilters.add(l[0],l[1])}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}try{for(var c=E(this.postprocessors),u=c.next();!u.done;u=c.next()){var p=u.value;"function"==typeof p?e.postFilters.add(p):e.postFilters.add(p[0],p[1])}}catch(t){a={error:t}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(a)throw a.error}}},u.prototype.append=function(t){var e,r,n,a,o,i,s,l,c,u,p,f,d=Object.keys(t.handler);try{for(var h=E(d),m=h.next();!m.done;m=h.next()){var g=m.value;try{for(var y=(n=void 0,E(t.handler[g])),v=y.next();!v.done;v=y.next()){var b=v.value;this.handler[g].unshift(b)}}catch(t){n={error:t}}finally{try{v&&!v.done&&(a=y.return)&&a.call(y)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{m&&!m.done&&(r=h.return)&&r.call(h)}finally{if(e)throw e.error}}Object.assign(this.fallback,t.fallback),Object.assign(this.items,t.items),Object.assign(this.tags,t.tags),N.defaultOptions(this.options,t.options),Object.assign(this.nodes,t.nodes);try{for(var x=E(t.preprocessors),_=x.next();!_.done;_=x.next()){var A=_.value;this.preprocessors.push(A)}}catch(t){o={error:t}}finally{try{_&&!_.done&&(i=x.return)&&i.call(x)}finally{if(o)throw o.error}}try{for(var w=E(t.postprocessors),M=w.next();!M.done;M=w.next()){var C=M.value;this.postprocessors.push(C)}}catch(t){s={error:t}}finally{try{M&&!M.done&&(l=w.return)&&l.call(w)}finally{if(s)throw s.error}}try{for(var P=E(t.initMethod),S=P.next();!S.done;S=P.next()){var T=S.value;this.initMethod.add(T.item,T.priority)}}catch(t){c={error:t}}finally{try{S&&!S.done&&(u=P.return)&&u.call(P)}finally{if(c)throw c.error}}try{for(var k=E(t.configMethod),O=k.next();!O.done;O=k.next())T=O.value,this.configMethod.add(T.item,T.priority)}catch(t){p={error:t}}finally{try{O&&!O.done&&(f=k.return)&&f.call(k)}finally{if(p)throw p.error}}},u.prototype.register=function(t,e,r){var n,a;void 0===r&&(r={}),this.append(t),t.init(this);var o=e.parseOptions;o.handlers=new c.SubHandlers(this),o.nodeFactory.setCreators(t.nodes);try{for(var i=E(Object.keys(t.items)),s=i.next();!s.done;s=i.next()){var l=s.value;o.itemFactory.setNodeClass(l,t.items[l])}}catch(t){n={error:t}}finally{try{s&&!s.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}N.defaultOptions(o.options,t.options),N.userOptions(o.options,r),t.config(this,e)},u);function u(t,e,r,n,a,o,i,s,l,c,u){void 0===e&&(e={}),void 0===r&&(r={}),void 0===n&&(n={}),void 0===a&&(a={}),void 0===o&&(o={}),void 0===i&&(i={}),void 0===s&&(s=[]),void 0===l&&(l=[]);var p=y(c,2),f=p[0],d=p[1],h=y(u,2),m=h[0],g=h[1];this.name=t,this.handler=e,this.fallback=r,this.items=n,this.tags=a,this.options=o,this.nodes=i,this.preprocessors=s,this.postprocessors=l,this.initMethod=new b.FunctionList,this.configMethod=new b.FunctionList,f&&this.initMethod.add(f,d||0),m&&this.configMethod.add(m,g||d||0),this.handler=Object.assign({character:[],delimiter:[],macro:[],environment:[]},e),v.set(t,this)}e.Configuration=l,n=v=e.ConfigurationHandler||(e.ConfigurationHandler={}),a=new Map,n.set=function(t,e){a.set(t,e)},n.get=function(t){return a.get(t)},n.keys=function(){return a.keys()}},function(t,e,r){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),h=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},m=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},l=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(h(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var g=r(15),o=r(8),i=(Object.defineProperty(s.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),s.prototype.parserFor=function(t){return this.contains(t)?this.parser:null},s.prototype.parse=function(t){var e=h(t,2),r=e[0],n=e[1],a=this.parserFor(n),o=this.lookup(n);return a&&o?a(r,o)||!0:null},Object.defineProperty(s.prototype,"parser",{get:function(){return this._parser},set:function(t){this._parser=t},enumerable:!0,configurable:!0}),s);function s(t,e){this._name=t,this._parser=e,o.MapHandler.register(this)}e.AbstractSymbolMap=i;var c,u=(a(p,c=i),p.prototype.contains=function(t){return this._regExp.test(t)},p.prototype.lookup=function(t){return this.contains(t)?t:null},p);function p(t,e,r){var n=c.call(this,t,e)||this;return n._regExp=r,n}e.RegExpMap=u;var f,d=(a(y,f=i),y.prototype.lookup=function(t){return this.map.get(t)},y.prototype.contains=function(t){return this.map.has(t)},y.prototype.add=function(t,e){this.map.set(t,e)},y);function y(){var t=null!==f&&f.apply(this,arguments)||this;return t.map=new Map,t}e.AbstractParseMap=d;var v,b=(a(x,v=d),x);function x(t,e,r){var n,a,o=v.call(this,t,e)||this;try{for(var i=m(Object.keys(r)),s=i.next();!s.done;s=i.next()){var l=s.value,c=r[l],u=h("string"==typeof c?[c,null]:c,2),p=u[0],f=u[1],d=new g.Symbol(l,p,f);o.add(l,d)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return o}e.CharacterMap=b;var _,A=(a(w,_=b),w.prototype.parse=function(t){var e=h(t,2),r=e[0],n=e[1];return _.prototype.parse.call(this,[r,"\\"+n])},w);function w(){return null!==_&&_.apply(this,arguments)||this}e.DelimiterMap=A;var M,C=(a(P,M=d),P.prototype.parserFor=function(t){var e=this.lookup(t);return e?e.func:null},P.prototype.parse=function(t){var e=h(t,2),r=e[0],n=e[1],a=this.lookup(n),o=this.parserFor(n);return a&&o?o.apply(void 0,l([r,a.symbol],a.args))||!0:null},P);function P(t,e,r){var n,a,o=M.call(this,t,null)||this;try{for(var i=m(Object.keys(e)),s=i.next();!s.done;s=i.next()){var l=s.value,c=e[l],u=h("string"==typeof c?[c]:c),p=u[0],f=u.slice(1),d=new g.Macro(l,r[p],f);o.add(l,d)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return o}e.MacroMap=C;var S,T=(a(k,S=C),k.prototype.parse=function(t){var e=h(t,2),r=e[0],n=e[1],a=this.lookup(n),o=this.parserFor(n);if(!a||!o)return null;if(["\\"+a.symbol].concat(a.args),!o)return null;var i=r.currentCS;r.currentCS="\\"+n;var s=o.apply(void 0,l([r,"\\"+a.symbol],a.args));return r.currentCS=i,s||!0},k);function k(){return null!==S&&S.apply(this,arguments)||this}e.CommandMap=T;var O,E=(a(N,O=C),N.prototype.parse=function(t){var e=h(t,2),r=e[0],n=e[1],a=this.lookup(n),o=this.parserFor(n);return a&&o?(this.parser(r,a.symbol,o,a.args),!0):null},N);function N(t,e,r,n){var a=O.call(this,t,r,n)||this;return a.parser=e,a}e.EnvironmentMap=E},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(i.processString=function(t,e){for(var r=t.split(i.pattern),n=1,a=r.length;n<a;n+=2){var o=r[n].charAt(0);"0"<=o&&o<="9"?(r[n]=e[parseInt(r[n],10)-1],"number"==typeof r[n]&&(r[n]=r[n].toString())):"{"===o&&("0"<=(o=r[n].substr(1))&&o<="9"?(r[n]=e[parseInt(r[n].substr(1,r[n].length-2),10)-1],"number"==typeof r[n]&&(r[n]=r[n].toString())):r[n].match(/^\{([a-z]+):%(\d+)\|(.*)\}$/)&&(r[n]="%"+r[n])),null==r[n]&&(r[n]="???")}return r.join("")},i.pattern=/%(\d+|\{\d+\}|\{[a-z]+:\%\d+(?:\|(?:%\{\d+\}|%.|[^\}])*)+\}|.)/g,i);function i(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];this.id=t,this.message=i.processString(e,r)}e.default=n},function(t,e,r){"use strict";var c=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},n=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},a=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(n(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var o,i,l,s=r(5),u=r(73);function p(t,e){var r,n;try{for(var a=c(Object.keys(e)),o=a.next();!o.done;o=a.next()){var i=o.value,s=e[i];"texClass"===i?(t.texClass=s,t.setProperty(i,s)):"movablelimits"===i?(t.setProperty("movablelimits",s),(t.isKind("mo")||t.isKind("mstyle"))&&t.attributes.set("movablelimits",s)):"inferred"===i||(l.has(i)?t.setProperty(i,s):t.attributes.set(i,s))}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}function f(t,e,r){(t.childNodes[e]=r)&&(r.parent=t)}function d(t,e){return t.isKind(e)}i=o=o||{},l=new Map([["autoOP",!0],["fnOP",!0],["movesupsub",!0],["subsupOK",!0],["texprimestyle",!0],["useHeight",!0],["variantForm",!0],["withDelims",!0],["open",!0],["close",!0]]),i.createEntity=function(t){return String.fromCharCode(parseInt(t,16))},i.getChildren=function(t){return t.childNodes},i.getText=function(t){return t.getText()},i.appendChildren=function(t,e){var r,n;try{for(var a=c(e),o=a.next();!o.done;o=a.next()){var i=o.value;t.appendChild(i)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}},i.setAttribute=function(t,e,r){t.attributes.set(e,r)},i.setProperty=function(t,e,r){t.setProperty(e,r)},i.setProperties=p,i.getProperty=function(t,e){return t.getProperty(e)},i.getAttribute=function(t,e){return t.attributes.get(e)},i.removeProperties=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];t.removeProperty.apply(t,a(e))},i.getChildAt=function(t,e){return t.childNodes[e]},i.setChild=f,i.copyChildren=function(t,e){for(var r=t.childNodes,n=0;n<r.length;n++)f(e,n,r[n])},i.copyAttributes=function(t,e){e.attributes=t.attributes,p(e,t.getAllProperties())},i.isType=d,i.isEmbellished=function(t){return t.isEmbellished},i.getTexClass=function(t){return t.texClass},i.getCoreMO=function(t){return t.coreMO()},i.isNode=function(t){return t instanceof s.AbstractMmlNode||t instanceof s.AbstractMmlEmptyNode},i.isInferred=function(t){return t.isInferred},i.getForm=function(t){var e,r;if(!d(t,"mo"))return null;var n=t,a=n.getForms();try{for(var o=c(a),i=o.next();!i.done;i=o.next()){var s=i.value,l=u.MmlMo.OPTABLE[s][n.getText()];if(l)return l}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return null},e.default=o},function(t,e,r){"use strict";var c=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},u=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var n,a,l,o,i,p,f,d=r(5),h=r(3),m=r(6),g=r(2),s=r(13);function y(t,e){void 0===e&&(e=!1);var r,n,a,o,i,s=t.match(e?f:p);return s?(r=[s[1].replace(/,/,"."),s[4],s[0].length],n=c(r,3),a=n[0],o=n[1],i=n[2],"mu"===o?[v(l[o](parseFloat(a||"1"))).slice(0,-2),"em",i]:[a,o,i]):[null,null,0]}function v(t){return Math.abs(t)<6e-4?"0em":t.toFixed(3).replace(/\.?0+$/,"")+"em"}function b(t,e,r){"{"!==e&&"}"!==e||(e="\\"+e);var n="{\\bigg"+r+" "+e+"}",a="{\\big"+r+" "+e+"}";return new m.default("\\mathchoice"+n+a+a+a,{},t).mml()}function x(t,e,r){e=e.replace(/^\s+/,s.entities.nbsp).replace(/\s+$/,s.entities.nbsp);var n=t.create("text",e);return t.create("node","mtext",[],r,n)}function _(t,e,r){if(r.match(/^[a-z]/i)&&e.match(/(^|[^\\])(\\\\)*\\[a-z]+$/i)&&(e+=" "),e.length+r.length>t.configuration.options.maxBuffer)throw new g.default("MaxBufferSize","MathJax internal buffer size exceeded; is there a recursive macro call?");return e+r}function A(t,e){for(;0<e;)t=t.trim().slice(1,-1),e--;return t.trim()}function w(t,e){for(var r=t.length,n=0,a="",o=0,i=0,s=!0,l=!1;o<r;){var c=t[o++];switch(c){case" ":break;case"{":s?i++:(l=!1,n<i&&(i=n)),n++;break;case"}":n&&n--,(s||l)&&(i--,l=!0),s=!1;break;default:if(!n&&-1!==e.indexOf(c))return[l?"true":A(a,i),c,t.slice(o)];l=s=!1}a+=c}if(n)throw new g.default("ExtraOpenMissingClose","Extra open brace or missing close brace");return[l?"true":A(a,i),"",t.slice(o)]}r(66),a=n=n||{},l={em:function(t){return t},ex:function(t){return.43*t},pt:function(t){return t/10},pc:function(t){return 1.2*t},px:function(t){return 7.2*t/72},in:function(t){return 7.2*t},cm:function(t){return 7.2*t/2.54},mm:function(t){return 7.2*t/25.4},mu:function(t){return t/18}},o="([-+]?([.,]\\d+|\\d+([.,]\\d*)?))",i="(pt|em|ex|mu|px|mm|cm|in|pc)",p=RegExp("^\\s*"+o+"\\s*"+i+"\\s*$"),f=RegExp("^\\s*"+o+"\\s*"+i+" ?"),a.matchDimen=y,a.dimen2em=function(t){var e=c(y(t),3),r=e[0],n=e[1],a=(e[2],parseFloat(r||"1")),o=l[n];return o?o(a):0},a.Em=v,a.fenced=function(t,e,r,n,a){void 0===a&&(a="");var o,i=t.nodeFactory,s=i.create("node","mrow",[],{open:e,close:n,texClass:d.TEXCLASS.INNER});if(a)o=new m.default("\\"+a+"l"+e,t.parser.stack.env,t).mml();else{var l=i.create("text",e);o=i.create("node","mo",[],{fence:!0,stretchy:!0,symmetric:!0,texClass:d.TEXCLASS.OPEN},l)}if(h.default.appendChildren(s,[o]),h.default.isType(r,"mrow")&&h.default.isInferred(r)?h.default.appendChildren(s,h.default.getChildren(r)):h.default.appendChildren(s,[r]),a)o=new m.default("\\"+a+"r"+n,t.parser.stack.env,t).mml();else{var c=i.create("text",n);o=i.create("node","mo",[],{fence:!0,stretchy:!0,symmetric:!0,texClass:d.TEXCLASS.CLOSE},c)}return h.default.appendChildren(s,[o]),s},a.fixedFence=function(t,e,r,n){var a=t.nodeFactory.create("node","mrow",[],{open:e,close:n,texClass:d.TEXCLASS.ORD});return e&&h.default.appendChildren(a,[b(t,e,"l")]),h.default.isType(r,"mrow")?h.default.appendChildren(a,h.default.getChildren(r)):h.default.appendChildren(a,[r]),n&&h.default.appendChildren(a,[b(t,n,"r")]),a},a.mathPalette=b,a.fixInitialMO=function(t,e){for(var r=0,n=e.length;r<n;r++){var a=e[r];if(a&&!h.default.isType(a,"mspace")&&(!h.default.isType(a,"TeXAtom")||h.default.getChildren(a)[0]&&h.default.getChildren(h.default.getChildren(a)[0]).length)){if(h.default.isEmbellished(a)||h.default.isType(a,"TeXAtom")&&h.default.getTexClass(a)===d.TEXCLASS.REL){var o=t.nodeFactory.create("node","mi");e.unshift(o)}break}}},a.internalMath=function(t,e,r){var n,a,o=t.stack.env.font?{mathvariant:t.stack.env.font}:{},i=[],s=0,l=0,c="",u=0;if(e.match(/\\?[${}\\]|\\\(|\\(eq)?ref\s*\{/)){for(;s<e.length;)if("$"===(n=e.charAt(s++)))"$"===c&&0===u?(a=t.create("node","TeXAtom",[new m.default(e.slice(l,s-1),{},t.configuration).mml()]),i.push(a),c="",l=s):""===c&&(l<s-1&&i.push(x(t,e.slice(l,s-1),o)),c="$",l=s);else if("{"===n&&""!==c)u++;else if("}"===n)if("}"===c&&0===u){var p=new m.default(e.slice(l,s),{},t.configuration).mml();a=t.create("node","TeXAtom",[p],o),i.push(a),c="",l=s}else""!==c&&u&&u--;else if("\\"===n)if(""===c&&e.substr(s).match(/^(eq)?ref\s*\{/)){var f=RegExp["$&"].length;l<s-1&&i.push(x(t,e.slice(l,s-1),o)),c="}",l=s-1,s+=f}else"("===(n=e.charAt(s++))&&""===c?(l<s-2&&i.push(x(t,e.slice(l,s-2),o)),c=")",l=s):")"===n&&")"===c&&0===u?(a=t.create("node","TeXAtom",[new m.default(e.slice(l,s-2),{},t.configuration).mml()]),i.push(a),c="",l=s):n.match(/[${}\\]/)&&""===c&&(s--,e=e.substr(0,s-1)+e.substr(s));if(""!==c)throw new g.default("MathNotTerminated","Math not terminated in text box")}return l<e.length&&i.push(x(t,e.slice(l),o)),null!=r?i=[t.create("node","mstyle",i,{displaystyle:!1,scriptlevel:r})]:1<i.length&&(i=[t.create("node","mrow",i)]),i},a.trimSpaces=function(t){if("string"!=typeof t)return t;var e=t.trim();return e.match(/\\$/)&&t.match(/ $/)&&(e+=" "),e},a.setArrayAlign=function(t,e){return"t"===(e=a.trimSpaces(e||""))?t.arraydef.align="baseline 1":"b"===e?t.arraydef.align="baseline -1":"c"===e?t.arraydef.align="center":e&&(t.arraydef.align=e),t},a.substituteArgs=function(t,e,r){for(var n="",a="",o=0;o<r.length;){var i=r.charAt(o++);if("\\"===i)n+=i+r.charAt(o++);else if("#"===i)if("#"===(i=r.charAt(o++)))n+=i;else{if(!i.match(/[1-9]/)||parseInt(i,10)>e.length)throw new g.default("IllegalMacroParam","Illegal macro parameter reference");a=_(t,_(t,a,n),e[parseInt(i,10)-1]),n=""}else n+=i}return _(t,a,n)},a.addArgs=_,a.checkEqnEnv=function(t){if(t.stack.global.eqnenv)throw new g.default("ErroneousNestingEq","Erroneous nesting of equation structures");t.stack.global.eqnenv=!0},a.MmlFilterAttribute=function(t,e,r){return r},a.getFontDef=function(t){var e=t.stack.env.font;return e?{mathvariant:e}:{}},a.keyvalOptions=function(t,e,r){var n,a;void 0===e&&(e=null),void 0===r&&(r=!1);var o=function(t){var e,r,n,a,o,i={},s=t;for(;s;)e=c(w(s,["=",","]),3),a=e[0],n=e[1],s=e[2],"="===n?(r=c(w(s,[","]),3),o=r[0],n=r[1],s=r[2],o="false"===o||"true"===o?JSON.parse(o):o,i[a]=o):a&&(i[a]=!0);return i}(t);if(e)try{for(var i=u(Object.keys(o)),s=i.next();!s.done;s=i.next()){var l=s.value;if(!e.hasOwnProperty(l)){if(r)throw new g.default("InvalidOption","Invalid optional argument: %1",l);delete o[l]}}}catch(t){n={error:t}}finally{try{s&&!s.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return o},e.default=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TEXCLASS=MathJax._.core.MmlTree.MmlNode.TEXCLASS,e.TEXCLASSNAMES=MathJax._.core.MmlTree.MmlNode.TEXCLASSNAMES,e.indentAttributes=MathJax._.core.MmlTree.MmlNode.indentAttributes,e.AbstractMmlNode=MathJax._.core.MmlTree.MmlNode.AbstractMmlNode,e.AbstractMmlTokenNode=MathJax._.core.MmlTree.MmlNode.AbstractMmlTokenNode,e.AbstractMmlLayoutNode=MathJax._.core.MmlTree.MmlNode.AbstractMmlLayoutNode,e.AbstractMmlBaseNode=MathJax._.core.MmlTree.MmlNode.AbstractMmlBaseNode,e.AbstractMmlEmptyNode=MathJax._.core.MmlTree.MmlNode.AbstractMmlEmptyNode,e.TextNode=MathJax._.core.MmlTree.MmlNode.TextNode,e.XMLNode=MathJax._.core.MmlTree.MmlNode.XMLNode},function(t,e,r){"use strict";var p=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},s=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},a=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(s(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var l=r(4),f=r(21),c=r(2),n=r(5),o=(Object.defineProperty(i.prototype,"options",{get:function(){return this.configuration.options},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"itemFactory",{get:function(){return this.configuration.itemFactory},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"tags",{get:function(){return this.configuration.tags},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"string",{get:function(){return this._string},set:function(t){this._string=t},enumerable:!0,configurable:!0}),i.prototype.parse=function(t,e){return this.configuration.handlers.get(t).parse(e)},i.prototype.lookup=function(t,e){return this.configuration.handlers.get(t).lookup(e)},i.prototype.contains=function(t,e){return this.configuration.handlers.get(t).contains(e)},i.prototype.toString=function(){var e,t,r="";try{for(var n=p(Array.from(this.configuration.handlers.keys())),a=n.next();!a.done;a=n.next()){var o=a.value;r+=o+": "+this.configuration.handlers.get(o)+"\n"}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},i.prototype.Parse=function(){for(var t,e;this.i<this.string.length;)55296<=(e=(t=this.string.charAt(this.i++)).charCodeAt(0))&&e<56320&&(t+=this.string.charAt(this.i++)),this.parse("character",[this,t])},i.prototype.Push=function(t){t instanceof n.AbstractMmlNode&&t.isInferred?this.PushAll(t.childNodes):this.stack.Push(t)},i.prototype.PushAll=function(t){var e,r;try{for(var n=p(t),a=n.next();!a.done;a=n.next()){var o=a.value;this.stack.Push(o)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},i.prototype.mml=function(){if(!this.stack.Top().isKind("mml"))return null;var t=this.stack.Top().First;return this.configuration.popParser(),t},i.prototype.convertDelimiter=function(t){var e=this.lookup("delimiter",t);return e?e.char:null},i.prototype.nextIsSpace=function(){return this.string.charAt(this.i).match(/\s/)},i.prototype.GetNext=function(){for(;this.nextIsSpace();)this.i++;return this.string.charAt(this.i)},i.prototype.GetCS=function(){var t=this.string.slice(this.i).match(/^([a-z]+|.) ?/i);return t?(this.i+=t[1].length,t[1]):(this.i++," ")},i.prototype.GetArgument=function(t,e){switch(this.GetNext()){case"":if(!e)throw new c.default("MissingArgFor","Missing argument for %1",this.currentCS);return null;case"}":if(!e)throw new c.default("ExtraCloseMissingOpen","Extra close brace or missing open brace");return null;case"\\":return this.i++,"\\"+this.GetCS();case"{":for(var r=++this.i,n=1;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case"\\":this.i++;break;case"{":n++;break;case"}":if(0==--n)return this.string.slice(r,this.i-1)}throw new c.default("MissingCloseBrace","Missing close brace")}return this.string.charAt(this.i++)},i.prototype.GetBrackets=function(t,e){if("["!==this.GetNext())return e;for(var r=++this.i,n=0;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case"{":n++;break;case"\\":this.i++;break;case"}":if(n--<=0)throw new c.default("ExtraCloseLooking","Extra close brace while looking for %1","']'");break;case"]":if(0===n)return this.string.slice(r,this.i-1)}throw new c.default("MissingCloseBracket","Could not find closing ']' for argument to %1",this.currentCS)},i.prototype.GetDelimiter=function(t,e){for(;this.nextIsSpace();)this.i++;var r=this.string.charAt(this.i);if(this.i++,this.i<=this.string.length&&("\\"===r?r+=this.GetCS():"{"===r&&e&&(this.i--,r=this.GetArgument(t)),this.contains("delimiter",r)))return this.convertDelimiter(r);throw new c.default("MissingOrUnrecognizedDelim","Missing or unrecognized delimiter for %1",this.currentCS)},i.prototype.GetDimen=function(t){if(this.nextIsSpace()&&this.i++,"{"===this.string.charAt(this.i)){var e=this.GetArgument(t),r=s(l.default.matchDimen(e),3),n=r[0],a=r[1];if(r[2],n)return n+a}else{e=this.string.slice(this.i);var o=s(l.default.matchDimen(e,!0),3),i=(n=o[0],a=o[1],o[2]);if(n)return this.i+=i,n+a}throw new c.default("MissingDimOrUnits","Missing dimension or its units for %1",this.currentCS)},i.prototype.GetUpTo=function(t,e){for(;this.nextIsSpace();)this.i++;for(var r=this.i,n=0;this.i<this.string.length;){var a=this.i,o=this.string.charAt(this.i++);switch(o){case"\\":o+=this.GetCS();break;case"{":n++;break;case"}":if(0===n)throw new c.default("ExtraCloseLooking","Extra close brace while looking for %1",e);n--}if(0===n&&o===e)return this.string.slice(r,a)}throw new c.default("TokenNotFoundForCommand","Could not find %1 for %2",e,this.currentCS)},i.prototype.ParseArg=function(t){return new i(this.GetArgument(t),this.stack.env,this.configuration).mml()},i.prototype.ParseUpTo=function(t,e){return new i(this.GetUpTo(t,e),this.stack.env,this.configuration).mml()},i.prototype.GetDelimiterArg=function(t){var e=l.default.trimSpaces(this.GetArgument(t));if(""===e)return null;if(this.contains("delimiter",e))return e;throw new c.default("MissingOrUnrecognizedDelim","Missing or unrecognized delimiter for %1",this.currentCS)},i.prototype.GetStar=function(){var t="*"===this.GetNext();return t&&this.i++,t},i.prototype.create=function(t){for(var e,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return(e=this.configuration.nodeFactory).create.apply(e,a([t],r))},i);function i(t,e,r){var n,a;this._string=t,this.configuration=r,this.macroCount=0,this.i=0,this.currentCS="";var o,i=e.hasOwnProperty("isInner"),s=e.isInner;if(delete e.isInner,e){o={};try{for(var l=p(Object.keys(e)),c=l.next();!c.done;c=l.next()){var u=c.value;o[u]=e[u]}}catch(t){n={error:t}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}}this.configuration.pushParser(this),this.stack=new f.default(this.itemFactory,o,!i||s),this.Parse(),this.Push(this.itemFactory.create("stop"))}e.default=o},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),(n=e.TexConstant||(e.TexConstant={})).Variant={NORMAL:"normal",BOLD:"bold",ITALIC:"italic",BOLDITALIC:"bold-italic",DOUBLESTRUCK:"double-struck",FRAKTUR:"fraktur",BOLDFRAKTUR:"bold-fraktur",SCRIPT:"script",BOLDSCRIPT:"bold-script",SANSSERIF:"sans-serif",BOLDSANSSERIF:"bold-sans-serif",SANSSERIFITALIC:"sans-serif-italic",SANSSERIFBOLDITALIC:"sans-serif-bold-italic",MONOSPACE:"monospace",INITIAL:"inital",TAILED:"tailed",LOOPED:"looped",STRETCHED:"stretched",CALLIGRAPHIC:"-tex-calligraphic",OLDSTYLE:"-tex-oldstyle"},n.Form={PREFIX:"prefix",INFIX:"infix",POSTFIX:"postfix"},n.LineBreak={AUTO:"auto",NEWLINE:"newline",NOBREAK:"nobreak",GOODBREAK:"goodbreak",BADBREAK:"badbreak"},n.LineBreakStyle={BEFORE:"before",AFTER:"after",DUPLICATE:"duplicate",INFIXLINBREAKSTYLE:"infixlinebreakstyle"},n.IndentAlign={LEFT:"left",CENTER:"center",RIGHT:"right",AUTO:"auto",ID:"id",INDENTALIGN:"indentalign"},n.IndentShift={INDENTSHIFT:"indentshift"},n.LineThickness={THIN:"thin",MEDIUM:"medium",THICK:"thick"},n.Notation={LONGDIV:"longdiv",ACTUARIAL:"actuarial",PHASORANGLE:"phasorangle",RADICAL:"radical",BOX:"box",ROUNDEDBOX:"roundedbox",CIRCLE:"circle",LEFT:"left",RIGHT:"right",TOP:"top",BOTTOM:"bottom",UPDIAGONALSTRIKE:"updiagonalstrike",DOWNDIAGONALSTRIKE:"downdiagonalstrike",VERTICALSTRIKE:"verticalstrike",HORIZONTALSTRIKE:"horizontalstrike",NORTHEASTARROW:"northeastarrow",MADRUWB:"madruwb",UPDIAGONALARROW:"updiagonalarrow"},n.Align={TOP:"top",BOTTOM:"bottom",CENTER:"center",BASELINE:"baseline",AXIS:"axis",LEFT:"left",RIGHT:"right"},n.Lines={NONE:"none",SOLID:"solid",DASHED:"dashed"},n.Side={LEFT:"left",RIGHT:"right",LEFTOVERLAP:"leftoverlap",RIGHTOVERLAP:"rightoverlap"},n.Width={AUTO:"auto",FIT:"fit"},n.Actiontype={TOGGLE:"toggle",STATUSLINE:"statusline",TOOLTIP:"tooltip",INPUT:"input"},n.Length={VERYVERYTHINMATHSPACE:"veryverythinmathspace",VERYTHINMATHSPACE:"verythinmathspace",THINMATHSPACE:"thinmathspace",MEDIUMMATHSPACE:"mediummathspace",THICKMATHSPACE:"thickmathspace",VERYTHICKMATHSPACE:"verythickmathspace",VERYVERYTHICKMATHSPACE:"veryverythickmathspace",NEGATIVEVERYVERYTHINMATHSPACE:"negativeveryverythinmathspace",NEGATIVEVERYTHINMATHSPACE:"negativeverythinmathspace",NEGATIVETHINMATHSPACE:"negativethinmathspace",NEGATIVEMEDIUMMATHSPACE:"negativemediummathspace",NEGATIVETHICKMATHSPACE:"negativethickmathspace",NEGATIVEVERYTHICKMATHSPACE:"negativeverythickmathspace",NEGATIVEVERYVERYTHICKMATHSPACE:"negativeveryverythickmathspace"},n.Overflow={LINBREAK:"linebreak",SCROLL:"scroll",ELIDE:"elide",TRUNCATE:"truncate",SCALE:"scale"},n.Unit={EM:"em",EX:"ex",PX:"px",IN:"in",CM:"cm",MM:"mm",PT:"pt",PC:"pc"}},function(t,e,r){"use strict";var n,a,o,c=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},u=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i};Object.defineProperty(e,"__esModule",{value:!0}),a=n=e.MapHandler||(e.MapHandler={}),o=new Map,a.register=function(t){o.set(t.name,t)},a.getMap=function(t){return o.get(t)},e.ExtensionMaps={NEW_MACRO:"new-Macro",NEW_DELIMITER:"new-Delimiter",NEW_COMMAND:"new-Command",NEW_ENVIRONMENT:"new-Environment"};var s=(i.prototype.add=function(t){var e=n.getMap(t);e?this._configuration.push(e):this.warn("Configuration "+t+" not found! Omitted.")},i.prototype.parse=function(t){var e,r;try{for(var n=c(this._configuration),a=n.next();!a.done;a=n.next()){var o=a.value.parse(t);if(o)return o}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}var i=u(t,2),s=i[0],l=i[1];this._fallback(s,l)},i.prototype.lookup=function(t){var e=this.applicable(t);return e?e.lookup(t):null},i.prototype.contains=function(t){return!!this.applicable(t)},i.prototype.toString=function(){return this._configuration.map(function(t){return t.name}).join(", ")},i.prototype.applicable=function(t){var e,r;try{for(var n=c(this._configuration),a=n.next();!a.done;a=n.next()){var o=a.value;if(o.contains(t))return o}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},i.prototype.retrieve=function(e){return this._configuration.find(function(t){return t.name===e})},i.prototype.warn=function(t){console.log("TexParser Warning: "+t)},i);function i(t,e){var r,n;this._fallback=e,this._configuration=[];try{for(var a=c(t),o=a.next();!o.done;o=a.next()){var i=o.value;this.add(i)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}e.SubHandler=s;var l=(p.prototype.set=function(t,e){this.map.set(t,e)},p.prototype.get=function(t){return this.map.get(t)},p.prototype.retrieve=function(t){var e,r;try{for(var n=c(this.map.values()),a=n.next();!a.done;a=n.next()){var o=a.value.retrieve(t);if(o)return o}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},p.prototype.keys=function(){return this.map.keys()},p);function p(t){var e,r;this.map=new Map;try{for(var n=c(Object.keys(t.handler)),a=n.next();!a.done;a=n.next()){var o=a.value,i=new s(t.handler[o]||[],t.fallback[o]);this.set(o,i)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}}e.SubHandlers=l},function(t,e,r){"use strict";var d=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i};Object.defineProperty(e,"__esModule",{value:!0});var h=r(18),p=r(3),m=r(2),c=r(6),g=r(7),y=r(4),f=r(5),s=r(14),o=r(13);r(66),r(77),r(78);var a={},u={fontfamily:1,fontsize:1,fontweight:1,fontstyle:1,color:1,background:1,id:1,class:1,href:1,style:1};function i(t,e){var r=t.stack.env,n=r.inRoot;r.inRoot=!0;var a=new c.default(e,r,t.configuration),o=a.mml(),i=a.stack.global;if(i.leftRoot||i.upRoot){var s={};i.leftRoot&&(s.width=i.leftRoot),i.upRoot&&(s.voffset=i.upRoot,s.height=i.upRoot),o=t.create("node","mpadded",[o],s)}return r.inRoot=n,o}a.Open=function(t,e){t.Push(t.itemFactory.create("open"))},a.Close=function(t,e){t.Push(t.itemFactory.create("close"))},a.Tilde=function(t,e){t.Push(t.create("token","mtext",{},o.entities.nbsp))},a.Space=function(t,e){},a.Superscript=function(t,e){var r,n,a;t.GetNext().match(/\d/)&&(t.string=t.string.substr(0,t.i+1)+" "+t.string.substr(t.i+1));var o=t.stack.Top();o.isKind("prime")?(a=(r=d(o.Peek(2),2))[0],n=r[1],t.stack.Pop()):a=(a=t.stack.Prev())||t.create("token","mi",{},"");var i=p.default.getProperty(a,"movesupsub"),s=p.default.isType(a,"msubsup")?a.sup:a.over;if(p.default.isType(a,"msubsup")&&!p.default.isType(a,"msup")&&p.default.getChildAt(a,a.sup)||p.default.isType(a,"munderover")&&!p.default.isType(a,"mover")&&p.default.getChildAt(a,a.over)&&!p.default.getProperty(a,"subsupOK"))throw new m.default("DoubleExponent","Double exponent: use braces to clarify");p.default.isType(a,"msubsup")&&!p.default.isType(a,"msup")||(s=i?(p.default.isType(a,"munderover")&&!p.default.isType(a,"mover")&&!p.default.getChildAt(a,a.over)||(a=t.create("node","munderover",[a],{movesupsub:!0})),a.over):(a=t.create("node","msubsup",[a])).sup),t.Push(t.itemFactory.create("subsup",a).setProperties({position:s,primes:n,movesupsub:i}))},a.Subscript=function(t,e){var r,n,a;t.GetNext().match(/\d/)&&(t.string=t.string.substr(0,t.i+1)+" "+t.string.substr(t.i+1));var o=t.stack.Top();o.isKind("prime")?(a=(r=d(o.Peek(2),2))[0],n=r[1],t.stack.Pop()):a=(a=t.stack.Prev())||t.create("token","mi",{},"");var i=p.default.getProperty(a,"movesupsub"),s=p.default.isType(a,"msubsup")?a.sub:a.under;if(p.default.isType(a,"msubsup")&&!p.default.isType(a,"msup")&&p.default.getChildAt(a,a.sub)||p.default.isType(a,"munderover")&&!p.default.isType(a,"mover")&&p.default.getChildAt(a,a.under)&&!p.default.getProperty(a,"subsupOK"))throw new m.default("DoubleSubscripts","Double subscripts: use braces to clarify");p.default.isType(a,"msubsup")&&!p.default.isType(a,"msup")||(s=i?(p.default.isType(a,"munderover")&&!p.default.isType(a,"mover")&&!p.default.getChildAt(a,a.under)||(a=t.create("node","munderover",[a],{movesupsub:!0})),a.under):(a=t.create("node","msubsup",[a])).sub),t.Push(t.itemFactory.create("subsup",a).setProperties({position:s,primes:n,movesupsub:i}))},a.Prime=function(t,e){var r=t.stack.Prev();if(r=r||t.create("node","mi"),p.default.isType(r,"msubsup")&&!p.default.isType(r,"msup")&&p.default.getChildAt(r,r.sup))throw new m.default("DoubleExponentPrime","Prime causes double exponent: use braces to clarify");var n="";for(t.i--;n+=o.entities.prime,t.i++,"'"===(e=t.GetNext())||e===o.entities.rquote;);n=["","\u2032","\u2033","\u2034","\u2057"][n.length]||n;var a=t.create("token","mo",{},n);t.Push(t.itemFactory.create("prime",r,a))},a.Comment=function(t,e){for(;t.i<t.string.length&&"\n"!==t.string.charAt(t.i);)t.i++},a.Hash=function(t,e){throw new m.default("CantUseHash1","You can't use 'macro parameter character #' in math mode")},a.SetFont=function(t,e,r){t.stack.env.font=r},a.SetStyle=function(t,e,r,n,a){t.stack.env.style=r,t.stack.env.level=a,t.Push(t.itemFactory.create("style").setProperty("styles",{displaystyle:n,scriptlevel:a}))},a.SetSize=function(t,e,r){t.stack.env.size=r,t.Push(t.itemFactory.create("style").setProperty("styles",{mathsize:r+"em"}))},a.Spacer=function(t,e,r){var n=t.create("node","mspace",[],{width:r}),a=t.create("node","mstyle",[n],{scriptlevel:0});t.Push(a)},a.LeftRight=function(t,e){var r=e.substr(1);t.Push(t.itemFactory.create(r).setProperty("delim",t.GetDelimiter(e)))},a.Middle=function(t,e){var r=t.GetDelimiter(e),n=t.create("node","TeXAtom",[],{texClass:f.TEXCLASS.CLOSE});if(t.Push(n),!t.stack.Top().isKind("left"))throw new m.default("MisplacedMiddle","%1 must be within \\left and \\right",t.currentCS);n=t.create("token","mo",{stretchy:!0},r),t.Push(n),n=t.create("node","TeXAtom",[],{texClass:f.TEXCLASS.OPEN}),t.Push(n)},a.NamedFn=function(t,e,r){r=r||e.substr(1);var n=t.create("token","mi",{texClass:f.TEXCLASS.OP},r);t.Push(t.itemFactory.create("fn",n))},a.NamedOp=function(t,e,r){r=(r=r||e.substr(1)).replace(/&thinsp;/,"\u2006");var n=t.create("token","mo",{movablelimits:!0,movesupsub:!0,form:g.TexConstant.Form.PREFIX,texClass:f.TEXCLASS.OP},r);t.Push(n)},a.Limits=function(t,e,r){var n=t.stack.Prev(!0);if(!n||p.default.getTexClass(p.default.getCoreMO(n))!==f.TEXCLASS.OP&&null==p.default.getProperty(n,"movesupsub"))throw new m.default("MisplacedLimits","%1 is allowed only on operators",t.currentCS);var a,o=t.stack.Top();p.default.isType(n,"munderover")&&!r?(a=t.create("node","msubsup"),p.default.copyChildren(n,a),n=o.Last=a):p.default.isType(n,"msubsup")&&r&&(a=t.create("node","munderover"),p.default.copyChildren(n,a),n=o.Last=a),p.default.setProperty(n,"movesupsub",!!r),p.default.setProperties(p.default.getCoreMO(n),{movablelimits:!1}),(p.default.getAttribute(n,"movablelimits")||p.default.getProperty(n,"movablelimits"))&&p.default.setProperties(n,{movablelimits:!1})},a.Over=function(t,e,r,n){var a=t.itemFactory.create("over").setProperty("name",t.currentCS);r||n?(a.setProperty("open",r),a.setProperty("close",n)):e.match(/withdelims$/)&&(a.setProperty("open",t.GetDelimiter(e)),a.setProperty("close",t.GetDelimiter(e))),e.match(/^\\above/)?a.setProperty("thickness",t.GetDimen(e)):(e.match(/^\\atop/)||r||n)&&a.setProperty("thickness",0),t.Push(a)},a.Frac=function(t,e){var r=t.ParseArg(e),n=t.ParseArg(e),a=t.create("node","mfrac",[r,n]);t.Push(a)},a.Sqrt=function(t,e){var r=t.GetBrackets(e),n=t.GetArgument(e);"\\frac"===n&&(n+="{"+t.GetArgument(n)+"}{"+t.GetArgument(n)+"}");var a=new c.default(n,t.stack.env,t.configuration).mml();a=r?t.create("node","mroot",[a,i(t,r)]):t.create("node","msqrt",[a]),t.Push(a)},a.Root=function(t,e){var r=t.GetUpTo(e,"\\of"),n=t.ParseArg(e),a=t.create("node","mroot",[n,i(t,r)]);t.Push(a)},a.MoveRoot=function(t,e,r){if(!t.stack.env.inRoot)throw new m.default("MisplacedMoveRoot","%1 can appear only within a root",t.currentCS);if(t.stack.global[r])throw new m.default("MultipleMoveRoot","Multiple use of %1",t.currentCS);var n=t.GetArgument(e);if(!n.match(/-?[0-9]+/))throw new m.default("IntegerArg","The argument to %1 must be an integer",t.currentCS);"-"!==(n=parseInt(n,10)/15+"em").substr(0,1)&&(n="+"+n),t.stack.global[r]=n},a.Accent=function(t,e,r,n){var a=t.ParseArg(e),o=y.default.getFontDef(t);o.accent=!0;var i=p.default.createEntity(r),s=t.create("token","mo",o,i);p.default.setAttribute(s,"stretchy",!!n);var l=p.default.isEmbellished(a)?p.default.getCoreMO(a):a;p.default.isType(l,"mo")&&p.default.setProperties(l,{movablelimits:!1});var c=t.create("node","munderover");p.default.setChild(c,0,a),p.default.setChild(c,1,null),p.default.setChild(c,2,s);var u=t.create("node","TeXAtom",[c]);t.Push(u)},a.UnderOver=function(t,e,r,n,a){var o,i=t.ParseArg(e),s=p.default.getForm(i);(s&&s[3]&&s[3].movablelimits||p.default.getProperty(i,"movablelimits"))&&p.default.setProperties(i,{movablelimits:!1}),p.default.isType(i,"munderover")&&p.default.isEmbellished(i)&&(p.default.setProperties(p.default.getCoreMO(i),{lspace:0,rspace:0}),o=t.create("node","mo",[],{rspace:0}),i=t.create("node","mrow",[o,i]));var l=t.create("node","munderover",[i]),c=p.default.createEntity(r);o=t.create("token","mo",{stretchy:!0,accent:!a},c),p.default.setChild(l,"o"===e.charAt(1)?l.over:l.under,o);var u=l;n&&(u=t.create("node","TeXAtom",[l],{texClass:f.TEXCLASS.OP,movesupsub:!0})),p.default.setProperty(u,"subsupOK",!0),t.Push(u)},a.Overset=function(t,e){var r=t.ParseArg(e),n=t.ParseArg(e);(p.default.getAttribute(n,"movablelimits")||p.default.getProperty(n,"movablelimits"))&&p.default.setProperties(n,{movablelimits:!1});var a=t.create("node","mover",[n,r]);t.Push(a)},a.Underset=function(t,e){var r=t.ParseArg(e),n=t.ParseArg(e);(p.default.getAttribute(n,"movablelimits")||p.default.getProperty(n,"movablelimits"))&&p.default.setProperties(n,{movablelimits:!1});var a=t.create("node","munder",[n,r]);t.Push(a)},a.TeXAtom=function(t,e,r){var n,a,o,i={texClass:r};if(r===f.TEXCLASS.OP){i.movesupsub=i.movablelimits=!0;var s=t.GetArgument(e),l=s.match(/^\s*\\rm\s+([a-zA-Z0-9 ]+)$/);a=l?(i.mathvariant=g.TexConstant.Variant.NORMAL,t.create("token","mi",i,l[1])):(o=new c.default(s,t.stack.env,t.configuration).mml(),t.create("node","TeXAtom",[o],i)),n=t.itemFactory.create("fn",a)}else o=t.ParseArg(e),n=t.create("node","TeXAtom",[o],i);t.Push(n)},a.MmlToken=function(t,e){var r,n=t.GetArgument(e),a=t.GetBrackets(e,"").replace(/^\s+/,""),o=t.GetArgument(e),i={};try{r=t.create("node",n)}catch(t){r=null}if(!r||!r.isToken)throw new m.default("NotMathMLToken","%1 is not a token element",n);for(;""!==a;){var s=a.match(/^([a-z]+)\s*=\s*('[^']*'|"[^"]*"|[^ ,]*)\s*,?\s*/i);if(!s)throw new m.default("InvalidMathMLAttr","Invalid MathML attribute: %1",a);if(!r.attributes.hasDefault(s[1])&&!u[s[1]])throw new m.default("UnknownAttrForElement","%1 is not a recognized attribute for %2",s[1],n);var l=y.default.MmlFilterAttribute(t,s[1],s[2].replace(/^(['"])(.*)\1$/,"$2"));l&&("true"===l.toLowerCase()?l=!0:"false"===l.toLowerCase()&&(l=!1),i[s[1]]=l),a=a.substr(s[0].length)}var c=t.create("text",o);r.appendChild(c),p.default.setProperties(r,i),t.Push(r)},a.Strut=function(t,e){var r=t.create("node","mrow"),n=t.create("node","mpadded",[r],{height:"8.6pt",depth:"3pt",width:0});t.Push(n)},a.Phantom=function(t,e,r,n){var a=t.create("node","mphantom",[t.ParseArg(e)]);(r||n)&&(a=t.create("node","mpadded",[a]),n&&(p.default.setAttribute(a,"height",0),p.default.setAttribute(a,"depth",0)),r&&p.default.setAttribute(a,"width",0));var o=t.create("node","TeXAtom",[a]);t.Push(o)},a.Smash=function(t,e){var r=y.default.trimSpaces(t.GetBrackets(e,"")),n=t.create("node","mpadded",[t.ParseArg(e)]);switch(r){case"b":p.default.setAttribute(n,"depth",0);break;case"t":p.default.setAttribute(n,"height",0);break;default:p.default.setAttribute(n,"height",0),p.default.setAttribute(n,"depth",0)}var a=t.create("node","TeXAtom",[n]);t.Push(a)},a.Lap=function(t,e){var r=t.create("node","mpadded",[t.ParseArg(e)],{width:0});"\\llap"===e&&p.default.setAttribute(r,"lspace","-1width");var n=t.create("node","TeXAtom",[r]);t.Push(n)},a.RaiseLower=function(t,e){var r=t.GetDimen(e),n=t.itemFactory.create("position").setProperties({name:t.currentCS,move:"vertical"});"-"===r.charAt(0)&&(r=r.slice(1),e="raise"===e.substr(1)?"\\lower":"\\raise"),"\\lower"===e?(n.setProperty("dh","-"+r),n.setProperty("dd","+"+r)):(n.setProperty("dh","+"+r),n.setProperty("dd","-"+r)),t.Push(n)},a.MoveLeftRight=function(t,e){var r=t.GetDimen(e),n="-"===r.charAt(0)?r.slice(1):"-"+r;if("\\moveleft"===e){var a=r;r=n,n=a}t.Push(t.itemFactory.create("position").setProperties({name:t.currentCS,move:"horizontal",left:t.create("node","mspace",[],{width:r}),right:t.create("node","mspace",[],{width:n})}))},a.Hskip=function(t,e){var r=t.create("node","mspace",[],{width:t.GetDimen(e)});t.Push(r)},a.Rule=function(t,e,r){var n={width:t.GetDimen(e),height:t.GetDimen(e),depth:t.GetDimen(e)};"blank"!==r&&(n.mathbackground=t.stack.env.color||"black");var a=t.create("node","mspace",[],n);t.Push(a)},a.rule=function(t,e){var r=t.GetBrackets(e),n=t.GetDimen(e),a=t.GetDimen(e),o=t.create("node","mspace",[],{width:n,height:a,mathbackground:t.stack.env.color||"black"});r&&(o=t.create("node","mpadded",[o],{voffset:r}),r.match(/^\-/)?(p.default.setAttribute(o,"height",r),p.default.setAttribute(o,"depth","+"+r.substr(1))):p.default.setAttribute(o,"height","+"+r)),t.Push(o)},a.MakeBig=function(t,e,r,n){n*=1.2/.85;var a=String(n).replace(/(\.\d\d\d).+/,"$1")+"em",o=t.GetDelimiter(e,!0),i=t.create("token","mo",{minsize:a,maxsize:a,fence:!0,stretchy:!0,symmetric:!0},o),s=t.create("node","TeXAtom",[i],{texClass:r});t.Push(s)},a.BuildRel=function(t,e){var r=t.ParseUpTo(e,"\\over"),n=t.ParseArg(e),a=t.create("node","munderover");p.default.setChild(a,0,n),p.default.setChild(a,1,null),p.default.setChild(a,2,r);var o=t.create("node","TeXAtom",[a],{texClass:f.TEXCLASS.REL});t.Push(o)},a.HBox=function(t,e,r){t.PushAll(y.default.internalMath(t,t.GetArgument(e),r))},a.FBox=function(t,e){var r=y.default.internalMath(t,t.GetArgument(e)),n=t.create("node","menclose",r,{notation:"box"});t.Push(n)},a.Not=function(t,e){t.Push(t.itemFactory.create("not"))},a.Dots=function(t,e){var r=p.default.createEntity("2026"),n=p.default.createEntity("22EF"),a=t.create("token","mo",{stretchy:!1},r),o=t.create("token","mo",{stretchy:!1},n);t.Push(t.itemFactory.create("dots").setProperties({ldots:a,cdots:o}))},a.Matrix=function(t,e,r,n,a,o,i,s,l,c){var u=t.GetNext();if(""===u)throw new m.default("MissingArgFor","Missing argument for %1",t.currentCS);"{"===u?t.i++:(t.string=u+"}"+t.string.slice(t.i+1),t.i=0);var p=t.itemFactory.create("array").setProperty("requireClose",!0);p.arraydef={rowspacing:i||"4pt",columnspacing:o||"1em"},l&&p.setProperty("isCases",!0),c&&(p.setProperty("isNumbered",!0),p.arraydef.side=c),(r||n)&&(p.setProperty("open",r),p.setProperty("close",n)),"D"===s&&(p.arraydef.displaystyle=!0),null!=a&&(p.arraydef.columnalign=a),t.Push(p)},a.Entry=function(t,e){if(t.Push(t.itemFactory.create("cell").setProperties({isEntry:!0,name:e})),t.stack.Top().getProperty("isCases")){for(var r=t.string,n=0,a=-1,o=t.i,i=r.length;o<i;){var s=r.charAt(o);if("{"===s)n++,o++;else if("}"===s)0===n?i=0:(0===--n&&a<0&&(a=o-t.i),o++);else{if("&"===s&&0===n)throw new m.default("ExtraAlignTab","Extra alignment tab in \\cases text");"\\"===s?r.substr(o).match(/^((\\cr)[^a-zA-Z]|\\\\)/)?i=0:o+=2:o++}}var l=r.substr(t.i,o-t.i);if(!l.match(/^\s*\\text[^a-zA-Z]/)||a!==l.replace(/\s+$/,"").length-1){var c=y.default.internalMath(t,l,0);t.PushAll(c),t.i=o}}},a.Cr=function(t,e){t.Push(t.itemFactory.create("cell").setProperties({isCR:!0,name:e}))},a.CrLaTeX=function(t,e,r){var n;if(void 0===r&&(r=!1),!r&&"["===t.string.charAt(t.i)){var a=t.GetBrackets(e,""),o=d(y.default.matchDimen(a),3),i=o[0],s=o[1];o[2];if(a&&!i)throw new m.default("BracketMustBeDimension","Bracket argument to %1 must be a dimension",t.currentCS);n=i+s}t.Push(t.itemFactory.create("cell").setProperties({isCR:!0,name:e,linebreak:!0}));var l,c=t.stack.Top();if(c instanceof h.ArrayItem){if(n&&c.arraydef.rowspacing){var u=c.arraydef.rowspacing.split(/ /);if(!c.getProperty("rowspacing")){var p=y.default.dimen2em(u[0]);c.setProperty("rowspacing",p)}for(var f=c.getProperty("rowspacing");u.length<c.table.length;)u.push(y.default.Em(f));u[c.table.length-1]=y.default.Em(Math.max(0,f+y.default.dimen2em(n))),c.arraydef.rowspacing=u.join(" ")}}else n&&(l=t.create("node","mspace",[],{depth:n}),t.Push(l)),l=t.create("node","mspace",[],{linebreak:g.TexConstant.LineBreak.NEWLINE}),t.Push(l)},a.HLine=function(t,e,r){null==r&&(r="solid");var n=t.stack.Top();if(!(n instanceof h.ArrayItem)||n.Size())throw new m.default("Misplaced","Misplaced %1",t.currentCS);if(n.table.length){for(var a=n.arraydef.rowlines?n.arraydef.rowlines.split(/ /):[];a.length<n.table.length;)a.push("none");a[n.table.length-1]=r,n.arraydef.rowlines=a.join(" ")}else n.frame.push("top")},a.HFill=function(t,e){var r=t.stack.Top();if(!(r instanceof h.ArrayItem))throw new m.default("UnsupportedHFill","Unsupported use of %1",t.currentCS);r.hfill.push(r.Size())},a.BeginEnd=function(t,e){var r=t.GetArgument(e);if(r.match(/\\/i))throw new m.default("InvalidEnv","Invalid environment name '%1'",r);var n=t.configuration.handlers.get("environment").lookup(r);if(n&&"\\end"===e){if(!n.args[0]){var a=t.itemFactory.create("end").setProperty("name",r);return void t.Push(a)}t.stack.env.closing=r}if(++t.macroCount>t.configuration.options.maxMacros)throw new m.default("MaxMacroSub2","MathJax maximum substitution count exceeded; is there a recursive latex environment?");t.parse("environment",[t,r])},a.Array=function(t,e,r,n,a,o,i,s,l){var c=("c"+(a=a||t.GetArgument("\\begin{"+e.getName()+"}"))).replace(/[^clr|:]/g,"").replace(/[^|:]([|:])+/g,"$1");a=(a=a.replace(/[^clr]/g,"").split("").join(" ")).replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");var u=t.itemFactory.create("array");return u.arraydef={columnalign:a,columnspacing:o||"1em",rowspacing:i||"4pt"},c.match(/[|:]/)&&(c.charAt(0).match(/[|:]/)&&(u.frame.push("left"),u.dashed=":"===c.charAt(0)),c.charAt(c.length-1).match(/[|:]/)&&u.frame.push("right"),c=c.substr(1,c.length-2),u.arraydef.columnlines=c.split("").join(" ").replace(/[^|: ]/g,"none").replace(/\|/g,"solid").replace(/:/g,"dashed")),r&&u.setProperty("open",t.convertDelimiter(r)),n&&u.setProperty("close",t.convertDelimiter(n)),"D"===s?u.arraydef.displaystyle=!0:s&&(u.arraydef.displaystyle=!1),"S"===s&&(u.arraydef.scriptlevel=1),l&&(u.arraydef.useHeight=!1),t.Push(e),u},a.AlignedArray=function(t,e){var r=t.GetBrackets("\\begin{"+e.getName()+"}"),n=a.Array(t,e);return y.default.setArrayAlign(n,r)},a.Equation=function(t,e,r){return t.Push(e),y.default.checkEqnEnv(t),t.itemFactory.create("equation",r).setProperty("name",e.getName())},a.EqnArray=function(t,e,r,n,a,o){t.Push(e),n&&y.default.checkEqnEnv(t),a=(a=a.replace(/[^clr]/g,"").split("").join(" ")).replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");var i=t.itemFactory.create("eqnarray",e.getName(),r,n,t.stack.global);return i.arraydef={displaystyle:!0,columnalign:a,columnspacing:o||"1em",rowspacing:"3pt",side:t.options.tagSide,minlabelspacing:t.options.tagIndent},i},a.HandleNoTag=function(t,e){t.tags.notag()},a.HandleLabel=function(t,e){t.stack.global;var r=t.GetArgument(e);if(""!==r&&!t.tags.refUpdate){if(t.tags.label)throw new m.default("MultipleCommand","Multiple %1",t.currentCS);if(t.tags.label=r,(t.tags.allLabels[r]||t.tags.labels[r])&&!t.options.ignoreDuplicateLabels)throw new m.default("MultipleLabel","Label '%1' multiply defined",r);t.tags.labels[r]=new s.Label}},a.HandleRef=function(t,e,r){var n=t.GetArgument(e),a=t.tags.allLabels[n]||t.tags.labels[n];a||(t.tags.refUpdate||(t.tags.redo=!0),a=new s.Label);var o=a.tag;r&&(o=t.tags.formatTag(o));var i=t.create("node","mrow",y.default.internalMath(t,o),{href:t.tags.formatUrl(a.id,t.options.baseURL),class:"MathJax_ref"});t.Push(i)},a.Macro=function(t,e,r,n,a){if(n){var o=[];if(null!=a){var i=t.GetBrackets(e);o.push(null==i?a:i)}for(var s=o.length;s<n;s++)o.push(t.GetArgument(e));r=y.default.substituteArgs(t,o,r)}if(t.string=y.default.addArgs(t,r,t.string.slice(t.i)),t.i=0,++t.macroCount>t.configuration.options.maxMacros)throw new m.default("MaxMacroSub1","MathJax maximum macro substitution count exceeded; is there a recursive macro call?")},a.MathChoice=function(t,e){var r=t.ParseArg(e),n=t.ParseArg(e),a=t.ParseArg(e),o=t.ParseArg(e);t.Push(t.create("node","mathchoice",[r,n,a,o]))},e.default=a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.APPEND=MathJax._.util.Options.APPEND,e.REMOVE=MathJax._.util.Options.REMOVE,e.Expandable=MathJax._.util.Options.Expandable,e.expandable=MathJax._.util.Options.expandable,e.makeArray=MathJax._.util.Options.makeArray,e.keys=MathJax._.util.Options.keys,e.copy=MathJax._.util.Options.copy,e.insert=MathJax._.util.Options.insert,e.defaultOptions=MathJax._.util.Options.defaultOptions,e.userOptions=MathJax._.util.Options.userOptions,e.selectOptions=MathJax._.util.Options.selectOptions,e.selectOptionsFromKeys=MathJax._.util.Options.selectOptionsFromKeys,e.separateOptions=MathJax._.util.Options.separateOptions},function(t,e,r){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},i=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(o(arguments[e]));return t},s=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var l=r(2),c=(Object.defineProperty(u.prototype,"nodes",{get:function(){return this._nodes},enumerable:!0,configurable:!0}),u.prototype.Push=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];(t=this._nodes).push.apply(t,i(e))},u.prototype.Pop=function(){return this._nodes.pop()},Object.defineProperty(u.prototype,"First",{get:function(){return this._nodes[this.Size()-1]},set:function(t){this._nodes[this.Size()-1]=t},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"Last",{get:function(){return this._nodes[0]},set:function(t){this._nodes[0]=t},enumerable:!0,configurable:!0}),u.prototype.Peek=function(t){return null==t&&(t=1),this._nodes.slice(this.Size()-t)},u.prototype.Size=function(){return this._nodes.length},u.prototype.Clear=function(){this._nodes=[]},u.prototype.toMml=function(t,e){return void 0===t&&(t=!0),1!==this._nodes.length||e?this.create("node",t?"inferredMrow":"mrow",this._nodes,{}):this.First},u.prototype.create=function(t){for(var e,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return(e=this.factory.configuration.nodeFactory).create.apply(e,i([t],r))},u);function u(t){this._nodes=t}e.MmlStack=c;var p,f=(a(d,p=c),Object.defineProperty(d.prototype,"kind",{get:function(){return"base"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"env",{get:function(){return this._env},set:function(t){this._env=t},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"copyEnv",{get:function(){return!0},enumerable:!0,configurable:!0}),d.prototype.getProperty=function(t){return this._properties[t]},d.prototype.setProperty=function(t,e){return this._properties[t]=e,this},Object.defineProperty(d.prototype,"isOpen",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"isClose",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"isFinal",{get:function(){return!1},enumerable:!0,configurable:!0}),d.prototype.isKind=function(t){return t===this.kind},d.prototype.checkItem=function(t){if(t.isKind("over")&&this.isOpen&&(t.setProperty("num",this.toMml(!1)),this.Clear()),t.isKind("cell")&&this.isOpen){if(t.getProperty("linebreak"))return d.fail;throw new l.default("Misplaced","Misplaced %1",t.getName())}if(t.isClose&&this.getErrors(t.kind)){var e=o(this.getErrors(t.kind),2),r=e[0],n=e[1];throw new l.default(r,n,t.getName())}return t.isFinal?(this.Push(t.First),d.fail):d.success},d.prototype.clearEnv=function(){var e,t;try{for(var r=s(Object.keys(this.env)),n=r.next();!n.done;n=r.next()){var a=n.value;delete this.env[a]}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},d.prototype.setProperties=function(t){return Object.assign(this._properties,t),this},d.prototype.getName=function(){return this.getProperty("name")},d.prototype.toString=function(){return this.kind+"["+this.nodes.join("; ")+"]"},d.prototype.getErrors=function(t){return(this.constructor.errors||{})[t]||d.errors[t]},d.fail=[null,!1],d.success=[null,!0],d.errors={end:["MissingBeginExtraEnd","Missing \\begin{%1} or extra \\end{%1}"],close:["ExtraCloseMissingOpen","Extra close brace or missing open brace"],right:["MissingLeftExtraRight","Missing \\left or extra \\right"]},d);function d(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=p.call(this,e)||this;return n.factory=t,n.global={},n._properties={},n.isOpen&&(n._env={}),n}e.BaseItem=f},function(t,e,r){"use strict";var n=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},i=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(n(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var a,o,s=r(3),l=r(7),c=r(4);(o=a=a||{}).variable=function(t,e){var r=c.default.getFontDef(t),n=t.create("token","mi",r,e);t.Push(n)},o.digit=function(t,e){var r,n=t.configuration.options.digits,a=t.string.slice(t.i-1).match(n),o=c.default.getFontDef(t);a?(r=t.create("token","mn",o,a[0].replace(/[{}]/g,"")),t.i+=a[0].length-1):r=t.create("token","mo",o,e),t.Push(r)},o.controlSequence=function(t,e){var r=t.GetCS();t.parse("macro",[t,r])},o.mathchar0mi=function(t,e){var r=e.attributes||{mathvariant:l.TexConstant.Variant.ITALIC},n=t.create("token","mi",r,e.char);t.Push(n)},o.mathchar0mo=function(t,e){var r=e.attributes||{};r.stretchy=!1;var n=t.create("token","mo",r,e.char);s.default.setProperty(n,"fixStretchy",!0),t.configuration.addNode("fixStretchy",n),t.Push(n)},o.mathchar7=function(t,e){var r=e.attributes||{mathvariant:l.TexConstant.Variant.NORMAL};t.stack.env.font&&(r.mathvariant=t.stack.env.font);var n=t.create("token","mi",r,e.char);t.Push(n)},o.delimiter=function(t,e){var r=e.attributes||{};r=Object.assign({fence:!1,stretchy:!1},r);var n=t.create("token","mo",r,e.char);t.Push(n)},o.environment=function(t,e,r,n){var a=n[0],o=t.itemFactory.create("begin").setProperties({name:e,end:a});o=r.apply(void 0,i([t,o],n.slice(1))),t.Push(o)},e.default=a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.options=MathJax._.util.Entities.options,e.entities=MathJax._.util.Entities.entities,e.add=MathJax._.util.Entities.add,e.remove=MathJax._.util.Entities.remove,e.translate=MathJax._.util.Entities.translate,e.numeric=MathJax._.util.Entities.numeric},function(t,e,r){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var o=r(6),s=function(t,e){void 0===t&&(t="???"),void 0===e&&(e=""),this.tag=t,this.id=e};e.Label=s;var l=function(t,e,r,n,a,o,i,s){void 0===t&&(t=""),void 0===e&&(e=!1),void 0===r&&(r=!1),void 0===n&&(n=null),void 0===a&&(a=""),void 0===o&&(o=""),void 0===i&&(i=!1),void 0===s&&(s=""),this.env=t,this.taggable=e,this.defaultTags=r,this.tag=n,this.tagId=a,this.tagFormat=o,this.noTag=i,this.labelId=s};e.TagInfo=l;var c=(u.prototype.start=function(t,e,r){this.currentTag&&this.stack.push(this.currentTag),this.currentTag=new l(t,e,r)},Object.defineProperty(u.prototype,"env",{get:function(){return this.currentTag.env},enumerable:!0,configurable:!0}),u.prototype.end=function(){this.history.push(this.currentTag),this.currentTag=this.stack.pop()},u.prototype.tag=function(t,e){this.currentTag.tag=t,this.currentTag.tagFormat=e?t:this.formatTag(t),this.currentTag.noTag=!1},u.prototype.notag=function(){this.tag("",!0),this.currentTag.noTag=!0},Object.defineProperty(u.prototype,"noTag",{get:function(){return this.currentTag.noTag},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"label",{get:function(){return this.currentTag.labelId},set:function(t){this.currentTag.labelId=t},enumerable:!0,configurable:!0}),u.prototype.formatUrl=function(t,e){return e+"#"+encodeURIComponent(t)},u.prototype.formatTag=function(t){return"("+t+")"},u.prototype.formatId=function(t){return"mjx-eqn-"+t.replace(/\s/g,"_")},u.prototype.formatNumber=function(t){return t.toString()},u.prototype.autoTag=function(){null==this.currentTag.tag&&(this.counter++,this.tag(this.formatNumber(this.counter),!1))},u.prototype.clearTag=function(){this.label="",this.tag(null,!0),this.currentTag.tagId=""},u.prototype.getTag=function(t){if(void 0===t&&(t=!1),t)return this.autoTag(),this.makeTag();var e=this.currentTag;return e.taggable&&!e.noTag&&(e.defaultTags&&this.autoTag(),e.tag)?this.makeTag():null},u.prototype.resetTag=function(){this.history=[],this.redo=!1,this.refUpdate=!1,this.clearTag()},u.prototype.reset=function(t){void 0===t&&(t=0),this.resetTag(),this.counter=this.allCounter=t,this.allLabels={},this.allIds={}},u.prototype.startEquation=function(t){this.labels={},this.ids={},this.counter=this.allCounter,this.redo=!1;var e=t.inputData.recompile;e&&(this.refUpdate=!0,this.counter=e.counter)},u.prototype.finishEquation=function(t){this.redo&&(t.inputData.recompile={state:t.state(),counter:this.allCounter}),this.refUpdate||(this.allCounter=this.counter),Object.assign(this.allIds,this.ids),Object.assign(this.allLabels,this.labels)},u.prototype.finalize=function(t,e){if(!e.display||this.currentTag.env||null==this.currentTag.tag)return t;var r=this.makeTag();return this.enTag(t,r)},u.prototype.makeId=function(){this.currentTag.tagId=this.formatId(this.configuration.options.useLabelIds&&this.label||this.currentTag.tag)},u.prototype.makeTag=function(){this.makeId(),this.label&&(this.labels[this.label]=new s(this.currentTag.tag,this.currentTag.tagId));var t=new o.default("\\text{"+this.currentTag.tagFormat+"}",{},this.configuration).mml();return this.configuration.nodeFactory.create("node","mtd",[t],{id:this.currentTag.tagId})},u);function u(){this.counter=0,this.allCounter=0,this.configuration=null,this.ids={},this.allIds={},this.labels={},this.allLabels={},this.redo=!1,this.refUpdate=!1,this.currentTag=new l,this.history=[],this.stack=[],this.enTag=function(t,e){var r=this.configuration.nodeFactory,n=r.create("node","mtd",[t]),a=r.create("node","mlabeledtr",[e,n]);return r.create("node","mtable",[a],{side:this.configuration.options.tagSide,minlabelspacing:this.configuration.options.tagIndent,displaystyle:!0})}}e.AbstractTags=c;var p,f=(a(d,p=c),d.prototype.autoTag=function(){},d.prototype.getTag=function(){return this.currentTag.tag?p.prototype.getTag.call(this):null},d);function d(){return null!==p&&p.apply(this,arguments)||this}e.NoTags=f;var h,m,g,y,v=(a(b,h=c),b.prototype.finalize=function(t,e){if(!e.display||this.history.find(function(t){return t.taggable}))return t;var r=this.getTag(!0);return this.enTag(t,r)},b);function b(){return null!==h&&h.apply(this,arguments)||this}e.AllTags=v,m=e.TagsFactory||(e.TagsFactory={}),g=new Map([["none",f],["all",v]]),y="none",m.OPTIONS={tags:y,tagSide:"right",tagIndent:"0.8em",multlineWidth:"85%",useLabelIds:!0,ignoreDuplicateLabels:!1},m.add=function(t,e){g.set(t,e)},m.addTags=function(t){var e,r;try{for(var n=i(Object.keys(t)),a=n.next();!a.done;a=n.next()){var o=a.value;m.add(o,t[o])}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},m.create=function(t){var e=g.get(t)||g.get(y);if(!e)throw Error("Unknown tags class");return new e},m.setDefault=function(t){y=t},m.getDefault=function(){return m.create(y)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(Object.defineProperty(a.prototype,"symbol",{get:function(){return this._symbol},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"char",{get:function(){return this._char},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"attributes",{get:function(){return this._attributes},enumerable:!0,configurable:!0}),a);function a(t,e,r){this._symbol=t,this._char=e,this._attributes=r}e.Symbol=n;var o=(Object.defineProperty(i.prototype,"symbol",{get:function(){return this._symbol},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"func",{get:function(){return this._func},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"args",{get:function(){return this._args},enumerable:!0,configurable:!0}),i);function i(t,e,r){void 0===r&&(r=[]),this._symbol=t,this._func=e,this._args=r}e.Macro=o},function(t,e,r){"use strict";var n=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},a=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(n(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var p=r(3),o=(i.prototype.setMmlFactory=function(t){this.mmlFactory=t},i.createNode=function(t,e,r,n,a){void 0===r&&(r=[]),void 0===n&&(n={});var o=t.mmlFactory.create(e),i=o.arity;if(i===1/0||-1===i)1===r.length&&r[0].isInferred?o.setChildren(p.default.getChildren(r[0])):o.setChildren(r);else{for(var s=[],l=0,c=void 0;c=r[l];l++)if(c.isInferred){var u=t.mmlFactory.create("mrow",{},p.default.getChildren(c));p.default.copyAttributes(c,u),s.push(u)}else s.push(c);o.setChildren(s)}return a&&o.appendChild(a),p.default.setProperties(o,n),o},i.createToken=function(t,e,r,n){void 0===r&&(r={}),void 0===n&&(n="");var a=t.create("text",n);return t.create("node",e,[],r,a)},i.createText=function(t,e){return null==e?null:t.mmlFactory.create("text").setText(e)},i.createError=function(t,e){var r=t.create("text",e),n=t.create("node","mtext",[],{},r);return t.create("node","merror",[n])},i.prototype.set=function(t,e){this.factory[t]=e},i.prototype.setCreators=function(t){for(var e in t)this.set(e,t[e])},i.prototype.create=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=(this.factory[t]||this.factory.node).apply(void 0,a([this,e[0]],e.slice(1)));return"node"===t&&this.configuration.addNode(e[0],n),n},i.prototype.get=function(t){return this.factory[t]},i);function i(){this.mmlFactory=null,this.factory={node:i.createNode,token:i.createToken,text:i.createText,error:i.createError}}e.NodeFactory=o},function(t,e,r){"use strict";var n,a,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i=r(0),s=r(8),l=r(2),c=r(3),u=r(1),p=r(18),f=r(14);function d(t,e){var r=t.stack.env.font?{mathvariant:t.stack.env.font}:{},n=s.MapHandler.getMap("remap").lookup(e),a=t.create("token","mo",r,n?n.char:e);c.default.setProperty(a,"fixStretchy",!0),t.configuration.addNode("fixStretchy",a),t.Push(a)}r(76),new u.CharacterMap("remap",null,{"-":"\u2212","*":"\u2217","`":"\u2018"}),e.Other=d;var h,m=(h=f.AbstractTags,o(g,h),g);function g(){return null!==h&&h.apply(this,arguments)||this}e.BaseTags=m,e.BaseConfiguration=i.Configuration.create("base",{handler:{character:["command","special","letter","digit"],delimiter:["delimiter"],macro:["delimiter","macros","mathchar0mi","mathchar0mo","mathchar7"],environment:["environment"]},fallback:{character:d,macro:function(t,e){throw new l.default("UndefinedControlSequence","Undefined control sequence %1","\\"+e)},environment:function(t,e){throw new l.default("UnknownEnv","Unknown environment '%1'",e)}},items:((a={})[p.StartItem.prototype.kind]=p.StartItem,a[p.StopItem.prototype.kind]=p.StopItem,a[p.OpenItem.prototype.kind]=p.OpenItem,a[p.CloseItem.prototype.kind]=p.CloseItem,a[p.PrimeItem.prototype.kind]=p.PrimeItem,a[p.SubsupItem.prototype.kind]=p.SubsupItem,a[p.OverItem.prototype.kind]=p.OverItem,a[p.LeftItem.prototype.kind]=p.LeftItem,a[p.RightItem.prototype.kind]=p.RightItem,a[p.BeginItem.prototype.kind]=p.BeginItem,a[p.EndItem.prototype.kind]=p.EndItem,a[p.StyleItem.prototype.kind]=p.StyleItem,a[p.PositionItem.prototype.kind]=p.PositionItem,a[p.CellItem.prototype.kind]=p.CellItem,a[p.MmlItem.prototype.kind]=p.MmlItem,a[p.FnItem.prototype.kind]=p.FnItem,a[p.NotItem.prototype.kind]=p.NotItem,a[p.DotsItem.prototype.kind]=p.DotsItem,a[p.ArrayItem.prototype.kind]=p.ArrayItem,a[p.EqnArrayItem.prototype.kind]=p.EqnArrayItem,a[p.EquationItem.prototype.kind]=p.EquationItem,a),options:{maxMacros:1e3,baseURL:"undefined"==typeof document||0===document.getElementsByTagName("base").length?"":String(document.location).replace(/#.*$/,"")},tags:{base:m}})},function(t,e,r){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},i=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(o(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var s,l=r(8),c=r(13),u=r(5),p=r(2),f=r(4),d=r(3),h=r(11),m=(s=h.BaseItem,a(g,s),Object.defineProperty(g.prototype,"kind",{get:function(){return"start"},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"isOpen",{get:function(){return!0},enumerable:!0,configurable:!0}),g.prototype.checkItem=function(t){if(t.isKind("stop")){var e=this.toMml();return this.global.isInner||(e=this.factory.configuration.tags.finalize(e,this.env)),[[this.factory.create("mml",e)],!0]}return s.prototype.checkItem.call(this,t)},g);function g(t,e){var r=s.call(this,t)||this;return r.global=e,r}e.StartItem=m;var y,v=(y=h.BaseItem,a(b,y),Object.defineProperty(b.prototype,"kind",{get:function(){return"stop"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"isClose",{get:function(){return!0},enumerable:!0,configurable:!0}),b);function b(){return null!==y&&y.apply(this,arguments)||this}e.StopItem=v;var x,_=(x=h.BaseItem,a(A,x),Object.defineProperty(A.prototype,"kind",{get:function(){return"open"},enumerable:!0,configurable:!0}),Object.defineProperty(A.prototype,"isOpen",{get:function(){return!0},enumerable:!0,configurable:!0}),A.prototype.checkItem=function(t){if(t.isKind("close")){var e=this.toMml(),r=this.create("node","TeXAtom",[e]);return[[this.factory.create("mml",r)],!0]}return x.prototype.checkItem.call(this,t)},A.errors=Object.assign(Object.create(h.BaseItem.errors),{stop:["ExtraOpenMissingClose","Extra open brace or missing close brace"]}),A);function A(){return null!==x&&x.apply(this,arguments)||this}e.OpenItem=_;var w,M=(w=h.BaseItem,a(C,w),Object.defineProperty(C.prototype,"kind",{get:function(){return"close"},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"isClose",{get:function(){return!0},enumerable:!0,configurable:!0}),C);function C(){return null!==w&&w.apply(this,arguments)||this}e.CloseItem=M;var P,S=(P=h.BaseItem,a(T,P),Object.defineProperty(T.prototype,"kind",{get:function(){return"prime"},enumerable:!0,configurable:!0}),T.prototype.checkItem=function(t){var e=o(this.Peek(2),2),r=e[0],n=e[1];return!d.default.isType(r,"msubsup")||d.default.isType(r,"msup")?[[this.create("node","msup",[r,n]),t],!0]:(d.default.setChild(r,r.sup,n),[[r,t],!0])},T);function T(){return null!==P&&P.apply(this,arguments)||this}e.PrimeItem=S;var k,O=(k=h.BaseItem,a(E,k),Object.defineProperty(E.prototype,"kind",{get:function(){return"subsup"},enumerable:!0,configurable:!0}),E.prototype.checkItem=function(t){if(t.isKind("open")||t.isKind("left"))return h.BaseItem.success;var e=this.First,r=this.getProperty("position");if(t.isKind("mml")){if(this.getProperty("primes"))if(2!==r)d.default.setChild(e,2,this.getProperty("primes"));else{d.default.setProperty(this.getProperty("primes"),"variantForm",!0);var n=this.create("node","mrow",[this.getProperty("primes"),t.First]);t.First=n}return d.default.setChild(e,r,t.First),null!=this.getProperty("movesupsub")&&d.default.setProperty(e,"movesupsub",this.getProperty("movesupsub")),[[this.factory.create("mml",e)],!0]}if(k.prototype.checkItem.call(this,t)[1]){var a=this.getErrors(["","sub","sup"][r]);throw new(p.default.bind.apply(p.default,i([void 0,a[0],a[1]],a.splice(2))))}},E.errors=Object.assign(Object.create(h.BaseItem.errors),{stop:["MissingScript","Missing superscript or subscript argument"],sup:["MissingOpenForSup","Missing open brace for superscript"],sub:["MissingOpenForSub","Missing open brace for subscript"]}),E);function E(){return null!==k&&k.apply(this,arguments)||this}e.SubsupItem=O;var N,I=(N=h.BaseItem,a(q,N),Object.defineProperty(q.prototype,"kind",{get:function(){return"over"},enumerable:!0,configurable:!0}),Object.defineProperty(q.prototype,"isClose",{get:function(){return!0},enumerable:!0,configurable:!0}),q.prototype.checkItem=function(t){if(t.isKind("over"))throw new p.default("AmbiguousUseOf","Ambiguous use of %1",t.getName());if(t.isClose){var e=this.create("node","mfrac",[this.getProperty("num"),this.toMml(!1)]);return null!=this.getProperty("thickness")&&d.default.setAttribute(e,"linethickness",this.getProperty("thickness")),(this.getProperty("open")||this.getProperty("close"))&&(d.default.setProperty(e,"withDelims",!0),e=f.default.fixedFence(this.factory.configuration,this.getProperty("open"),e,this.getProperty("close"))),[[this.factory.create("mml",e),t],!0]}return N.prototype.checkItem.call(this,t)},q.prototype.toString=function(){return"over["+this.getProperty("num")+" / "+this.nodes.join("; ")+"]"},q);function q(t){var e=N.call(this,t)||this;return e.setProperty("name","\\over"),e}e.OverItem=I;var L,F=(L=h.BaseItem,a(B,L),Object.defineProperty(B.prototype,"kind",{get:function(){return"left"},enumerable:!0,configurable:!0}),Object.defineProperty(B.prototype,"isOpen",{get:function(){return!0},enumerable:!0,configurable:!0}),B.prototype.checkItem=function(t){return t.isKind("right")?[[this.factory.create("mml",f.default.fenced(this.factory.configuration,this.getProperty("delim"),this.toMml(),t.getProperty("delim")))],!0]:L.prototype.checkItem.call(this,t)},B.errors=Object.assign(Object.create(h.BaseItem.errors),{stop:["ExtraLeftMissingRight","Extra \\left or missing \\right"]}),B);function B(t){var e=L.call(this,t)||this;return e.setProperty("delim","("),e}e.LeftItem=F;var G,R=(G=h.BaseItem,a(j,G),Object.defineProperty(j.prototype,"kind",{get:function(){return"right"},enumerable:!0,configurable:!0}),Object.defineProperty(j.prototype,"isClose",{get:function(){return!0},enumerable:!0,configurable:!0}),j);function j(t){var e=G.call(this,t)||this;return e.setProperty("delim",")"),e}e.RightItem=R;var D,$=(D=h.BaseItem,a(X,D),Object.defineProperty(X.prototype,"kind",{get:function(){return"begin"},enumerable:!0,configurable:!0}),Object.defineProperty(X.prototype,"isOpen",{get:function(){return!0},enumerable:!0,configurable:!0}),X.prototype.checkItem=function(t){if(t.isKind("end")){if(t.getName()!==this.getName())throw new p.default("EnvBadEnd","\\begin{%1} ended with \\end{%2}",this.getName(),t.getName());return this.getProperty("end")?h.BaseItem.fail:[[this.factory.create("mml",this.toMml())],!0]}if(t.isKind("stop"))throw new p.default("EnvMissingEnd","Missing \\end{%1}",this.getName());return D.prototype.checkItem.call(this,t)},X);function X(){return null!==D&&D.apply(this,arguments)||this}e.BeginItem=$;var V,H=(V=h.BaseItem,a(z,V),Object.defineProperty(z.prototype,"kind",{get:function(){return"end"},enumerable:!0,configurable:!0}),Object.defineProperty(z.prototype,"isClose",{get:function(){return!0},enumerable:!0,configurable:!0}),z);function z(){return null!==V&&V.apply(this,arguments)||this}e.EndItem=H;var U,K=(U=h.BaseItem,a(J,U),Object.defineProperty(J.prototype,"kind",{get:function(){return"style"},enumerable:!0,configurable:!0}),J.prototype.checkItem=function(t){if(!t.isClose)return U.prototype.checkItem.call(this,t);var e=this.create("node","mstyle",this.nodes,this.getProperty("styles"));return[[this.factory.create("mml",e),t],!0]},J);function J(){return null!==U&&U.apply(this,arguments)||this}e.StyleItem=K;var W,Q=(W=h.BaseItem,a(Z,W),Object.defineProperty(Z.prototype,"kind",{get:function(){return"position"},enumerable:!0,configurable:!0}),Z.prototype.checkItem=function(t){if(t.isClose)throw new p.default("MissingBoxFor","Missing box for %1",this.getName());if(t.isFinal){var e=t.toMml();switch(this.getProperty("move")){case"vertical":return e=this.create("node","mpadded",[e],{height:this.getProperty("dh"),depth:this.getProperty("dd"),voffset:this.getProperty("dh")}),[[this.factory.create("mml",e)],!0];case"horizontal":return[[this.factory.create("mml",this.getProperty("left")),t,this.factory.create("mml",this.getProperty("right"))],!0]}}return W.prototype.checkItem.call(this,t)},Z);function Z(){return null!==W&&W.apply(this,arguments)||this}e.PositionItem=Q;var Y,tt=(Y=h.BaseItem,a(et,Y),Object.defineProperty(et.prototype,"kind",{get:function(){return"cell"},enumerable:!0,configurable:!0}),Object.defineProperty(et.prototype,"isClose",{get:function(){return!0},enumerable:!0,configurable:!0}),et);function et(){return null!==Y&&Y.apply(this,arguments)||this}e.CellItem=tt;var rt,nt=(rt=h.BaseItem,a(at,rt),Object.defineProperty(at.prototype,"isFinal",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(at.prototype,"kind",{get:function(){return"mml"},enumerable:!0,configurable:!0}),at);function at(){return null!==rt&&rt.apply(this,arguments)||this}e.MmlItem=nt;var ot,it=(ot=h.BaseItem,a(st,ot),Object.defineProperty(st.prototype,"kind",{get:function(){return"fn"},enumerable:!0,configurable:!0}),st.prototype.checkItem=function(t){var e=this.First;if(e){if(t.isOpen)return h.BaseItem.success;if(!t.isKind("fn")){var r=t.First;if(!t.isKind("mml")||!r)return[[e,t],!0];if(d.default.isType(r,"mstyle")&&r.childNodes.length&&d.default.isType(r.childNodes[0].childNodes[0],"mspace")||d.default.isType(r,"mspace"))return[[e,t],!0];d.default.isEmbellished(r)&&(r=d.default.getCoreMO(r));var n=d.default.getForm(r);if(null!=n&&[0,0,1,1,0,1,1,0,0,0][n[2]])return[[e,t],!0]}return[[e,this.create("token","mo",{texClass:u.TEXCLASS.NONE},c.entities.ApplyFunction),t],!0]}return ot.prototype.checkItem.apply(this,arguments)},st);function st(){return null!==ot&&ot.apply(this,arguments)||this}e.FnItem=it;var lt,ct=(lt=h.BaseItem,a(ut,lt),Object.defineProperty(ut.prototype,"kind",{get:function(){return"not"},enumerable:!0,configurable:!0}),ut.prototype.checkItem=function(t){var e,r,n;if(t.isKind("open")||t.isKind("left"))return h.BaseItem.success;if(t.isKind("mml")&&(d.default.isType(t.First,"mo")||d.default.isType(t.First,"mi")||d.default.isType(t.First,"mtext"))&&(e=t.First,1===(r=d.default.getText(e)).length&&!d.default.getProperty(e,"movesupsub")&&1===d.default.getChildren(e).length))return this.remap.contains(r)?(n=this.create("text",this.remap.lookup(r).char),d.default.setChild(e,0,n)):(n=this.create("text","\u0338"),d.default.appendChildren(e,[n])),[[t],!0];n=this.create("text","\u29f8");var a=this.create("node","mtext",[],{},n),o=this.create("node","mpadded",[a],{width:0});return[[e=this.create("node","TeXAtom",[o],{texClass:u.TEXCLASS.REL}),t],!0]},ut);function ut(){var t=null!==lt&&lt.apply(this,arguments)||this;return t.remap=l.MapHandler.getMap("not_remap"),t}e.NotItem=ct;var pt,ft=(pt=h.BaseItem,a(dt,pt),Object.defineProperty(dt.prototype,"kind",{get:function(){return"dots"},enumerable:!0,configurable:!0}),dt.prototype.checkItem=function(t){if(t.isKind("open")||t.isKind("left"))return h.BaseItem.success;var e=this.getProperty("ldots"),r=t.First;if(t.isKind("mml")&&d.default.isEmbellished(r)){var n=d.default.getTexClass(d.default.getCoreMO(r));n!==u.TEXCLASS.BIN&&n!==u.TEXCLASS.REL||(e=this.getProperty("cdots"))}return[[e,t],!0]},dt);function dt(){return null!==pt&&pt.apply(this,arguments)||this}e.DotsItem=ft;var ht,mt=(ht=h.BaseItem,a(gt,ht),Object.defineProperty(gt.prototype,"kind",{get:function(){return"array"},enumerable:!0,configurable:!0}),Object.defineProperty(gt.prototype,"isOpen",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(gt.prototype,"copyEnv",{get:function(){return!1},enumerable:!0,configurable:!0}),gt.prototype.checkItem=function(t){if(!t.isClose||t.isKind("over"))return ht.prototype.checkItem.call(this,t);if(t.getProperty("isEntry"))return this.EndEntry(),this.clearEnv(),h.BaseItem.fail;if(t.getProperty("isCR"))return this.EndEntry(),this.EndRow(),this.clearEnv(),h.BaseItem.fail;this.EndTable(),this.clearEnv();var e=this.arraydef.scriptlevel;delete this.arraydef.scriptlevel;var r=this.create("node","mtable",this.table,this.arraydef);4===this.frame.length?d.default.setAttribute(r,"frame",this.dashed?"dashed":"solid"):this.frame.length&&(this.arraydef.rowlines&&(this.arraydef.rowlines=this.arraydef.rowlines.replace(/none( none)+$/,"none")),r=this.create("node","menclose",[r],{notation:this.frame.join(" "),isFrame:!0}),"none"===(this.arraydef.columnlines||"none")&&"none"===(this.arraydef.rowlines||"none")||d.default.setAttribute(r,"padding",0)),e&&(r=this.create("node","mstyle",[r],{scriptlevel:e})),(this.getProperty("open")||this.getProperty("close"))&&(r=f.default.fenced(this.factory.configuration,this.getProperty("open"),r,this.getProperty("close")));var n=this.factory.create("mml",r);if(this.getProperty("requireClose")){if(t.isKind("close"))return[[n],!0];throw new p.default("MissingCloseBrace","Missing close brace")}return[[n,t],!0]},gt.prototype.EndEntry=function(){var t=this.create("node","mtd",this.nodes);this.hfill.length&&(0===this.hfill[0]&&d.default.setAttribute(t,"columnalign","right"),this.hfill[this.hfill.length-1]===this.Size()&&d.default.setAttribute(t,"columnalign",d.default.getAttribute(t,"columnalign")?"center":"left")),this.row.push(t),this.Clear(),this.hfill=[]},gt.prototype.EndRow=function(){var t;t=this.getProperty("isNumbered")&&3===this.row.length?(this.row.unshift(this.row.pop()),this.create("node","mlabeledtr",this.row)):this.create("node","mtr",this.row),this.table.push(t),this.row=[]},gt.prototype.EndTable=function(){(this.Size()||this.row.length)&&(this.EndEntry(),this.EndRow()),this.checkLines()},gt.prototype.checkLines=function(){if(this.arraydef.rowlines){var t=this.arraydef.rowlines.split(/ /);t.length===this.table.length?(this.frame.push("bottom"),t.pop(),this.arraydef.rowlines=t.join(" ")):t.length<this.table.length-1&&(this.arraydef.rowlines+=" none")}if(this.getProperty("rowspacing")){for(var e=this.arraydef.rowspacing.split(/ /);e.length<this.table.length;)e.push(this.getProperty("rowspacing")+"em");this.arraydef.rowspacing=e.join(" ")}},gt);function gt(){var t=null!==ht&&ht.apply(this,arguments)||this;return t.table=[],t.row=[],t.frame=[],t.hfill=[],t.arraydef={},t.dashed=!1,t}e.ArrayItem=mt;var yt,vt=(a(bt,yt=mt),Object.defineProperty(bt.prototype,"kind",{get:function(){return"eqnarray"},enumerable:!0,configurable:!0}),bt.prototype.EndEntry=function(){this.row.length&&f.default.fixInitialMO(this.factory.configuration,this.nodes);var t=this.create("node","mtd",this.nodes);this.row.push(t),this.Clear()},bt.prototype.EndRow=function(){var t="mtr",e=this.factory.configuration.tags.getTag();e&&(this.row=[e].concat(this.row),t="mlabeledtr"),this.factory.configuration.tags.clearTag();var r=this.create("node",t,this.row);this.table.push(r),this.row=[]},bt.prototype.EndTable=function(){yt.prototype.EndTable.call(this),this.factory.configuration.tags.end()},bt);function bt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=yt.call(this,t)||this;return n.factory.configuration.tags.start(e[0],e[2],e[1]),n}e.EqnArrayItem=vt;var xt,_t=(xt=h.BaseItem,a(At,xt),Object.defineProperty(At.prototype,"kind",{get:function(){return"equation"},enumerable:!0,configurable:!0}),Object.defineProperty(At.prototype,"isOpen",{get:function(){return!0},enumerable:!0,configurable:!0}),At.prototype.checkItem=function(t){if(t.isKind("end")){var e=this.toMml(),r=this.factory.configuration.tags.getTag();return this.factory.configuration.tags.end(),[[r?this.factory.configuration.tags.enTag(e,r):e,t],!0]}if(t.isKind("stop"))throw new p.default("EnvMissingEnd","Missing \\end{%1}",this.getName());return xt.prototype.checkItem.call(this,t)},At);function At(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=xt.call(this,t)||this;return n.factory.configuration.tags.start("equation",!0,e[0]),n}e.EquationItem=_t},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var f=r(4),d=r(3),c=r(7),h=r(6),m=r(2),o=r(15),i=r(8),u=r(9),g=r(5),y={AmsEqnArray:function(t,e,r,n,a,o,i){var s=t.GetBrackets("\\begin{"+e.getName()+"}"),l=u.default.EqnArray(t,e,r,n,a,o,i);return f.default.setArrayAlign(l,s)},AlignAt:function(t,e,r,n){var a,o,i=e.getName(),s="",l=[];if(n||(o=t.GetBrackets("\\begin{"+i+"}")),(a=t.GetArgument("\\begin{"+i+"}")).match(/[^0-9]/))throw new m.default("PositiveIntegerArg","Argument to %1 must me a positive integer","\\begin{"+i+"}");for(var c=parseInt(a,10);0<c;)s+="rl",l.push("0em 0em"),c--;var u=l.join(" ");if(n)return y.EqnArray(t,e,r,n,s,u);var p=y.EqnArray(t,e,r,n,s,u);return f.default.setArrayAlign(p,o)},Multline:function(t,e,r){t.Push(e),f.default.checkEqnEnv(t);var n=t.itemFactory.create("multline",r,t.stack);return n.arraydef={displaystyle:!0,rowspacing:".5em",columnwidth:"100%",width:t.options.multlineWidth,side:t.options.tagSide,minlabelspacing:t.options.tagIndent},n},HandleDeclareOp:function(t,e){var r=t.GetStar()?"":"\\nolimits\\SkipLimits",n=f.default.trimSpaces(t.GetArgument(e));"\\"===n.charAt(0)&&(n=n.substr(1));var a=t.GetArgument(e);a.match(/\\text/)||(a=a.replace(/\*/g,"\\text{*}").replace(/-/g,"\\text{-}")),t.configuration.handlers.retrieve(i.ExtensionMaps.NEW_COMMAND).add(n,new o.Macro(n,y.Macro,["\\mathop{\\rm "+a+"}"+r]))},HandleOperatorName:function(t,e){var r=t.GetStar()?"":"\\nolimits\\SkipLimits",n=f.default.trimSpaces(t.GetArgument(e));n.match(/\\text/)||(n=n.replace(/\*/g,"\\text{*}").replace(/-/g,"\\text{-}")),t.string="\\mathop{\\rm "+n+"}"+r+" "+t.string.slice(t.i),t.i=0},SkipLimits:function(t,e){var r=t.GetNext(),n=t.i;"\\"===r&&++t.i&&"limits"!==t.GetCS()&&(t.i=n)},MultiIntegral:function(t,e,r){var n=t.GetNext();if("\\"===n){var a=t.i;n=t.GetArgument(e),t.i=a,"\\limits"===n&&(r="\\idotsint"===e?"\\!\\!\\mathop{\\,\\,"+r+"}":"\\!\\!\\!\\mathop{\\,\\,\\,"+r+"}")}t.string=r+" "+t.string.slice(t.i),t.i=0},xArrow:function(t,e,r,n,a){var o={width:"+"+f.default.Em((n+a)/18),lspace:f.default.Em(n/18)},i=t.GetBrackets(e),s=t.ParseArg(e),l=t.create("token","mo",{stretchy:!0,texClass:g.TEXCLASS.REL},String.fromCharCode(r)),c=t.create("node","munderover",[l]),u=t.create("node","mpadded",[s],o);if(d.default.setAttribute(u,"voffset",".15em"),d.default.setChild(c,c.over,u),i){var p=new h.default(i,t.stack.env,t.configuration).mml();u=t.create("node","mpadded",[p],o),d.default.setAttribute(u,"voffset","-.24em"),d.default.setChild(c,c.under,u)}d.default.setProperty(c,"subsupOK",!0),t.Push(c)},HandleShove:function(t,e,r){var n=t.stack.Top();if("multline"!==n.kind)throw new m.default("CommandOnlyAllowedInEnv","%1 only allowed in %2 environment",t.currentCS,"multline");if(n.Size())throw new m.default("CommandAtTheBeginingOfLine","%1 must come at the beginning of the line",t.currentCS);n.setProperty("shove",r)},CFrac:function(t,e){var r=f.default.trimSpaces(t.GetBrackets(e,"")),n=t.GetArgument(e),a=t.GetArgument(e),o={l:c.TexConstant.Align.LEFT,r:c.TexConstant.Align.RIGHT,"":""},i=new h.default("\\strut\\textstyle{"+n+"}",t.stack.env,t.configuration).mml(),s=new h.default("\\strut\\textstyle{"+a+"}",t.stack.env,t.configuration).mml(),l=t.create("node","mfrac",[i,s]);if(null==(r=o[r]))throw new m.default("IllegalAlign","Illegal alignment specified in %1",t.currentCS);r&&d.default.setProperties(l,{numalign:r,denomalign:r}),t.Push(l)},Genfrac:function(t,e,r,n,a,o){null==r&&(r=t.GetDelimiterArg(e)),null==n&&(n=t.GetDelimiterArg(e)),null==a&&(a=t.GetArgument(e)),null==o&&(o=f.default.trimSpaces(t.GetArgument(e)));var i=t.ParseArg(e),s=t.ParseArg(e),l=t.create("node","mfrac",[i,s]);if(""!==a&&d.default.setAttribute(l,"linethickness",a),(r||n)&&(d.default.setProperty(l,"withDelims",!0),l=f.default.fixedFence(t.configuration,r,l,n)),""!==o){var c=parseInt(o,10),u=["D","T","S","SS"][c];if(null==u)throw new m.default("BadMathStyleFor","Bad math style for %1",t.currentCS);l=t.create("node","mstyle",[l]),"D"===u?d.default.setProperties(l,{displaystyle:!0,scriptlevel:0}):d.default.setProperties(l,{displaystyle:!1,scriptlevel:c-1})}t.Push(l)},HandleTag:function(t,e){if(!t.tags.currentTag.taggable&&t.tags.env)throw new m.default("CommandNotAllowedInEnv","%1 not allowed in %2 environment",t.currentCS,t.tags.env);if(t.tags.currentTag.tag)throw new m.default("MultipleCommand","Multiple %1",t.currentCS);var r=t.GetStar(),n=f.default.trimSpaces(t.GetArgument(e));t.tags.tag(n,r)}};y.HandleNoTag=u.default.HandleNoTag,y.HandleRef=u.default.HandleRef,y.Macro=u.default.Macro,y.Accent=u.default.Accent,y.Tilde=u.default.Tilde,y.Array=u.default.Array,y.Spacer=u.default.Spacer,y.NamedOp=u.default.NamedOp,y.EqnArray=u.default.EqnArray,e.default=y},function(t,M,e){"use strict";var r,s=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},C=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(M,"__esModule",{value:!0});function l(t){return F.root=t,n.outputJax.getBBox(F,n).w}function P(t){for(var e=0;t&&!u.default.isType(t,"mtable");){if(u.default.isType(t,"text"))return null;u.default.isType(t,"mrow")?(t=t.childNodes[0],e=0):(t=t.parent.childNodes[e],e++)}return t}function S(t,e){return t.childNodes["up"===e?1:0].childNodes[0].childNodes[0].childNodes[0].childNodes[0]}function T(t,e){return t.childNodes[e].childNodes[0].childNodes[0]}function k(t){return T(t,0)}function O(t,e){return t.childNodes["up"===e?0:1].childNodes[0].childNodes[0].childNodes[0]}function E(t){for(;t&&!u.default.isType(t,"mtd");)t=t.parent;return t}function N(t){for(;t&&null==M.getProperty(t,"inference");)t=t.parent;return t}function I(t,e,r){void 0===r&&(r=!1);var n=0;if(t===e)return n;if(t!==e.parent){var a=t.childNodes,o=r?a.length-1:0;u.default.isType(a[o],"mspace")&&(n+=l(a[o])),t=e.parent}if(t===e)return n;var i=t.childNodes,s=r?i.length-1:0;return i[s]!==e&&(n+=l(i[s])),n}function q(t,e){void 0===e&&(e=!1);var r=P(t),n=O(r,M.getProperty(r,"inferenceRule"));return I(t,r,e)+(l(r)-l(n))/2}function L(t,e,r,n){if(void 0===n&&(n=!1),M.getProperty(e,"inferenceRule")||M.getProperty(e,"labelledRule")){var a=t.nodeFactory.create("node","mrow");e.parent.replaceChild(a,e),a.setChildren([e]),f(e,a),e=a}var o=n?e.childNodes.length-1:0,i=e.childNodes[o];u.default.isType(i,"mspace")?u.default.setAttribute(i,"width",p.default.Em(p.default.dimen2em(u.default.getAttribute(i,"width"))+r)):(i=t.nodeFactory.create("node","mspace",[],{width:p.default.Em(r)}),n?e.appendChild(i):(i.parent=e).childNodes.unshift(i))}function c(t,e,r,n,a){var o=t.nodeFactory.create("node","mspace",[],{width:p.default.Em(a)});if("left"===n){var i=e.childNodes[r].childNodes[0];(o.parent=i).childNodes.unshift(o)}else e.childNodes[r].appendChild(o);M.setProperty(e.parent,"sequentAdjust_"+n,a)}var u=e(3),p=e(4),n=null,F=null,f=function(r,n){["inference","proof","maxAdjust","labelledRule"].forEach(function(t){var e=M.getProperty(r,t);null!=e&&(M.setProperty(n,t,e),M.removeProperty(r,t))})},B=function(t,e){for(var r=e.pop();e.length;){var n=e.pop(),a=s(d(r,n),2),o=a[0],i=a[1];M.getProperty(r.parent,"axiom")&&(c(t,o<0?r:n,0,"left",Math.abs(o)),c(t,i<0?r:n,2,"right",Math.abs(i))),r=n}},d=function(t,e){var r=l(t.childNodes[2]),n=l(e.childNodes[2]);return[l(t.childNodes[0])-l(e.childNodes[0]),r-n]};M.balanceRules=function(t){var e,r;F=new t.document.options.MathItem("",null,t.math.display);var n=t.data;!function(t){var e=t.nodeLists.sequent;if(e)for(var r=e.length-1,n=void 0;n=e[r];r--)if(M.getProperty(n,"sequentProcessed"))M.removeProperty(n,"sequentProcessed");else{var a=[],o=N(n);if(1===M.getProperty(o,"inference")){for(a.push(n);1===M.getProperty(o,"inference");){o=P(o);var i=k(S(o,M.getProperty(o,"inferenceRule"))),s=M.getProperty(i,"inferenceRule")?O(i,M.getProperty(i,"inferenceRule")):i;M.getProperty(s,"sequent")&&(n=s.childNodes[0],a.push(n),M.setProperty(n,"sequentProcessed",!0)),o=i}B(t,a)}}}(n);var a,o,i=n.nodeLists.inference||[];try{for(var s=C(i),l=s.next();!l.done;l=s.next()){var c=l.value,u=M.getProperty(c,"proof"),p=(M.getProperty(c,"labelledRule"),P(c)),f=S(p,M.getProperty(p,"inferenceRule")),d=k(f);if(M.getProperty(d,"inference")){var h=q(d);if(h){L(n,d,-h);var m=I(c,p,!1);L(n,c,h-m)}}var g=T(o=f,o.childNodes.length-1);if(null!=M.getProperty(g,"inference")){var y=q(g,!0);L(n,g,-y,!0);var v=I(c,p,!0),b=M.getProperty(c,"maxAdjust");null!=b&&(y=Math.max(y,b));var x=void 0;if(!u&&(x=E(c))){var _=(a=x).parent.childNodes[a.parent.childNodes.indexOf(a)+1];if(_){var A=n.nodeFactory.create("node","mspace",[],{width:y-v+"em"});_.appendChild(A),c.removeProperty("maxAdjust")}else{var w=N(x);w&&(y=M.getProperty(w,"maxAdjust")?Math.max(M.getProperty(w,"maxAdjust"),y):y,M.setProperty(w,"maxAdjust",y))}}else L(n,M.getProperty(c,"proof")?c:c.parent,y-v,!0)}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}};var a="bspr_",o=((r={}).bspr_maxAdjust=!0,r);M.setProperty=function(t,e,r){u.default.setProperty(t,a+e,r)},M.getProperty=function(t,e){return u.default.getProperty(t,a+e)},M.removeProperty=function(t,e){t.removeProperty(a+e)},M.makeBsprAttributes=function(t){t.data.root.walkTree(function(e,t){var r=[];e.getPropertyNames().forEach(function(t){!o[t]&&t.match(RegExp("^"+a))&&r.push(t+":"+e.getProperty(t))}),r.length&&u.default.setAttribute(e,"semantics",r.join(";"))})},M.saveDocument=function(t){if(!("getBBox"in(n=t.document).outputJax))throw Error("The bussproofs extension requires an output jax with a getBBox() method")},M.clearDocument=function(t){n=null}},function(t,e,r){"use strict";var u=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},p=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},f=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(p(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var d=r(3),n=(Object.defineProperty(a.prototype,"env",{get:function(){return this._env},set:function(t){this._env=t},enumerable:!0,configurable:!0}),a.prototype.Push=function(){for(var e,t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{for(var a=u(r),o=a.next();!o.done;o=a.next()){var i=o.value;if(i){var s=d.default.isNode(i)?this._factory.create("mml",i):i;s.global=this.global;var l=p(this.stack.length?this.Top().checkItem(s):[null,!0],2),c=l[0];l[1]&&(c?(this.Pop(),this.Push.apply(this,f(c))):(this.stack.push(s),s.env?(s.copyEnv&&Object.assign(s.env,this.env),this.env=s.env):s.env=this.env))}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}},a.prototype.Pop=function(){var t=this.stack.pop();return t.isOpen||delete t.env,this.env=this.stack.length?this.Top().env:{},t},a.prototype.Top=function(t){return void 0===t&&(t=1),this.stack.length<t?null:this.stack[this.stack.length-t]},a.prototype.Prev=function(t){var e=this.Top();return t?e.First:e.Pop()},a.prototype.toString=function(){return"stack[\n  "+this.stack.join("\n  ")+"\n]"},a);function a(t,e,r){this._factory=t,this._env=e,this.global={},this.stack=[],this.global={isInner:r},this.stack=[this._factory.create("start",this.global)],e&&(this.stack[0].env=e),this.env=this.stack[0].env}e.default=n},function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r=e(0),n=e(1),s=e(4);i.ENCLOSE_OPTIONS={"data-arrowhead":1,color:1,mathcolor:1,background:1,mathbackground:1,"data-padding":1,"data-thickness":1},i.EncloseMethods={},i.EncloseMethods.Enclose=function(t,e){var r=t.GetArgument(e).replace(/,/g," "),n=t.GetBrackets(e,""),a=t.ParseArg(e),o=s.default.keyvalOptions(n,i.ENCLOSE_OPTIONS);o.notation=r,t.Push(t.create("node","menclose",[a],o))},new n.CommandMap("enclose",{enclose:"Enclose"},i.EncloseMethods),i.EncloseConfiguration=r.Configuration.create("enclose",{handler:{macro:["enclose"]}})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var c=r(2),u=r(1),n=r(9),p=r(4),f=r(24),d={NewCommand:function(t,e){var r=p.default.trimSpaces(t.GetArgument(e)),n=t.GetBrackets(e),a=t.GetBrackets(e),o=t.GetArgument(e);if("\\"===r.charAt(0)&&(r=r.substr(1)),!r.match(/^(.|[a-z]+)$/i))throw new c.default("IllegalControlSequenceName","Illegal control sequence name for %1",e);if(n&&!(n=p.default.trimSpaces(n)).match(/^[0-9]+$/))throw new c.default("IllegalParamNumber","Illegal number of parameters specified in %1",e);f.default.addMacro(t,r,d.Macro,[o,n,a])},NewEnvironment:function(t,e){var r=p.default.trimSpaces(t.GetArgument(e)),n=t.GetBrackets(e),a=t.GetBrackets(e),o=t.GetArgument(e),i=t.GetArgument(e);if(n&&!(n=p.default.trimSpaces(n)).match(/^[0-9]+$/))throw new c.default("IllegalParamNumber","Illegal number of parameters specified in %1",e);f.default.addEnvironment(t,r,d.BeginEnv,[!0,o,i,n,a])},MacroDef:function(t,e){var r=f.default.GetCSname(t,e),n=f.default.GetTemplate(t,e,"\\"+r),a=t.GetArgument(e);n instanceof Array?f.default.addMacro(t,r,d.MacroWithTemplate,[a].concat(n)):f.default.addMacro(t,r,d.Macro,[a,n])},Let:function(t,e){var r=f.default.GetCSname(t,e),n=t.GetNext();"="===n&&(t.i++,n=t.GetNext());var a=t.configuration.handlers;if("\\"!==n){t.i++;var o=a.get("delimiter").lookup(n);o?f.default.addDelimiter(t,"\\"+r,o.char,o.attributes):f.default.addMacro(t,r,d.Macro,[n])}else{e=f.default.GetCSname(t,e);var i=a.get("delimiter").lookup("\\"+e);if(i)return void f.default.addDelimiter(t,"\\"+r,i.char,i.attributes);var s=a.get("macro").applicable(e);if(!s)return;if(s instanceof u.MacroMap){var l=s.lookup(e);return void f.default.addMacro(t,r,l.func,l.args,l.symbol)}i=s.lookup(e);var c=f.default.disassembleSymbol(r,i);f.default.addMacro(t,r,function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=f.default.assembleSymbol(r);return s.parser(t,a)},c)}},MacroWithTemplate:function(t,e,r,n){for(var a=[],o=4;o<arguments.length;o++)a[o-4]=arguments[o];var i=parseInt(n,10);if(i){var s=[];if(t.GetNext(),a[0]&&!f.default.MatchParam(t,a[0]))throw new c.default("MismatchUseDef","Use of %1 doesn't match its definition",e);for(var l=0;l<i;l++)s.push(f.default.GetParameter(t,e,a[l+1]));r=p.default.substituteArgs(t,s,r)}if(t.string=p.default.addArgs(t,r,t.string.slice(t.i)),t.i=0,++t.macroCount>t.configuration.options.maxMacros)throw new c.default("MaxMacroSub1","MathJax maximum macro substitution count exceeded; is here a recursive macro call?")},BeginEnv:function(t,e,r,n,a,o){if(e.getProperty("end")&&t.stack.env.closing===e.getName()){delete t.stack.env.closing;var i=t.string.slice(t.i);return t.string=n,t.i=0,t.Parse(),t.string=i,t.i=0,t.itemFactory.create("end").setProperty("name",e.getName())}if(a){var s=[];if(null!=o){var l=t.GetBrackets("\\begin{"+e.getName()+"}");s.push(null==l?o:l)}for(var c=s.length;c<a;c++)s.push(t.GetArgument("\\begin{"+e.getName()+"}"));r=p.default.substituteArgs(t,s,r),n=p.default.substituteArgs(t,[],n)}return t.string=p.default.addArgs(t,r,t.string.slice(t.i)),t.i=0,t.itemFactory.create("beginEnv").setProperty("name",e.getName())}};d.Macro=n.default.Macro,e.default=d},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,a,o=r(4),l=r(2),i=r(15),s=r(8);function c(t,e){return t.string.substr(t.i,e.length)!==e||e.match(/\\[a-z]+$/i)&&t.string.charAt(t.i+e.length).match(/[a-z]/i)?0:(t.i+=e.length,1)}(a=n=n||{}).disassembleSymbol=function(t,e){var r=[t,e.char];if(e.attributes)for(var n in e.attributes)r.push(n),r.push(e.attributes[n]);return r},a.assembleSymbol=function(t){for(var e=t[0],r=t[1],n={},a=2;a<t.length;a+=2)n[t[a]]=t[a+1];return new i.Symbol(e,r,n)},a.GetCSname=function(t,e){if("\\"!==t.GetNext())throw new l.default("MissingCS","%1 must be followed by a control sequence",e);return o.default.trimSpaces(t.GetArgument(e)).substr(1)},a.GetTemplate=function(t,e,r){for(var n=t.GetNext(),a=[],o=0,i=t.i;t.i<t.string.length;){if("#"===(n=t.GetNext())){if(i!==t.i&&(a[o]=t.string.substr(i,t.i-i)),!(n=t.string.charAt(++t.i)).match(/^[1-9]$/))throw new l.default("CantUseHash2","Illegal use of # in template for %1",r);if(parseInt(n)!==++o)throw new l.default("SequentialParam","Parameters for %1 must be numbered sequentially",r);i=t.i+1}else if("{"===n)return i!==t.i&&(a[o]=t.string.substr(i,t.i-i)),0<a.length?[o.toString()].concat(a):o;t.i++}throw new l.default("MissingReplacementString","Missing replacement string for definition of %1",e)},a.GetParameter=function(t,e,r){if(null==r)return t.GetArgument(e);for(var n=t.i,a=0,o=0;t.i<t.string.length;){var i=t.string.charAt(t.i);if("{"===i)t.i===n&&(o=1),t.GetArgument(e),a=t.i-n;else{if(c(t,r))return o&&(n++,a-=2),t.string.substr(n,a);if("\\"===i){t.i++,a++,o=0;var s=t.string.substr(t.i).match(/[a-z]+|./i);s&&(t.i+=s[0].length,a=t.i-n)}else t.i++,a++,o=0}}throw new l.default("RunawayArgument","Runaway argument for %1?",e)},a.MatchParam=c,a.addDelimiter=function(t,e,r,n){t.configuration.handlers.retrieve(s.ExtensionMaps.NEW_DELIMITER).add(e,new i.Symbol(e,r,n))},a.addMacro=function(t,e,r,n,a){void 0===a&&(a=""),t.configuration.handlers.retrieve(s.ExtensionMaps.NEW_COMMAND).add(e,new i.Macro(a||e,r,n))},a.addEnvironment=function(t,e,r,n){t.configuration.handlers.retrieve(s.ExtensionMaps.NEW_ENVIRONMENT).add(e,new i.Macro(e,r,n))},e.default=n},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var a=r(0),o=r(54),i=r(8);r(84);e.NewcommandConfiguration=a.Configuration.create("newcommand",{handler:{macro:["Newcommand-macros"]},items:((n={})[o.BeginEnvItem.prototype.kind]=o.BeginEnvItem,n),options:{maxMacros:1e3},init:function(t){t.handler.macro.indexOf(i.ExtensionMaps.NEW_COMMAND)<0&&t.append(a.Configuration.extension())}})},function(t,e,r){"use strict";var l=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},n=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},a=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(n(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var s=r(0),o=r(1),i=r(2),c=r(29),u=r(67),p=r(65),f=r(88),d=r(10),h=c.MathJax.config;function m(t,e){var r,n=t.parseOptions.options.require,a=e.substr(n.prefix.length);if(n.required.indexOf(a)<0){n.required.push(a),function(t,e){var r,n;void 0===e&&(e=[]);var a=t.parseOptions.options.require.prefix;try{for(var o=l(e),i=o.next();!i.done;i=o.next()){var s=i.value;s.substr(0,a.length)===a&&m(t,s)}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}(t,p.CONFIG.dependencies[e]);var o=s.ConfigurationHandler.get(a);if(o){var i=h[e]||{};o.options&&1===Object.keys(o.options).length&&o.options[a]&&((r={})[a]=i,i=r),t.configuration.register(o,t,i),o.preprocessors.length&&!o.options.configured&&(o.options.configured=!0,f.mathjax.retryAfter(Promise.resolve()))}}}function g(t,e){var r=t.options.require,n=r.allow,a=("["===e.substr(0,1)?"":r.prefix)+e;if(!(n.hasOwnProperty(a)?n[a]:n.hasOwnProperty(e)?n[e]:r.defaultAllow))throw new i.default("BadRequire",'Extension "%1" is now allowed to be loaded',a);u.Package.packages.has(a)?m(r.jax,a):f.mathjax.retryAfter(p.Loader.load(a))}e.RequireLoad=g,e.RequireMethods={Require:function(t,e){var r=t.GetArgument(e);if(r.match(/[^_a-zA-Z0-9]/)||""===r)throw new i.default("BadPackageName","Argument for %1 is not a valid package name",e);g(t,r)}},e.options={require:{allow:d.expandable({base:!1,"all-packages":!1}),defaultAllow:!0,prefix:"tex"}},new o.CommandMap("require",{require:"Require"},e.RequireMethods),e.RequireConfiguration=s.Configuration.create("require",{handler:{macro:["require"]},config:function(t,e){var r=e.parseOptions.options.require;r.jax=e,r.required=a(e.options.packages);var n=r.prefix;if(n.match(/[^_a-zA-Z0-9]/))throw Error("Illegal characters used in \\require prefix");p.CONFIG.paths[n]||(p.CONFIG.paths[n]="[mathjax]/input/tex/extensions"),r.prefix="["+n+"]/"},options:e.options})},function(t,e,r){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)},c=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},l=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var i=r(69),u=r(10),p=r(30),f=r(31),s=r(3),d=r(6),h=r(2),m=r(32),g=r(14),y=r(0);r(17);var v,b=(v=i.AbstractInputJax,a(x,v),x.configure=function(t){var e,r,n=y.Configuration.empty();try{for(var a=l(t),o=a.next();!o.done;o=a.next()){var i=o.value,s=y.ConfigurationHandler.get(i);s&&n.append(s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return n.init(n),n},x.tags=function(t,e){g.TagsFactory.addTags(e.tags),g.TagsFactory.setDefault(t.options.tags),t.tags=g.TagsFactory.getDefault(),t.tags.configuration=t},x.prototype.setMmlFactory=function(t){v.prototype.setMmlFactory.call(this,t),this._parseOptions.nodeFactory.setMmlFactory(t)},Object.defineProperty(x.prototype,"parseOptions",{get:function(){return this._parseOptions},enumerable:!0,configurable:!0}),x.prototype.compile=function(t,e){this.parseOptions.clear(),this.executeFilters(this.preFilters,t,e,this.parseOptions);var r,n=t.display;this.latex=t.math,this.parseOptions.tags.startEquation(t);try{r=new d.default(this.latex,{display:n,isInner:!1},this.parseOptions).mml()}catch(t){if(!(t instanceof h.default))throw t;this.parseOptions.error=!0,r=this.formatError(t)}return r=this.parseOptions.nodeFactory.create("node","math",[r]),n&&s.default.setAttribute(r,"display","block"),this.parseOptions.tags.finishEquation(t),this.parseOptions.root=r,this.executeFilters(this.postFilters,t,e,this.parseOptions),this.mathNode=this.parseOptions.root,this.mathNode},x.prototype.findMath=function(t){return this.findTeX.findMath(t)},x.prototype.formatError=function(t){var e=t.message.replace(/\n.*/,"");return this.parseOptions.nodeFactory.create("error",e,t.id,this.latex)},x.NAME="TeX",x.OPTIONS=o(o({},i.AbstractInputJax.OPTIONS),{FindTeX:null,packages:["base"],digits:/^(?:[0-9]+(?:\{,\}[0-9]{3})*(?:\.[0-9]*)?|\.[0-9]+)/,maxBuffer:5120}),x);function x(t){void 0===t&&(t={});var e=this,r=c(u.separateOptions(t,x.OPTIONS,p.FindTeX.OPTIONS),3),n=r[0],a=r[1],o=r[2];(e=v.call(this,a)||this).findTeX=e.options.FindTeX||new p.FindTeX(o);var i=e.options.packages,s=e.configuration=x.configure(i),l=e._parseOptions=new m.default(s,[e.options,g.TagsFactory.OPTIONS]);return u.userOptions(l.options,n),s.config(s,e),x.tags(l,s),e.postFilters.add(f.default.cleanSubSup,-6),e.postFilters.add(f.default.setInherited,-5),e.postFilters.add(f.default.moveLimits,-4),e.postFilters.add(f.default.cleanStretchy,-3),e.postFilters.add(f.default.cleanAttributes,-2),e.postFilters.add(f.default.combineRelations,-1),e}e.TeX=b},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),r(17),r(34),r(35),r(37),r(39),r(40),r(41),r(44),r(47),r(48),r(51),r(52),r(22),r(53),r(55),r(57),r(25),r(58),r(59),r(60),r(87),r(63),r(64),"undefined"!=typeof MathJax&&MathJax.loader&&MathJax.loader.preLoad("[tex]/action","[tex]/ams","[tex]/amsCd","[tex]/bbox","[tex]/boldsymbol","[tex]/braket","[tex]/bussproofs","[tex]/cancel","[tex]/color","[tex]/color_v2","[tex]/enclose","[tex]/extpfeil","[tex]/html","[tex]/mhchem","[tex]/newcommand","[tex]/noerrors","[tex]/noundefined","[tex]/physics","[tex]/unicode","[tex]/verb","[tex]/configMacros","[tex]/tagFormat"),e.AllPackages=["base","action","ams","amsCd","bbox","boldsymbol","braket","bussproofs","cancel","color","enclose","extpfeil","html","mhchem","newcommand","noerrors","noundefined","unicode","verb","configMacros","tagFormat"]},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=MathJax._.components.global.isObject,e.combineConfig=MathJax._.components.global.combineConfig,e.combineDefaults=MathJax._.components.global.combineDefaults,e.combineWithMathJax=MathJax._.components.global.combineWithMathJax,e.MathJax=MathJax._.components.global.MathJax},function(t,e,r){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i};Object.defineProperty(e,"__esModule",{value:!0});var o,i=r(70),s=r(71),f=r(72),l=(o=i.AbstractFindMath,a(c,o),c.prototype.getPatterns=function(){var e=this,t=this.options,r=[],n=[],a=[];this.end={},this.env=this.sub=0;var o=1;t.inlineMath.forEach(function(t){return e.addPattern(r,t,!1)}),t.displayMath.forEach(function(t){return e.addPattern(r,t,!0)}),r.length&&n.push(r.sort(s.sortLength).join("|")),t.processEnvironments&&(n.push("\\\\begin\\{([^}]*)\\}"),this.env=o,o++),t.processEscapes&&a.push("\\\\([\\\\$])"),t.processRefs&&a.push("(\\\\(?:eq)?ref\\{[^}]*\\})"),a.length&&(n.push("("+a.join("|")+")"),this.sub=o),this.start=new RegExp(n.join("|"),"g"),this.hasPatterns=0<n.length},c.prototype.addPattern=function(t,e,r){var n=p(e,2),a=n[0],o=n[1];t.push(s.quotePattern(a)),this.end[a]=[o,r,this.endPattern(o)]},c.prototype.endPattern=function(t){return new RegExp(s.quotePattern(t)+"|\\\\(?:[a-zA-Z]|.)|[{}]","g")},c.prototype.findEnd=function(t,e,r,n){for(var a,o=p(n,3),i=o[0],s=o[1],l=o[2],c=l.lastIndex=r.index+r[0].length,u=0;a=l.exec(t);){if(a[0]===i&&0===u)return f.protoItem(r[0],t.substr(c,a.index-c),a[0],e,r.index,a.index+a[0].length,s);"{"===a[0]?u++:"}"===a[0]&&u&&u--}return null},c.prototype.findMathInString=function(t,e,r){var n,a;for(this.start.lastIndex=0;n=this.start.exec(r);){if(void 0!==n[this.env]&&this.env){var o="\\end{"+n[this.env]+"}";(a=this.findEnd(r,e,n,[o,!0,this.endPattern(o)]))&&(a.math=a.open+a.math+a.close,a.open=a.close="")}else if(void 0!==n[this.sub]&&this.sub){var i=n[this.sub];o=n.index+n[this.sub].length,a=2===i.length?f.protoItem("",i.substr(1),"",e,n.index,o):f.protoItem("",i,"",e,n.index,o,!1)}else a=this.findEnd(r,e,n,this.end[n[0]]);a&&(t.push(a),this.start.lastIndex=a.end.n)}},c.prototype.findMath=function(t){var e=[];if(this.hasPatterns)for(var r=0,n=t.length;r<n;r++)this.findMathInString(e,r,t[r]);return e},c.OPTIONS={inlineMath:[["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],processEscapes:!0,processEnvironments:!0,processRefs:!0},c);function c(t){var e=o.call(this,t)||this;return e.getPatterns(),e}e.FindTeX=l},function(t,e,r){"use strict";var d=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var n,h=r(5),m=r(3);!function(t){t.cleanStretchy=function(t){var e,r,n=t.data;try{for(var a=d(n.getList("fixStretchy")),o=a.next();!o.done;o=a.next()){var i=o.value;if(m.default.getProperty(i,"fixStretchy")){var s=m.default.getForm(i);s&&s[3]&&s[3].stretchy&&m.default.setAttribute(i,"stretchy",!1);var l=i.parent;if(!(m.default.getTexClass(i)||s&&s[2])){var c=n.nodeFactory.create("node","TeXAtom",[i]);l.replaceChild(c,i),c.inheritAttributesFrom(i)}m.default.removeProperties(i,"fixStretchy")}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}},t.cleanAttributes=function(t){t.data.root.walkTree(function(t,e){var r,n,a=t.attributes;if(a)try{for(var o=d(a.getExplicitNames()),i=o.next();!i.done;i=o.next()){var s=i.value;a.attributes[s]===t.attributes.getInherited(s)&&delete a.attributes[s]}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},{})},t.combineRelations=function(t){var e,r;try{for(var n=d(t.data.getList("mo")),a=n.next();!a.done;a=n.next()){var o=a.value;if(!o.getProperty("relationsCombined")&&o.parent&&(!o.parent||m.default.isType(o.parent,"mrow"))&&m.default.getTexClass(o)===h.TEXCLASS.REL){for(var i=o.parent,s=void 0,l=i.childNodes,c=l.indexOf(o)+1,u=m.default.getProperty(o,"variantForm");c<l.length&&(s=l[c])&&m.default.isType(s,"mo")&&m.default.getTexClass(s)===h.TEXCLASS.REL;){if(u!==m.default.getProperty(s,"variantForm")||!f(o,s)){null==o.attributes.getExplicit("rspace")&&m.default.setAttribute(o,"rspace","0pt"),null==s.attributes.getExplicit("lspace")&&m.default.setAttribute(s,"lspace","0pt");break}m.default.appendChildren(o,m.default.getChildren(s)),p(["stretchy","rspace"],o,s),m.default.setProperties(o,s.getAllProperties()),l.splice(c,1),s.parent=null,s.setProperty("relationsCombined",!0)}o.attributes.setInherited("form",o.getForms()[0])}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}};function r(t,e,r){var n,a;try{for(var o=d(t.getList("m"+e+r)),i=o.next();!i.done;i=o.next()){var s=i.value,l=s.childNodes;if(!l[s[e]]||!l[s[r]]){var c=s.parent,u=l[s[e]]?t.nodeFactory.create("node","m"+e,[l[s.base],l[s[e]]]):t.nodeFactory.create("node","m"+r,[l[s.base],l[s[r]]]);m.default.copyAttributes(s,u),c?c.replaceChild(u,s):t.root=u}}}catch(t){n={error:t}}finally{try{i&&!i.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}}var p=function(t,e,r){var n=e.attributes,a=r.attributes;t.forEach(function(t){var e=a.getExplicit(t);null!=e&&n.set(t,e)})},f=function(t,e){function r(e,r){return e.getExplicitNames().filter(function(t){return t!==r&&("stretchy"!==t||e.getExplicit("stretchy"))})}var n,a,o=t.attributes,i=e.attributes,s=r(o,"lspace"),l=r(i,"rspace");if(s.length!==l.length)return!1;try{for(var c=d(s),u=c.next();!u.done;u=c.next()){var p=u.value;if(o.getExplicit(p)!==i.getExplicit(p))return!1}}catch(t){n={error:t}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}return!0};t.cleanSubSup=function(t){var e=t.data;e.error||(r(e,"sub","sup"),r(e,"under","over"))};function n(t,e,r){var n,a;try{for(var o=d(t.getList(e)),i=o.next();!i.done;i=o.next()){var s=i.value;if(!s.attributes.get("displaystyle")){var l=s.childNodes[s.base],c=l.coreMO();if(l.getProperty("movablelimits")&&!c.attributes.getExplicit("movablelimits")){var u=t.nodeFactory.create("node",r,s.childNodes);m.default.copyAttributes(s,u),s.parent?s.parent.replaceChild(u,s):t.root=u}}}}catch(t){n={error:t}}finally{try{i&&!i.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}}t.moveLimits=function(t){var e=t.data;n(e,"munderover","msubsup"),n(e,"munder","msub"),n(e,"mover","msup")},t.setInherited=function(t){t.data.root.setInheritedAttributes({},t.math.display,0,!1)}}(n=n||{}),e.default=n},function(t,e,r){"use strict";var n=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},a=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(n(arguments[e]));return t},l=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var o=r(33),i=r(8),s=r(16),c=r(10),u=(p.prototype.pushParser=function(t){this.parsers.unshift(t)},p.prototype.popParser=function(){this.parsers.shift()},Object.defineProperty(p.prototype,"parser",{get:function(){return this.parsers[0]},enumerable:!0,configurable:!0}),p.prototype.clear=function(){this.parsers=[],this.root=null,this.nodeLists={},this.error=!1,this.tags.resetTag()},p.prototype.addNode=function(t,e){var r=this.nodeLists[t];(r=r||(this.nodeLists[t]=[])).push(e)},p.prototype.getList=function(t){var e,r,n=this.nodeLists[t]||[],a=[];try{for(var o=l(n),i=o.next();!i.done;i=o.next()){var s=i.value;this.inTree(s)&&a.push(s)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return this.nodeLists[t]=a},p.prototype.inTree=function(t){for(;t&&t!==this.root;)t=t.parent;return!!t},p);function p(t,e){void 0===e&&(e=[]),this.options={},this.parsers=[],this.root=null,this.nodeLists={},this.error=!1,this.handlers=new i.SubHandlers(t),this.nodeFactory=new s.NodeFactory,(this.nodeFactory.configuration=this).nodeFactory.setCreators(t.nodes),this.itemFactory=new o.default(t.items),this.itemFactory.configuration=this,c.defaultOptions.apply(void 0,a([this.options],e)),c.defaultOptions(this.options,t.options)}e.default=u},function(t,e,r){"use strict";var n,a,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i,s=r(11),l=r(74),c=(i=s.BaseItem,o(u,i),u);function u(){return null!==i&&i.apply(this,arguments)||this}var p,f=(p=l.AbstractFactory,o(d,p),d.DefaultStackItems=((a={})[c.prototype.kind]=c,a),d);function d(){var t=null!==p&&p.apply(this,arguments)||this;return t.defaultKind="dummy",t.configuration=null,t}e.default=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),a=r(6),o=r(1),i=r(9);e.ActionMethods={},e.ActionMethods.Macro=i.default.Macro,e.ActionMethods.Toggle=function(t,e){for(var r,n=[];"\\endtoggle"!==(r=t.GetArgument(e));)n.push(new a.default(r,t.stack.env,t.configuration).mml());t.Push(t.create("node","maction",n,{actiontype:"toggle"}))},e.ActionMethods.Mathtip=function(t,e){var r=t.ParseArg(e),n=t.ParseArg(e);t.Push(t.create("node","maction",[r,n],{actiontype:"tooltip"}))},new o.CommandMap("action-macros",{toggle:"Toggle",mathtip:"Mathtip",texttip:["Macro","\\mathtip{#1}{\\text{#2}}",2]},e.ActionMethods),e.ActionConfiguration=n.Configuration.create("action",{handler:{macro:["action-macros"]}})},function(t,e,r){"use strict";var n,a,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i=r(0),s=r(36),l=r(14);r(79);var c,u=(c=l.AbstractTags,o(p,c),p);function p(){return null!==c&&c.apply(this,arguments)||this}e.AmsTags=u;e.AmsConfiguration=i.Configuration.create("ams",{handler:{delimiter:["AMSsymbols-delimiter","AMSmath-delimiter"],macro:["AMSsymbols-mathchar0mi","AMSsymbols-mathchar0m0","AMSsymbols-delimiter","AMSsymbols-macros","AMSmath-mathchar0mo","AMSmath-macros","AMSmath-delimiter"],environment:["AMSmath-environment"]},items:((a={})[s.MultlineItem.prototype.kind]=s.MultlineItem,a),tags:{ams:u},init:function(t){t.append(i.Configuration.extension())}})},function(t,e,r){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var o,i=r(18),s=r(4),l=r(3),c=r(2),u=r(7),p=(o=i.ArrayItem,a(f,o),Object.defineProperty(f.prototype,"kind",{get:function(){return"multline"},enumerable:!0,configurable:!0}),f.prototype.EndEntry=function(){this.table.length&&s.default.fixInitialMO(this.factory.configuration,this.nodes);var t=this.getProperty("shove"),e=this.create("node","mtd",this.nodes,t?{columnalign:t}:{});this.setProperty("shove",null),this.row.push(e),this.Clear()},f.prototype.EndRow=function(){if(1!==this.row.length)throw new c.default("MultlineRowsOneCol","The rows within the %1 environment must have exactly one column","multline");var t=this.create("node","mtr",this.row);this.table.push(t),this.row=[]},f.prototype.EndTable=function(){if(o.prototype.EndTable.call(this),this.table.length){var t=this.table.length-1,e=-1;l.default.getAttribute(l.default.getChildren(this.table[0])[0],"columnalign")||l.default.setAttribute(l.default.getChildren(this.table[0])[0],"columnalign",u.TexConstant.Align.LEFT),l.default.getAttribute(l.default.getChildren(this.table[t])[0],"columnalign")||l.default.setAttribute(l.default.getChildren(this.table[t])[0],"columnalign",u.TexConstant.Align.RIGHT);var r=this.factory.configuration.tags.getTag();if(r){e=this.arraydef.side===u.TexConstant.Align.LEFT?0:this.table.length-1;var n=this.table[e],a=this.create("node","mlabeledtr",[r].concat(l.default.getChildren(n)));l.default.copyAttributes(n,a),this.table[e]=a}}this.factory.configuration.tags.end()},f);function f(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=o.call(this,t)||this;return n.factory.configuration.tags.start("multline",!0,e[0]),n}e.MultlineItem=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0);r(80),e.AmsCdConfiguration=n.Configuration.create("amsCd",{handler:{character:["amsCd_special"],macro:["amsCd_macros"],environment:["amsCd_environment"]},options:{amsCd:{colspace:"5pt",rowspace:"5pt",harrowsize:"2.75em",varrowsize:"1.75em",hideHorizontalLabels:!1}}})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var v=r(6),b=r(17),x=r(5),_=r(3),A={CD:function(t,e){t.Push(e);var r=t.itemFactory.create("array"),n=t.configuration.options.amsCd;return r.setProperties({minw:t.stack.env.CD_minw||n.harrowsize,minh:t.stack.env.CD_minh||n.varrowsize}),r.arraydef={columnalign:"center",columnspacing:n.colspace,rowspacing:n.rowspace,displaystyle:!0},r},arrow:function(t,e){var r=t.string.charAt(t.i);if(!r.match(/[><VA.|=]/))return b.Other(t,e);t.i++;var n=t.stack.Top();n.isKind("array")&&!n.Size()||(A.cell(t,e),n=t.stack.Top());for(var a,o=n,i=o.table.length%2==1,s=(o.row.length+(i?0:1))%2;s;)A.cell(t,e),s--;var l={minsize:o.getProperty("minw"),stretchy:!0},c={minsize:o.getProperty("minh"),stretchy:!0,symmetric:!0,lspace:0,rspace:0};if("."!==r)if("|"===r)a=t.create("token","mo",c,"\u2225");else if("="===r)a=t.create("token","mo",l,"=");else{var u={">":"\u2192","<":"\u2190",V:"\u2193",A:"\u2191"}[r],p=t.GetUpTo(e+r,r),f=t.GetUpTo(e+r,r);if(">"===r||"<"===r){if(a=t.create("token","mo",l,u),(p=p||"\\kern "+o.getProperty("minw"))||f){var d={width:"+11mu",lspace:"6mu"};if(a=t.create("node","munderover",[a]),p){var h=new v.default(p,t.stack.env,t.configuration).mml(),m=t.create("node","mpadded",[h],d);_.default.setAttribute(m,"voffset",".1em"),_.default.setChild(a,a.over,m)}if(f){var g=new v.default(f,t.stack.env,t.configuration).mml();_.default.setChild(a,a.under,t.create("node","mpadded",[g],d))}t.configuration.options.amsCd.hideHorizontalLabels&&(a=t.create("node","mpadded",a,{depth:0,height:".67em"}))}}else{var y=t.create("token","mo",c,u);a=y,(p||f)&&(a=t.create("node","mrow"),p&&_.default.appendChildren(a,[new v.default("\\scriptstyle\\llap{"+p+"}",t.stack.env,t.configuration).mml()]),y.texClass=x.TEXCLASS.ORD,_.default.appendChildren(a,[y]),f&&_.default.appendChildren(a,[new v.default("\\scriptstyle\\rlap{"+f+"}",t.stack.env,t.configuration).mml()]))}}a&&t.Push(a),A.cell(t,e)},cell:function(t,e){var r=t.stack.Top();(r.table||[]).length%2==0&&0===(r.row||[]).length&&t.Push(t.create("node","mpadded",[],{height:"8.5pt",depth:"2pt"})),t.Push(t.itemFactory.create("cell").setProperties({isEntry:!0,name:e}))},minCDarrowwidth:function(t,e){t.stack.env.CD_minw=t.GetDimen(e)},minCDarrowheight:function(t,e){t.stack.env.CD_minh=t.GetDimen(e)}};e.default=A},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),a=r(1),d=r(2);e.BboxMethods={},e.BboxMethods.BBox=function(t,e){for(var r,n,a,o=t.GetBrackets(e,""),i=t.ParseArg(e),s=o.split(/,/),l=0,c=s.length;l<c;l++){var u=s[l].trim(),p=u.match(/^(\.\d+|\d+(\.\d*)?)(pt|em|ex|mu|px|in|cm|mm)$/);if(p){if(r)throw new d.default("MultipleBBoxProperty","%1 specified twice in %2","Padding",e);var f=m(p[1]+p[3]);f&&(r={height:"+"+f,depth:"+"+f,lspace:f,width:"+"+2*parseInt(p[1],10)+p[3]})}else if(u.match(/^([a-z0-9]+|\#[0-9a-f]{6}|\#[0-9a-f]{3})$/i)){if(n)throw new d.default("MultipleBBoxProperty","%1 specified twice in %2","Background",e);n=u}else if(u.match(/^[-a-z]+:/i)){if(a)throw new d.default("MultipleBBoxProperty","%1 specified twice in %2","Style",e);a=h(u)}else if(""!==u)throw new d.default("InvalidBBoxProperty",'"%1" doesn\'t look like a color, a padding dimension, or a style',u)}r&&(i=t.create("node","mpadded",[i],r)),(n||a)&&(r={},n&&Object.assign(r,{mathbackground:n}),a&&Object.assign(r,{style:a}),i=t.create("node","mstyle",[i],r)),t.Push(i)};var h=function(t){return t},m=function(t){return t};new a.CommandMap("bbox",{bbox:"BBox"},e.BboxMethods),e.BboxConfiguration=n.Configuration.create("bbox",{handler:{macro:["bbox"]}})},function(t,e,r){"use strict";var s=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),l=r(3),c=r(7),a=r(1),o=r(16),u={};function i(t,e,r,n){var a=o.NodeFactory.createToken(t,e,r,n);return"mtext"!==e&&t.configuration.parser.stack.env.boldsymbol&&(l.default.setProperty(a,"fixBold",!0),t.configuration.addNode("fixBold",a)),a}function p(t){var e,r;try{for(var n=s(t.data.getList("fixBold")),a=n.next();!a.done;a=n.next()){var o=a.value;if(l.default.getProperty(o,"fixBold")){var i=l.default.getAttribute(o,"mathvariant");null==i?l.default.setAttribute(o,"mathvariant",c.TexConstant.Variant.BOLD):l.default.setAttribute(o,"mathvariant",u[i]||i),l.default.removeProperties(o,"fixBold")}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}}u[c.TexConstant.Variant.NORMAL]=c.TexConstant.Variant.BOLD,u[c.TexConstant.Variant.ITALIC]=c.TexConstant.Variant.BOLDITALIC,u[c.TexConstant.Variant.FRAKTUR]=c.TexConstant.Variant.BOLDFRAKTUR,u[c.TexConstant.Variant.SCRIPT]=c.TexConstant.Variant.BOLDSCRIPT,u[c.TexConstant.Variant.SANSSERIF]=c.TexConstant.Variant.BOLDSANSSERIF,u["-tex-calligraphic"]="-tex-bold-calligraphic",u["-tex-oldstyle"]="-tex-bold-oldstyle",e.BoldsymbolMethods={},e.BoldsymbolMethods.Boldsymbol=function(t,e){var r=t.stack.env.boldsymbol;t.stack.env.boldsymbol=!0;var n=t.ParseArg(e);t.stack.env.boldsymbol=r,t.Push(n)},new a.CommandMap("boldsymbol",{boldsymbol:"Boldsymbol"},e.BoldsymbolMethods),e.createBoldToken=i,e.rewriteBoldTokens=p,e.BoldsymbolConfiguration=n.Configuration.create("boldsymbol",{handler:{macro:["boldsymbol"]},nodes:{token:i},postprocessors:[p]})},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var a=r(0),o=r(42);r(81),e.BraketConfiguration=a.Configuration.create("braket",{handler:{character:["Braket-characters"],macro:["Braket-macros"]},items:((n={})[o.BraketItem.prototype.kind]=o.BraketItem,n)})},function(t,e,r){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i,o=r(11),s=r(5),l=r(4),c=(i=o.BaseItem,a(u,i),Object.defineProperty(u.prototype,"kind",{get:function(){return"braket"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"isOpen",{get:function(){return!0},enumerable:!0,configurable:!0}),u.prototype.checkItem=function(t){return t.isKind("close")?[[this.factory.create("mml",this.toMml())],!0]:t.isKind("mml")?(this.Push(t.toMml()),this.getProperty("single")?[[this.toMml()],!0]:o.BaseItem.fail):i.prototype.checkItem.call(this,t)},u.prototype.toMml=function(){var t=i.prototype.toMml.call(this),e=this.getProperty("open"),r=this.getProperty("close");if(this.getProperty("stretchy"))return l.default.fenced(this.factory.configuration,e,t,r);var n={fence:!0,stretchy:!1,symmetric:!0,texClass:s.TEXCLASS.OPEN},a=this.create("token","mo",n,e);n.texClass=s.TEXCLASS.CLOSE;var o=this.create("token","mo",n,r);return this.create("node","mrow",[a,t,o],{open:e,close:r,texClass:s.TEXCLASS.INNER})},u);function u(){return null!==i&&i.apply(this,arguments)||this}e.BraketItem=c},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(9),s=r(5),a={};a.Macro=n.default.Macro,a.Braket=function(t,e,r,n,a,o){var i=!0;"{"===t.GetNext()&&(t.i++,i=!1),t.Push(t.itemFactory.create("braket").setProperties({barmax:o,barcount:0,open:r,close:n,stretchy:a,single:i}))},a.Bar=function(t,e){var r="|"===e?"|":"\u2225",n=t.stack.Top();if("braket"!==n.kind||n.getProperty("barcount")>=n.getProperty("barmax")){var a=t.create("token","mo",{texClass:s.TEXCLASS.ORD,stretchy:!1},r);t.Push(a)}else{if("|"===r&&"|"===t.GetNext()&&(t.i++,r="\u2225"),n.getProperty("stretchy")){var o=t.create("node","TeXAtom",[],{texClass:s.TEXCLASS.CLOSE});t.Push(o),n.setProperty("barcount",n.getProperty("barcount")+1),o=t.create("token","mo",{stretchy:!0,braketbar:!0},r),t.Push(o),o=t.create("node","TeXAtom",[],{texClass:s.TEXCLASS.OPEN}),t.Push(o)}else{var i=t.create("token","mo",{stretchy:!1,braketbar:!0},r);t.Push(i)}}},e.default=a},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var a=r(0),o=r(45),i=r(20);r(82),e.BussproofsConfiguration=a.Configuration.create("bussproofs",{handler:{macro:["Bussproofs-macros"],environment:["Bussproofs-environments"]},items:((n={})[o.ProofTreeItem.prototype.kind]=o.ProofTreeItem,n),preprocessors:[[i.saveDocument,1]],postprocessors:[[i.clearDocument,3],[i.makeBsprAttributes,2],[i.balanceRules,1]]})},function(t,e,r){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var o,i=r(2),s=r(11),l=r(21),c=r(20),u=(o=s.BaseItem,a(p,o),Object.defineProperty(p.prototype,"kind",{get:function(){return"proofTree"},enumerable:!0,configurable:!0}),p.prototype.checkItem=function(t){if(t.isKind("end")&&"prooftree"===t.getName()){var e=this.toMml();return c.setProperty(e,"proof",!0),[[this.factory.create("mml",e),t],!0]}if(t.isKind("stop"))throw new i.default("EnvMissingEnd","Missing \\end{%1}",this.getName());return this.innerStack.Push(t),s.BaseItem.fail},p.prototype.toMml=function(){var t=o.prototype.toMml.call(this),e=this.innerStack.Top();if(e.isKind("start")&&!e.Size())return t;this.innerStack.Push(this.factory.create("stop"));var r=this.innerStack.Top().toMml();return this.create("node","mrow",[r,t],{})},p);function p(){var t=null!==o&&o.apply(this,arguments)||this;return t.leftLabel=null,t.rigthLabel=null,t.innerStack=new l.default(t.factory,{},!0),t}e.ProofTreeItem=u},function(t,e,r){"use strict";var h=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},o=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(h(arguments[e]));return t};Object.defineProperty(e,"__esModule",{value:!0});var m=r(2),g=r(6),i=r(4),y=r(20),n={Prooftree:function(t,e){return t.Push(e),t.itemFactory.create("proofTree").setProperties({name:e.getName(),line:"solid",currentLine:"solid",rootAtTop:!1})},Axiom:function(t,e){var r=t.stack.Top();if("proofTree"!==r.kind)throw new m.default("IllegalProofCommand","Proof commands only allowed in prooftree environment.");var n=f(t,t.GetArgument(e));y.setProperty(n,"axiom",!0),r.Push(n)}},f=function(t,e){var r=i.default.internalMath(t,i.default.trimSpaces(e),0);if(!r[0].childNodes[0].childNodes.length)return t.create("node","mrow",[]);var n=t.create("node","mspace",[],{width:".5ex"}),a=t.create("node","mspace",[],{width:".5ex"});return t.create("node","mrow",o([n],r,[a]))};function d(t,e,r,n,a,o,i){var s,l,c,u,p=t.create("node","mtr",[t.create("node","mtd",[e],{})],{}),f=t.create("node","mtr",[t.create("node","mtd",r,{})],{}),d=t.create("node","mtable",i?[f,p]:[p,f],{align:"top 2",rowlines:o,framespacing:"0 0"});if(y.setProperty(d,"inferenceRule",i?"up":"down"),n&&(s=t.create("node","mpadded",[n],{height:"+.5em",width:"+.5em",voffset:"-.15em"}),y.setProperty(s,"prooflabel","left")),a&&(l=t.create("node","mpadded",[a],{height:"+.5em",width:"+.5em",voffset:"-.15em"}),y.setProperty(l,"prooflabel","right")),n&&a)c=[s,d,l],u="both";else if(n)c=[s,d],u="left";else{if(!a)return d;c=[d,l],u="right"}return d=t.create("node","mrow",c),y.setProperty(d,"labelledRule",u),d}function v(t,e){if("$"!==t.GetNext())throw new m.default("IllegalUseOfCommand","Use of %1 does not match it's definition.",e);t.i++;var r=t.GetUpTo(e,"$");if(-1===r.indexOf("\\fCenter"))throw new m.default("IllegalUseOfCommand","Missing \\fCenter in %1.",e);var n=h(r.split("\\fCenter"),2),a=n[0],o=n[1],i=new g.default(a,t.stack.env,t.configuration).mml(),s=new g.default(o,t.stack.env,t.configuration).mml(),l=new g.default("\\fCenter",t.stack.env,t.configuration).mml(),c=t.create("node","mtd",[i],{}),u=t.create("node","mtd",[l],{}),p=t.create("node","mtd",[s],{}),f=t.create("node","mtr",[c,u,p],{}),d=t.create("node","mtable",[f],{columnspacing:".5ex",columnalign:"center 2"});return y.setProperty(d,"sequent",!0),t.configuration.addNode("sequent",f),d}n.Inference=function(t,e,r){var n=t.stack.Top();if("proofTree"!==n.kind)throw new m.default("IllegalProofCommand","Proof commands only allowed in prooftree environment.");if(n.Size()<r)throw new m.default("BadProofTree","Proof tree badly specified.");for(var a=n.getProperty("rootAtTop"),o=1!==r||n.Peek()[0].childNodes.length?r:0,i=[];i.length&&i.unshift(t.create("node","mtd",[],{})),i.unshift(t.create("node","mtd",[n.Pop()],{rowalign:a?"top":"bottom"})),0<--r;);var s=t.create("node","mtr",i,{}),l=t.create("node","mtable",[s],{framespacing:"0 0"}),c=f(t,t.GetArgument(e)),u=n.getProperty("currentLine");u!==n.getProperty("line")&&n.setProperty("currentLine",n.getProperty("line"));var p=d(t,l,[c],n.getProperty("left"),n.getProperty("right"),u,a);n.setProperty("left",null),n.setProperty("right",null),y.setProperty(p,"inference",o),t.configuration.addNode("inference",p),n.Push(p)},n.Label=function(t,e,r){var n=t.stack.Top();if("proofTree"!==n.kind)throw new m.default("IllegalProofCommand","Proof commands only allowed in prooftree environment.");var a=i.default.internalMath(t,t.GetArgument(e),0),o=1<a.length?t.create("node","mrow",a,{}):a[0];n.setProperty(r,o)},n.SetLine=function(t,e,r,n){var a=t.stack.Top();if("proofTree"!==a.kind)throw new m.default("IllegalProofCommand","Proof commands only allowed in prooftree environment.");a.setProperty("currentLine",r),n&&a.setProperty("line",r)},n.RootAtTop=function(t,e,r){var n=t.stack.Top();if("proofTree"!==n.kind)throw new m.default("IllegalProofCommand","Proof commands only allowed in prooftree environment.");n.setProperty("rootAtTop",r)},n.AxiomF=function(t,e){var r=t.stack.Top();if("proofTree"!==r.kind)throw new m.default("IllegalProofCommand","Proof commands only allowed in prooftree environment.");var n=v(t,e);y.setProperty(n,"axiom",!0),r.Push(n)},n.FCenter=function(t,e){},n.InferenceF=function(t,e,r){var n=t.stack.Top();if("proofTree"!==n.kind)throw new m.default("IllegalProofCommand","Proof commands only allowed in prooftree environment.");if(n.Size()<r)throw new m.default("BadProofTree","Proof tree badly specified.");for(var a=n.getProperty("rootAtTop"),o=1!==r||n.Peek()[0].childNodes.length?r:0,i=[];i.length&&i.unshift(t.create("node","mtd",[],{})),i.unshift(t.create("node","mtd",[n.Pop()],{rowalign:a?"top":"bottom"})),0<--r;);var s=t.create("node","mtr",i,{}),l=t.create("node","mtable",[s],{framespacing:"0 0"}),c=v(t,e),u=n.getProperty("currentLine");u!==n.getProperty("line")&&n.setProperty("currentLine",n.getProperty("line"));var p=d(t,l,[c],n.getProperty("left"),n.getProperty("right"),u,a);n.setProperty("left",null),n.setProperty("right",null),y.setProperty(p,"inference",o),t.configuration.addNode("inference",p),n.Push(p)},e.default=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),i=r(7),a=r(1),s=r(4),l=r(22);e.CancelMethods={},e.CancelMethods.Cancel=function(t,e,r){var n=t.GetBrackets(e,""),a=t.ParseArg(e),o=s.default.keyvalOptions(n,l.ENCLOSE_OPTIONS);o.notation=r,t.Push(t.create("node","menclose",[a],o))},e.CancelMethods.CancelTo=function(t,e){var r=t.GetBrackets(e,""),n=t.ParseArg(e),a=t.ParseArg(e),o=s.default.keyvalOptions(r,l.ENCLOSE_OPTIONS);o.notation=[i.TexConstant.Notation.UPDIAGONALSTRIKE,i.TexConstant.Notation.UPDIAGONALARROW,i.TexConstant.Notation.NORTHEASTARROW].join(" "),n=t.create("node","mpadded",[n],{depth:"-.1em",height:"+.1em",voffset:".1em"}),t.Push(t.create("node","msup",[t.create("node","menclose",[a],o),n]))},new a.CommandMap("cancel",{cancel:["Cancel",i.TexConstant.Notation.UPDIAGONALSTRIKE],bcancel:["Cancel",i.TexConstant.Notation.DOWNDIAGONALSTRIKE],xcancel:["Cancel",i.TexConstant.Notation.UPDIAGONALSTRIKE+" "+i.TexConstant.Notation.DOWNDIAGONALSTRIKE],cancelto:"CancelTo"},e.CancelMethods),e.CancelConfiguration=n.Configuration.create("cancel",{handler:{macro:["cancel"]}})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),a=r(0),o=r(49),i=r(50);new n.CommandMap("color",{color:"Color",textcolor:"TextColor",definecolor:"DefineColor",colorbox:"ColorBox",fcolorbox:"FColorBox"},o.ColorMethods);e.ColorConfiguration=a.Configuration.create("color",{handler:{macro:["color"]},options:{color:{padding:"5px",borderWidth:"2px"}},config:function(t,e){e.parseOptions.options.color.model=new i.ColorModel}})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=r(3),c=r(4);function u(t){var e="+"+t,r=t.replace(/^.*?([a-z]*)$/,"$1");return{width:"+"+2*parseFloat(e)+r,height:e,depth:e,lspace:t}}e.ColorMethods={},e.ColorMethods.Color=function(t,e){var r=t.GetBrackets(e,""),n=t.GetArgument(e),a=t.options.color.model.getColor(r,n),o=t.itemFactory.create("style").setProperties({styles:{mathcolor:a}});t.stack.env.color=a,t.Push(o)},e.ColorMethods.TextColor=function(t,e){var r=t.GetBrackets(e,""),n=t.GetArgument(e),a=t.options.color.model.getColor(r,n),o=t.stack.env.color;t.stack.env.color=a;var i=t.ParseArg(e);o?t.stack.env.color=o:delete t.stack.env.color;var s=t.create("node","mstyle",[i],{mathcolor:a});t.Push(s)},e.ColorMethods.DefineColor=function(t,e){var r=t.GetArgument(e),n=t.GetArgument(e),a=t.GetArgument(e);t.options.color.model.defineColor(n,r,a)},e.ColorMethods.ColorBox=function(t,e){var r=t.GetArgument(e),n=c.default.internalMath(t,t.GetArgument(e)),a=t.options.color,o=a.model,i=t.create("node","mpadded",n,{mathbackground:o.getColor("named",r)});l.default.setProperties(i,u(a.padding)),t.Push(i)},e.ColorMethods.FColorBox=function(t,e){var r=t.GetArgument(e),n=t.GetArgument(e),a=c.default.internalMath(t,t.GetArgument(e)),o=t.options.color,i=o.model,s=t.create("node","mpadded",a,{mathbackground:i.getColor("named",n),style:"border: "+o.borderWidth+" solid "+i.getColor("named",r)});l.default.setProperties(s,u(o.padding)),t.Push(s)}},function(t,e,r){"use strict";var u=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var p=r(2),n=r(83),a=new Map,o=(i.prototype.normalizeColor=function(t,e){if(!t||"named"===t)return e;if(a.has(t))return a.get(t)(e);throw new p.default("UndefinedColorModel","Color model '%1' not defined",t)},i.prototype.getColor=function(t,e){return t&&"named"!==t?this.normalizeColor(t,e):this.getColorByName(e)},i.prototype.getColorByName=function(t){return this.userColors.has(t)?this.userColors.get(t):n.COLORS.has(t)?n.COLORS.get(t):t},i.prototype.defineColor=function(t,e,r){var n=this.normalizeColor(t,r);this.userColors.set(e,n)},i);function i(){this.userColors=new Map}e.ColorModel=o,a.set("rgb",function(t){var e,r,n=t.trim().split(/\s*,\s*/),a="#";if(3!==n.length)throw new p.default("ModelArg1","Color values for the %1 model require 3 numbers","rgb");try{for(var o=u(n),i=o.next();!i.done;i=o.next()){var s=i.value;if(!s.match(/^(\d+(\.\d*)?|\.\d+)$/))throw new p.default("InvalidDecimalNumber","Invalid decimal number");var l=parseFloat(s);if(l<0||1<l)throw new p.default("ModelArg2","Color values for the %1 model must be between %2 and %3","rgb","0","1");var c=Math.floor(255*l).toString(16);c.length<2&&(c="0"+c),a+=c}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return a}),a.set("RGB",function(t){var e,r,n=t.trim().split(/\s*,\s*/),a="#";if(3!==n.length)throw new p.default("ModelArg1","Color values for the %1 model require 3 numbers","RGB");try{for(var o=u(n),i=o.next();!i.done;i=o.next()){var s=i.value;if(!s.match(/^\d+$/))throw new p.default("InvalidNumber","Invalid number");var l=parseInt(s);if(255<l)throw new p.default("ModelArg2","Color values for the %1 model must be between %2 and %3","RGB","0","255");var c=l.toString(16);c.length<2&&(c="0"+c),a+=c}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return a}),a.set("gray",function(t){if(!t.match(/^\s*(\d+(\.\d*)?|\.\d+)\s*$/))throw new p.default("InvalidDecimalNumber","Invalid decimal number");var e=parseFloat(t);if(e<0||1<e)throw new p.default("ModelArg2","Color values for the %1 model must be between %2 and %3","gray","0","1");var r=Math.floor(255*e).toString(16);return r.length<2&&(r="0"+r),"#"+r+r+r})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),a=r(0);e.ColorV2Methods={Color:function(t,e){var r=t.GetArgument(e),n=t.stack.env.color;t.stack.env.color=r;var a=t.ParseArg(e);n?t.stack.env.color=n:delete t.stack.env.color;var o=t.create("node","mstyle",[a],{mathcolor:r});t.Push(o)}},new n.CommandMap("colorV2",{color:"Color"},e.ColorV2Methods),e.ColorConfiguration=a.Configuration.create("colorV2",{handler:{macro:["colorV2"]}})},function(t,e,r){"use strict";var p=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),a=r(10),o=r(1),f=r(15),d=r(23),h="configMacrosMap";e.ConfigMacrosConfiguration=n.Configuration.create("configMacros",{init:function(t){new o.CommandMap(h,{},{}),t.append(n.Configuration.create("configMacroDefinitions",{handler:{macro:[h]}}))},config:function(t,e){var r,n,a=e.parseOptions.handlers.retrieve(h),o=e.parseOptions.options.macros;try{for(var i=p(Object.keys(o)),s=i.next();!s.done;s=i.next()){var l=s.value,c="string"==typeof o[l]?[o[l]]:o[l],u=Array.isArray(c[2])?new f.Macro(l,d.default.MacroWithTemplate,c.slice(0,2).concat(c[2])):new f.Macro(l,d.default.Macro,c);a.add(l,u)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},options:{macros:a.expandable({})}})},function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r=e(0),n=e(1),a=e(19),s=e(24),o=e(25),l=e(2);i.ExtpfeilMethods={},i.ExtpfeilMethods.xArrow=a.default.xArrow,i.ExtpfeilMethods.NewExtArrow=function(t,e){var r=t.GetArgument(e),n=t.GetArgument(e),a=t.GetArgument(e);if(!r.match(/^\\([a-z]+|.)$/i))throw new l.default("NewextarrowArg1","First argument to %1 must be a control sequence name",e);if(!n.match(/^(\d+),(\d+)$/))throw new l.default("NewextarrowArg2","Second argument to %1 must be two integers separated by a comma",e);if(!a.match(/^(\d+|0x[0-9A-F]+)$/i))throw new l.default("NewextarrowArg3","Third argument to %1 must be a unicode character number",e);r=r.substr(1);var o=n.split(",");s.default.addMacro(t,r,i.ExtpfeilMethods.xArrow,[parseInt(a),parseInt(o[0]),parseInt(o[1])])},new n.CommandMap("extpfeil",{xtwoheadrightarrow:["xArrow",8608,12,16],xtwoheadleftarrow:["xArrow",8606,17,13],xmapsto:["xArrow",8614,6,7],xlongequal:["xArrow",61,7,7],xtofrom:["xArrow",8644,12,12],Newextarrow:"NewExtArrow"},i.ExtpfeilMethods);i.ExtpfeilConfiguration=r.Configuration.create("extpfeil",{handler:{macro:["extpfeil"]},init:function(t){o.NewcommandConfiguration.init(t)}})},function(t,e,r){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var o,i=r(2),s=r(11),l=(o=s.BaseItem,a(c,o),Object.defineProperty(c.prototype,"kind",{get:function(){return"beginEnv"},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"isOpen",{get:function(){return!0},enumerable:!0,configurable:!0}),c.prototype.checkItem=function(t){if(t.isKind("end")){if(t.getName()!==this.getName())throw new i.default("EnvBadEnd","\\begin{%1} ended with \\end{%2}",this.getName(),t.getName());return[[this.factory.create("mml",this.toMml())],!0]}if(t.isKind("stop"))throw new i.default("EnvMissingEnd","Missing \\end{%1}",this.getName());return o.prototype.checkItem.call(this,t)},c);function c(){return null!==o&&o.apply(this,arguments)||this}e.BeginEnvItem=l},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),a=r(1),o=r(56);new a.CommandMap("html_macros",{href:"Href",class:"Class",style:"Style",cssId:"Id"},o.default),e.HtmlConfiguration=n.Configuration.create("html",{handler:{macro:["html_macros"]}})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r(3),n={Href:function(t,e){var r=t.GetArgument(e),n=i(t,e);o.default.setAttribute(n,"href",r),t.Push(n)},Class:function(t,e){var r=t.GetArgument(e),n=i(t,e),a=o.default.getAttribute(n,"class");a&&(r=a+" "+r),o.default.setAttribute(n,"class",r),t.Push(n)},Style:function(t,e){var r=t.GetArgument(e),n=i(t,e),a=o.default.getAttribute(n,"style");a&&(";"!==r.charAt(r.length-1)&&(r+=";"),r=a+" "+r),o.default.setAttribute(n,"style",r),t.Push(n)},Id:function(t,e){var r=t.GetArgument(e),n=i(t,e);o.default.setAttribute(n,"id",r),t.Push(n)}},i=function(t,e){var r=t.ParseArg(e);if(!o.default.isInferred(r))return r;var n=o.default.getChildren(r);if(1===n.length)return n[0];var a=t.create("node","mrow");return o.default.copyChildren(r,a),o.default.copyAttributes(r,a),a};e.default=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),a=r(1),i=r(2),o=r(9),s=r(19),l=r(85),c={};c.Macro=o.default.Macro,c.xArrow=s.default.xArrow,c.Machine=function(t,e,r){try{var n=t.GetArgument(e),a=l.mhchemParser.go(n,r),o=l.texify.go(a);t.string=o+t.string.substr(t.i),t.i=0}catch(t){throw new i.default(t[0],t[1],t.slice(2))}},new a.CommandMap("mhchem",{ce:["Machine","ce"],pu:["Machine","pu"],longrightleftharpoons:["Macro","\\stackrel{\\textstyle{-}\\!\\!{\\rightharpoonup}}{\\smash{{\\leftharpoondown}\\!\\!{-}}}"],longRightleftharpoons:["Macro","\\stackrel{\\textstyle{-}\\!\\!{\\rightharpoonup}}{\\smash{\\leftharpoondown}}"],longLeftrightharpoons:["Macro","\\stackrel{\\textstyle\\vphantom{{-}}{\\rightharpoonup}}{\\smash{{\\leftharpoondown}\\!\\!{-}}}"],longleftrightarrows:["Macro","\\stackrel{\\longrightarrow}{\\smash{\\longleftarrow}\\Rule{0px}{.25em}{0px}}"],tripledash:["Macro","\\vphantom{-}\\raise2mu{\\kern2mu\\tiny\\text{-}\\kern1mu\\text{-}\\kern1mu\\text{-}\\kern2mu}"],xrightarrow:["xArrow",8594,5,6],xleftarrow:["xArrow",8592,7,3],xleftrightarrow:["xArrow",8596,6,6],xrightleftharpoons:["xArrow",8652,5,7],xRightleftharpoons:["xArrow",8652,5,7],xLeftrightharpoons:["xArrow",8652,5,7]},c),e.MhchemConfiguration=n.Configuration.create("mhchem",{handler:{macro:["mhchem"]}})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0);e.NoErrorsConfiguration=n.Configuration.create("noerrors",{nodes:{error:function(t,e,r,n){var a=t.create("token","mtext",{},n.replace(/\n/g," "));return t.create("node","merror",[a],{"data-mjx-error":e})}}})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0);e.NoUndefinedConfiguration=n.Configuration.create("noundefined",{fallback:{macro:function(t,e){var r=t.create("text","\\"+e);t.Push(t.create("node","mtext",[],{mathcolor:"red"},r))}}})},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var a=r(0),o=r(61);r(86),e.PhysicsConfiguration=a.Configuration.create("physics",{handler:{macro:["Physics-automatic-bracing-macros","Physics-vector-macros","Physics-vector-chars","Physics-derivative-macros","Physics-expressions-macros","Physics-quick-quad-macros","Physics-bra-ket-macros","Physics-matrix-macros"],character:["Physics-characters"],environment:["Physics-aux-envs"]},items:((n={})[o.AutoOpen.prototype.kind]=o.AutoOpen,n)})},function(t,e,r){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var o,i=r(11),s=r(4),l=r(6),c=(o=i.BaseItem,a(u,o),Object.defineProperty(u.prototype,"kind",{get:function(){return"auto open"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"isOpen",{get:function(){return!0},enumerable:!0,configurable:!0}),u.prototype.toMml=function(){var t=this.factory.configuration.parser,e=this.getProperty("right");if(this.getProperty("smash")){var r=o.prototype.toMml.call(this),n=t.create("node","mpadded",[r],{height:0,depth:0});this.Clear(),this.Push(t.create("node","TeXAtom",[n]))}e&&this.Push(new l.default(e,t.stack.env,t.configuration).mml());var a=o.prototype.toMml.call(this);return s.default.fenced(this.factory.configuration,this.getProperty("open"),a,this.getProperty("close"),this.getProperty("big"))},u.prototype.checkItem=function(t){var e=t.getProperty("autoclose");return e&&e===this.getProperty("close")?this.getProperty("ignore")?(this.Clear(),[[],!0]):[[this.toMml()],!0]:o.prototype.checkItem.call(this,t)},u);function u(){return null!==o&&o.apply(this,arguments)||this}e.AutoOpen=c},function(t,e,r){"use strict";var s=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,a,o=r.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)i.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i};Object.defineProperty(e,"__esModule",{value:!0});var n=r(9),v=r(6),m=r(2),g=r(5),y=r(4),b=r(3),l=r(16),a={},x={"(":")","[":"]","{":"}","|":"|"},_=/^(b|B)i(g{1,2})$/;a.Quantity=function(t,e,r,n,a,o,i){void 0===r&&(r="("),void 0===n&&(n=")"),void 0===a&&(a=!1),void 0===o&&(o=""),void 0===i&&(i="");var s=!!a&&t.GetStar(),l=t.GetNext(),c=t.i,u=null;if("\\"===l){if(t.i++,!(u=t.GetCS()).match(_)){var p=t.create("node","mrow");return t.Push(y.default.fenced(t.configuration,r,p,n)),void(t.i=c)}l=t.GetNext()}var f=x[l];if(a&&"{"!==l)throw new m.default("MissingArgFor","Missing argument for %1",t.currentCS);if(!f){p=t.create("node","mrow");return t.Push(y.default.fenced(t.configuration,r,p,n)),void(t.i=c)}if(o){var d=t.create("token","mi",{texClass:g.TEXCLASS.OP},o);i&&b.default.setAttribute(d,"mathvariant",i),t.Push(t.itemFactory.create("fn",d))}if("{"===l){var h=t.GetArgument(e);return l=a?r:"\\{",f=a?n:"\\}",h=s?l+" "+h+" "+f:u?"\\"+u+"l"+l+" "+h+" \\"+u+"r"+f:"\\left"+l+" "+h+" \\right"+f,void t.Push(new v.default(h,t.stack.env,t.configuration).mml())}a&&(l=r,f=n),t.i++,t.Push(t.itemFactory.create("auto open").setProperties({open:l,close:f,big:u}))},a.Eval=function(t,e){var r=t.GetStar(),n=t.GetNext();if("{"!==n){if("("===n||"["===n)return t.i++,void t.Push(t.itemFactory.create("auto open").setProperties({open:n,close:"|",smash:r,right:"\\vphantom{\\int}"}));throw new m.default("MissingArgFor","Missing argument for %1",t.currentCS)}var a=t.GetArgument(e),o="\\left. "+(r?"\\smash{"+a+"}":a)+" \\vphantom{\\int}\\right|";t.string=t.string.slice(0,t.i)+o+t.string.slice(t.i)},a.Commutator=function(t,e,r,n){void 0===r&&(r="["),void 0===n&&(n="]");var a=t.GetStar(),o=t.GetNext(),i=null;if("\\"===o){if(t.i++,!(i=t.GetCS()).match(_))throw new m.default("MissingArgFor","Missing argument for %1",t.currentCS);o=t.GetNext()}if("{"!==o)throw new m.default("MissingArgFor",