diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 87496fce6..3ac7dcd05 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,13 +21,14 @@ repos: rev: v2.2.4 hooks: - id: codespell - exclude: metaworld/envs/assets_updated/sawyer_xyz/dm_control_pick_place.ipynb + exclude: 'metaworld/envs/assets_updated/sawyer_xyz/dm_control_pick_place.ipynb|^docs' # args: # - --ignore-words-list== - repo: https://github.com/PyCQA/flake8 rev: 6.0.0 hooks: - id: flake8 + exclude: ^docs args: - '--per-file-ignores=*/__init__.py:F401' - --ignore=E203,W503,E741 @@ -39,15 +40,18 @@ repos: rev: v3.3.2 hooks: - id: pyupgrade + exclude: ^docs args: ["--py38-plus"] - repo: https://github.com/PyCQA/isort rev: 5.12.0 hooks: - id: isort + exclude: ^docs - repo: https://github.com/python/black rev: 23.3.0 hooks: - id: black + exclude: ^docs # - repo: https://github.com/pycqa/pydocstyle # rev: 6.3.0 # hooks: diff --git a/docs/CNAME b/docs/CNAME index 41de4016c..21d351c68 100644 --- a/docs/CNAME +++ b/docs/CNAME @@ -1 +1 @@ -metaworld.farama.org \ No newline at end of file +metaworld.farama.org diff --git a/docs/_builddir/.buildinfo b/docs/_builddir/.buildinfo new file mode 100644 index 000000000..7990367a7 --- /dev/null +++ b/docs/_builddir/.buildinfo @@ -0,0 +1,4 @@ +# Sphinx build info version 1 +# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 2470406d4ddb425509dcd1de50d65d7c +tags: d77d1c0d9ca2f4c8421862c7c5a0d620 diff --git a/docs/_builddir/.doctrees/404.doctree b/docs/_builddir/.doctrees/404.doctree new file mode 100644 index 000000000..a94678cf2 Binary files /dev/null and b/docs/_builddir/.doctrees/404.doctree differ diff --git a/docs/_builddir/.doctrees/README.doctree b/docs/_builddir/.doctrees/README.doctree new file mode 100644 index 000000000..6c15b7b14 Binary files /dev/null and b/docs/_builddir/.doctrees/README.doctree differ diff --git a/docs/_builddir/.doctrees/citation.doctree b/docs/_builddir/.doctrees/citation.doctree new file mode 100644 index 000000000..7331f82f2 Binary files /dev/null and b/docs/_builddir/.doctrees/citation.doctree differ diff --git a/docs/_builddir/.doctrees/environment.pickle b/docs/_builddir/.doctrees/environment.pickle new file mode 100644 index 000000000..fb15cf2b4 Binary files /dev/null and b/docs/_builddir/.doctrees/environment.pickle differ diff --git a/docs/_builddir/.doctrees/index.doctree b/docs/_builddir/.doctrees/index.doctree new file mode 100644 index 000000000..ca523f178 Binary files /dev/null and b/docs/_builddir/.doctrees/index.doctree differ diff --git a/docs/_builddir/.doctrees/introduction/basic_usage.doctree b/docs/_builddir/.doctrees/introduction/basic_usage.doctree new file mode 100644 index 000000000..5a1fb93ec Binary files /dev/null and b/docs/_builddir/.doctrees/introduction/basic_usage.doctree differ diff --git a/docs/_builddir/.doctrees/introduction/installation.doctree b/docs/_builddir/.doctrees/introduction/installation.doctree new file mode 100644 index 000000000..1bf9945d2 Binary files /dev/null and b/docs/_builddir/.doctrees/introduction/installation.doctree differ diff --git a/docs/_builddir/.doctrees/rendering/rendering.doctree b/docs/_builddir/.doctrees/rendering/rendering.doctree new file mode 100644 index 000000000..2dac5369f Binary files /dev/null and b/docs/_builddir/.doctrees/rendering/rendering.doctree differ diff --git a/docs/_builddir/.nojekyll b/docs/_builddir/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/docs/_builddir/404/index.html b/docs/_builddir/404/index.html new file mode 100644 index 000000000..3ba10194f --- /dev/null +++ b/docs/_builddir/404/index.html @@ -0,0 +1,548 @@ + + + + + + + + + + + + + + + 404 - Page Not Found - Metaworld Documentation + + + + + + + + + +
+
+
+ +
+ +
+
+ + +
+
+
+
+ + + + + + + + Contents + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + +
+
+
+ + + + + Back to top + +
+ +
+ +
+
+ +
+

404 - Page Not Found#

+
+

The requested page could not be found.#

+
+
+ +
+
+
+ + +
+
+ + +
+
+ +
+
+ +
+
+ +
+
+
+ + + + + + + + + + + + + + + + + diff --git a/docs/_builddir/CNAME b/docs/_builddir/CNAME new file mode 100644 index 000000000..21d351c68 --- /dev/null +++ b/docs/_builddir/CNAME @@ -0,0 +1 @@ +metaworld.farama.org diff --git a/docs/_builddir/README/index.html b/docs/_builddir/README/index.html new file mode 100644 index 000000000..ffbab7dc2 --- /dev/null +++ b/docs/_builddir/README/index.html @@ -0,0 +1,547 @@ + + + + + + + + + + + + + + + Metaworld documentation - Metaworld Documentation + + + + + + + + + +
+
+
+ +
+ +
+
+ + +
+
+
+
+ + + + + + + + Contents + + + + + + Menu + + + + + + + + Expand + + + + + + Light mode + + + + + + + + + + + + + + Dark mode + + + + + + + Auto light/dark mode + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + +
+
+
+ + + + + Back to top + +
+ +
+ +
+
+ +
+

Metaworld documentation#

+

This directory contains the documentation for Metaworld.

+

For more information about how to contribute to the documentation go to our CONTRIBUTING.md

+
+ +
+
+
+ + +
+
+ + +
+
+ +
+
+ +
+
+ +
+
+
+ + + + + + + + + + + + + + + + + diff --git a/docs/_builddir/_images/metaworld-text.svg b/docs/_builddir/_images/metaworld-text.svg new file mode 100644 index 000000000..d6c12d6ec --- /dev/null +++ b/docs/_builddir/_images/metaworld-text.svg @@ -0,0 +1,198 @@ + + + + + + + + + Metaworld + diff --git a/docs/_builddir/_static/basic.css b/docs/_builddir/_static/basic.css new file mode 100644 index 000000000..16e1d1e6d --- /dev/null +++ b/docs/_builddir/_static/basic.css @@ -0,0 +1,925 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +div.section::after { + display: block; + content: ''; + clear: left; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li p.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 360px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +a.headerlink { + visibility: hidden; +} + +a:visited { + color: #551A8B; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, figure.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, figure.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, figure.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.align-default, figure.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-default { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar, +aside.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px; + background-color: #ffe; + width: 40%; + float: right; + clear: right; + overflow-x: auto; +} + +p.sidebar-title { + font-weight: bold; +} + +nav.contents, +aside.topic, +div.admonition, div.topic, blockquote { + clear: left; +} + +/* -- topics ---------------------------------------------------------------- */ + +nav.contents, +aside.topic, +div.topic { + border: 1px solid #ccc; + padding: 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- content of sidebars/topics/admonitions -------------------------------- */ + +div.sidebar > :last-child, +aside.sidebar > :last-child, +nav.contents > :last-child, +aside.topic > :last-child, +div.topic > :last-child, +div.admonition > :last-child { + margin-bottom: 0; +} + +div.sidebar::after, +aside.sidebar::after, +nav.contents::after, +aside.topic::after, +div.topic::after, +div.admonition::after, +blockquote::after { + display: block; + content: ''; + clear: both; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + margin-top: 10px; + margin-bottom: 10px; + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +th > :first-child, +td > :first-child { + margin-top: 0px; +} + +th > :last-child, +td > :last-child { + margin-bottom: 0px; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure, figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption, figcaption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number, +figcaption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text, +figcaption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist { + margin: 1em 0; +} + +table.hlist td { + vertical-align: top; +} + +/* -- object description styles --------------------------------------------- */ + +.sig { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; +} + +.sig-name, code.descname { + background-color: transparent; + font-weight: bold; +} + +.sig-name { + font-size: 1.1em; +} + +code.descname { + font-size: 1.2em; +} + +.sig-prename, code.descclassname { + background-color: transparent; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.sig-param.n { + font-style: italic; +} + +/* C++ specific styling */ + +.sig-inline.c-texpr, +.sig-inline.cpp-texpr { + font-family: unset; +} + +.sig.c .k, .sig.c .kt, +.sig.cpp .k, .sig.cpp .kt { + color: #0033B3; +} + +.sig.c .m, +.sig.cpp .m { + color: #1750EB; +} + +.sig.c .s, .sig.c .sc, +.sig.cpp .s, .sig.cpp .sc { + color: #067D17; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +:not(li) > ol > li:first-child > :first-child, +:not(li) > ul > li:first-child > :first-child { + margin-top: 0px; +} + +:not(li) > ol > li:last-child > :last-child, +:not(li) > ul > li:last-child > :last-child { + margin-bottom: 0px; +} + +ol.simple ol p, +ol.simple ul p, +ul.simple ol p, +ul.simple ul p { + margin-top: 0; +} + +ol.simple > li:not(:first-child) > p, +ul.simple > li:not(:first-child) > p { + margin-top: 0; +} + +ol.simple p, +ul.simple p { + margin-bottom: 0; +} + +aside.footnote > span, +div.citation > span { + float: left; +} +aside.footnote > span:last-of-type, +div.citation > span:last-of-type { + padding-right: 0.5em; +} +aside.footnote > p { + margin-left: 2em; +} +div.citation > p { + margin-left: 4em; +} +aside.footnote > p:last-of-type, +div.citation > p:last-of-type { + margin-bottom: 0em; +} +aside.footnote > p:last-of-type:after, +div.citation > p:last-of-type:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + +dl { + margin-bottom: 15px; +} + +dd > :first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +.sig dd { + margin-top: 0px; + margin-bottom: 0px; +} + +.sig dl { + margin-top: 0px; + margin-bottom: 0px; +} + +dl > dd:last-child, +dl > dd:last-child > :last-child { + margin-bottom: 0; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0 0.5em; + content: ":"; + display: inline-block; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +.translated { + background-color: rgba(207, 255, 207, 0.2) +} + +.untranslated { + background-color: rgba(255, 207, 207, 0.2) +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +pre, div[class*="highlight-"] { + clear: both; +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; + white-space: nowrap; +} + +div[class*="highlight-"] { + margin: 1em 0; +} + +td.linenos pre { + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + display: block; +} + +table.highlighttable tbody { + display: block; +} + +table.highlighttable tr { + display: flex; +} + +table.highlighttable td { + margin: 0; + padding: 0; +} + +table.highlighttable td.linenos { + padding-right: 0.5em; +} + +table.highlighttable td.code { + flex: 1; + overflow: hidden; +} + +.highlight .hll { + display: block; +} + +div.highlight pre, +table.highlighttable pre { + margin: 0; +} + +div.code-block-caption + div { + margin-top: 0; +} + +div.code-block-caption { + margin-top: 1em; + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +table.highlighttable td.linenos, +span.linenos, +div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; + -webkit-user-select: text; /* Safari fallback only */ + -webkit-user-select: none; /* Chrome/Safari */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* IE10+ */ +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + margin: 1em 0; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: absolute; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} diff --git a/docs/_builddir/_static/debug.css b/docs/_builddir/_static/debug.css new file mode 100644 index 000000000..74d4aec33 --- /dev/null +++ b/docs/_builddir/_static/debug.css @@ -0,0 +1,69 @@ +/* + This CSS file should be overridden by the theme authors. It's + meant for debugging and developing the skeleton that this theme provides. +*/ +body { + font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, + "Apple Color Emoji", "Segoe UI Emoji"; + background: lavender; +} +.sb-announcement { + background: rgb(131, 131, 131); +} +.sb-announcement__inner { + background: black; + color: white; +} +.sb-header { + background: lightskyblue; +} +.sb-header__inner { + background: royalblue; + color: white; +} +.sb-header-secondary { + background: lightcyan; +} +.sb-header-secondary__inner { + background: cornflowerblue; + color: white; +} +.sb-sidebar-primary { + background: lightgreen; +} +.sb-main { + background: blanchedalmond; +} +.sb-main__inner { + background: antiquewhite; +} +.sb-header-article { + background: lightsteelblue; +} +.sb-article-container { + background: snow; +} +.sb-article-main { + background: white; +} +.sb-footer-article { + background: lightpink; +} +.sb-sidebar-secondary { + background: lightgoldenrodyellow; +} +.sb-footer-content { + background: plum; +} +.sb-footer-content__inner { + background: palevioletred; +} +.sb-footer { + background: pink; +} +.sb-footer__inner { + background: salmon; +} +.sb-article { + background: white; +} diff --git a/docs/_builddir/_static/doctools.js b/docs/_builddir/_static/doctools.js new file mode 100644 index 000000000..d06a71d75 --- /dev/null +++ b/docs/_builddir/_static/doctools.js @@ -0,0 +1,156 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Base JavaScript utilities for all Sphinx HTML documentation. + * + * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ +"use strict"; + +const BLACKLISTED_KEY_CONTROL_ELEMENTS = new Set([ + "TEXTAREA", + "INPUT", + "SELECT", + "BUTTON", +]); + +const _ready = (callback) => { + if (document.readyState !== "loading") { + callback(); + } else { + document.addEventListener("DOMContentLoaded", callback); + } +}; + +/** + * Small JavaScript module for the documentation. + */ +const Documentation = { + init: () => { + Documentation.initDomainIndexTable(); + Documentation.initOnKeyListeners(); + }, + + /** + * i18n support + */ + TRANSLATIONS: {}, + PLURAL_EXPR: (n) => (n === 1 ? 0 : 1), + LOCALE: "unknown", + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext: (string) => { + const translated = Documentation.TRANSLATIONS[string]; + switch (typeof translated) { + case "undefined": + return string; // no translation + case "string": + return translated; // translation exists + default: + return translated[0]; // (singular, plural) translation tuple exists + } + }, + + ngettext: (singular, plural, n) => { + const translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated !== "undefined") + return translated[Documentation.PLURAL_EXPR(n)]; + return n === 1 ? singular : plural; + }, + + addTranslations: (catalog) => { + Object.assign(Documentation.TRANSLATIONS, catalog.messages); + Documentation.PLURAL_EXPR = new Function( + "n", + `return (${catalog.plural_expr})` + ); + Documentation.LOCALE = catalog.locale; + }, + + /** + * helper function to focus on search bar + */ + focusSearchBar: () => { + document.querySelectorAll("input[name=q]")[0]?.focus(); + }, + + /** + * Initialise the domain index toggle buttons + */ + initDomainIndexTable: () => { + const toggler = (el) => { + const idNumber = el.id.substr(7); + const toggledRows = document.querySelectorAll(`tr.cg-${idNumber}`); + if (el.src.substr(-9) === "minus.png") { + el.src = `${el.src.substr(0, el.src.length - 9)}plus.png`; + toggledRows.forEach((el) => (el.style.display = "none")); + } else { + el.src = `${el.src.substr(0, el.src.length - 8)}minus.png`; + toggledRows.forEach((el) => (el.style.display = "")); + } + }; + + const togglerElements = document.querySelectorAll("img.toggler"); + togglerElements.forEach((el) => + el.addEventListener("click", (event) => toggler(event.currentTarget)) + ); + togglerElements.forEach((el) => (el.style.display = "")); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) togglerElements.forEach(toggler); + }, + + initOnKeyListeners: () => { + // only install a listener if it is really needed + if ( + !DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS && + !DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS + ) + return; + + document.addEventListener("keydown", (event) => { + // bail for input elements + if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return; + // bail with special keys + if (event.altKey || event.ctrlKey || event.metaKey) return; + + if (!event.shiftKey) { + switch (event.key) { + case "ArrowLeft": + if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break; + + const prevLink = document.querySelector('link[rel="prev"]'); + if (prevLink && prevLink.href) { + window.location.href = prevLink.href; + event.preventDefault(); + } + break; + case "ArrowRight": + if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break; + + const nextLink = document.querySelector('link[rel="next"]'); + if (nextLink && nextLink.href) { + window.location.href = nextLink.href; + event.preventDefault(); + } + break; + } + } + + // some keyboard layouts may need Shift to get / + switch (event.key) { + case "/": + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) break; + Documentation.focusSearchBar(); + event.preventDefault(); + } + }); + }, +}; + +// quick alias for translations +const _ = Documentation.gettext; + +_ready(Documentation.init); diff --git a/docs/_builddir/_static/documentation_options.js b/docs/_builddir/_static/documentation_options.js new file mode 100644 index 000000000..06e62a6a8 --- /dev/null +++ b/docs/_builddir/_static/documentation_options.js @@ -0,0 +1,13 @@ +const DOCUMENTATION_OPTIONS = { + VERSION: '0.0.1', + LANGUAGE: 'en', + COLLAPSE_INDEX: false, + BUILDER: 'dirhtml', + FILE_SUFFIX: '.html', + LINK_SUFFIX: '.html', + HAS_SOURCE: false, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false, + SHOW_SEARCH_SUMMARY: true, + ENABLE_SEARCH_SHORTCUTS: true, +}; diff --git a/docs/_builddir/_static/file.png b/docs/_builddir/_static/file.png new file mode 100644 index 000000000..a858a410e Binary files /dev/null and b/docs/_builddir/_static/file.png differ diff --git a/docs/_builddir/_static/language_data.js b/docs/_builddir/_static/language_data.js new file mode 100644 index 000000000..68b9e83a2 --- /dev/null +++ b/docs/_builddir/_static/language_data.js @@ -0,0 +1,198 @@ +/* + * language_data.js + * ~~~~~~~~~~~~~~~~ + * + * This script contains the language-specific data used by searchtools.js, + * namely the list of stopwords, stemmer, scorer and splitter. + * + * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +var stopwords = ["a", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "near", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"]; + + +/* Non-minified version is copied as a separate JS file, is available */ + +/** + * Porter Stemmer + */ +var Stemmer = function() { + + var step2list = { + ational: 'ate', + tional: 'tion', + enci: 'ence', + anci: 'ance', + izer: 'ize', + bli: 'ble', + alli: 'al', + entli: 'ent', + eli: 'e', + ousli: 'ous', + ization: 'ize', + ation: 'ate', + ator: 'ate', + alism: 'al', + iveness: 'ive', + fulness: 'ful', + ousness: 'ous', + aliti: 'al', + iviti: 'ive', + biliti: 'ble', + logi: 'log' + }; + + var step3list = { + icate: 'ic', + ative: '', + alize: 'al', + iciti: 'ic', + ical: 'ic', + ful: '', + ness: '' + }; + + var c = "[^aeiou]"; // consonant + var v = "[aeiouy]"; // vowel + var C = c + "[^aeiouy]*"; // consonant sequence + var V = v + "[aeiou]*"; // vowel sequence + + var mgr0 = "^(" + C + ")?" + V + C; // [C]VC... is m>0 + var meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$"; // [C]VC[V] is m=1 + var mgr1 = "^(" + C + ")?" + V + C + V + C; // [C]VCVC... is m>1 + var s_v = "^(" + C + ")?" + v; // vowel in stem + + this.stemWord = function (w) { + var stem; + var suffix; + var firstch; + var origword = w; + + if (w.length < 3) + return w; + + var re; + var re2; + var re3; + var re4; + + firstch = w.substr(0,1); + if (firstch == "y") + w = firstch.toUpperCase() + w.substr(1); + + // Step 1a + re = /^(.+?)(ss|i)es$/; + re2 = /^(.+?)([^s])s$/; + + if (re.test(w)) + w = w.replace(re,"$1$2"); + else if (re2.test(w)) + w = w.replace(re2,"$1$2"); + + // Step 1b + re = /^(.+?)eed$/; + re2 = /^(.+?)(ed|ing)$/; + if (re.test(w)) { + var fp = re.exec(w); + re = new RegExp(mgr0); + if (re.test(fp[1])) { + re = /.$/; + w = w.replace(re,""); + } + } + else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1]; + re2 = new RegExp(s_v); + if (re2.test(stem)) { + w = stem; + re2 = /(at|bl|iz)$/; + re3 = new RegExp("([^aeiouylsz])\\1$"); + re4 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re2.test(w)) + w = w + "e"; + else if (re3.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + else if (re4.test(w)) + w = w + "e"; + } + } + + // Step 1c + re = /^(.+?)y$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(s_v); + if (re.test(stem)) + w = stem + "i"; + } + + // Step 2 + re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) + w = stem + step2list[suffix]; + } + + // Step 3 + re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) + w = stem + step3list[suffix]; + } + + // Step 4 + re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; + re2 = /^(.+?)(s|t)(ion)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + if (re.test(stem)) + w = stem; + } + else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1] + fp[2]; + re2 = new RegExp(mgr1); + if (re2.test(stem)) + w = stem; + } + + // Step 5 + re = /^(.+?)e$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + re2 = new RegExp(meq1); + re3 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) + w = stem; + } + re = /ll$/; + re2 = new RegExp(mgr1); + if (re.test(w) && re2.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + + // and turn initial Y back to y + if (firstch == "y") + w = firstch.toLowerCase() + w.substr(1); + return w; + } +} diff --git a/docs/_builddir/_static/metaworld-text.svg b/docs/_builddir/_static/metaworld-text.svg new file mode 100644 index 000000000..d6c12d6ec --- /dev/null +++ b/docs/_builddir/_static/metaworld-text.svg @@ -0,0 +1,198 @@ + + + + + + + + + Metaworld + diff --git a/docs/_builddir/_static/minus.png b/docs/_builddir/_static/minus.png new file mode 100644 index 000000000..d96755fda Binary files /dev/null and b/docs/_builddir/_static/minus.png differ diff --git a/docs/_builddir/_static/plus.png b/docs/_builddir/_static/plus.png new file mode 100644 index 000000000..7107cec93 Binary files /dev/null and b/docs/_builddir/_static/plus.png differ diff --git a/docs/_builddir/_static/pygments.css b/docs/_builddir/_static/pygments.css new file mode 100644 index 000000000..40c2041c1 --- /dev/null +++ b/docs/_builddir/_static/pygments.css @@ -0,0 +1,258 @@ +.highlight pre { line-height: 125%; } +.highlight td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } +.highlight span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } +.highlight td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +.highlight span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +.highlight .hll { background-color: #ffffcc } +.highlight { background: #f8f8f8; } +.highlight .c { color: #8f5902; font-style: italic } /* Comment */ +.highlight .err { color: #a40000; border: 1px solid #ef2929 } /* Error */ +.highlight .g { color: #000000 } /* Generic */ +.highlight .k { color: #204a87; font-weight: bold } /* Keyword */ +.highlight .l { color: #000000 } /* Literal */ +.highlight .n { color: #000000 } /* Name */ +.highlight .o { color: #ce5c00; font-weight: bold } /* Operator */ +.highlight .x { color: #000000 } /* Other */ +.highlight .p { color: #000000; font-weight: bold } /* Punctuation */ +.highlight .ch { color: #8f5902; font-style: italic } /* Comment.Hashbang */ +.highlight .cm { color: #8f5902; font-style: italic } /* Comment.Multiline */ +.highlight .cp { color: #8f5902; font-style: italic } /* Comment.Preproc */ +.highlight .cpf { color: #8f5902; font-style: italic } /* Comment.PreprocFile */ +.highlight .c1 { color: #8f5902; font-style: italic } /* Comment.Single */ +.highlight .cs { color: #8f5902; font-style: italic } /* Comment.Special */ +.highlight .gd { color: #a40000 } /* Generic.Deleted */ +.highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */ +.highlight .ges { color: #000000; font-weight: bold; font-style: italic } /* Generic.EmphStrong */ +.highlight .gr { color: #ef2929 } /* Generic.Error */ +.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ +.highlight .gi { color: #00A000 } /* Generic.Inserted */ +.highlight .go { color: #000000; font-style: italic } /* Generic.Output */ +.highlight .gp { color: #8f5902 } /* Generic.Prompt */ +.highlight .gs { color: #000000; font-weight: bold } /* Generic.Strong */ +.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ +.highlight .gt { color: #a40000; font-weight: bold } /* Generic.Traceback */ +.highlight .kc { color: #204a87; font-weight: bold } /* Keyword.Constant */ +.highlight .kd { color: #204a87; font-weight: bold } /* Keyword.Declaration */ +.highlight .kn { color: #204a87; font-weight: bold } /* Keyword.Namespace */ +.highlight .kp { color: #204a87; font-weight: bold } /* Keyword.Pseudo */ +.highlight .kr { color: #204a87; font-weight: bold } /* Keyword.Reserved */ +.highlight .kt { color: #204a87; font-weight: bold } /* Keyword.Type */ +.highlight .ld { color: #000000 } /* Literal.Date */ +.highlight .m { color: #0000cf; font-weight: bold } /* Literal.Number */ +.highlight .s { color: #4e9a06 } /* Literal.String */ +.highlight .na { color: #c4a000 } /* Name.Attribute */ +.highlight .nb { color: #204a87 } /* Name.Builtin */ +.highlight .nc { color: #000000 } /* Name.Class */ +.highlight .no { color: #000000 } /* Name.Constant */ +.highlight .nd { color: #5c35cc; font-weight: bold } /* Name.Decorator */ +.highlight .ni { color: #ce5c00 } /* Name.Entity */ +.highlight .ne { color: #cc0000; font-weight: bold } /* Name.Exception */ +.highlight .nf { color: #000000 } /* Name.Function */ +.highlight .nl { color: #f57900 } /* Name.Label */ +.highlight .nn { color: #000000 } /* Name.Namespace */ +.highlight .nx { color: #000000 } /* Name.Other */ +.highlight .py { color: #000000 } /* Name.Property */ +.highlight .nt { color: #204a87; font-weight: bold } /* Name.Tag */ +.highlight .nv { color: #000000 } /* Name.Variable */ +.highlight .ow { color: #204a87; font-weight: bold } /* Operator.Word */ +.highlight .pm { color: #000000; font-weight: bold } /* Punctuation.Marker */ +.highlight .w { color: #f8f8f8 } /* Text.Whitespace */ +.highlight .mb { color: #0000cf; font-weight: bold } /* Literal.Number.Bin */ +.highlight .mf { color: #0000cf; font-weight: bold } /* Literal.Number.Float */ +.highlight .mh { color: #0000cf; font-weight: bold } /* Literal.Number.Hex */ +.highlight .mi { color: #0000cf; font-weight: bold } /* Literal.Number.Integer */ +.highlight .mo { color: #0000cf; font-weight: bold } /* Literal.Number.Oct */ +.highlight .sa { color: #4e9a06 } /* Literal.String.Affix */ +.highlight .sb { color: #4e9a06 } /* Literal.String.Backtick */ +.highlight .sc { color: #4e9a06 } /* Literal.String.Char */ +.highlight .dl { color: #4e9a06 } /* Literal.String.Delimiter */ +.highlight .sd { color: #8f5902; font-style: italic } /* Literal.String.Doc */ +.highlight .s2 { color: #4e9a06 } /* Literal.String.Double */ +.highlight .se { color: #4e9a06 } /* Literal.String.Escape */ +.highlight .sh { color: #4e9a06 } /* Literal.String.Heredoc */ +.highlight .si { color: #4e9a06 } /* Literal.String.Interpol */ +.highlight .sx { color: #4e9a06 } /* Literal.String.Other */ +.highlight .sr { color: #4e9a06 } /* Literal.String.Regex */ +.highlight .s1 { color: #4e9a06 } /* Literal.String.Single */ +.highlight .ss { color: #4e9a06 } /* Literal.String.Symbol */ +.highlight .bp { color: #3465a4 } /* Name.Builtin.Pseudo */ +.highlight .fm { color: #000000 } /* Name.Function.Magic */ +.highlight .vc { color: #000000 } /* Name.Variable.Class */ +.highlight .vg { color: #000000 } /* Name.Variable.Global */ +.highlight .vi { color: #000000 } /* Name.Variable.Instance */ +.highlight .vm { color: #000000 } /* Name.Variable.Magic */ +.highlight .il { color: #0000cf; font-weight: bold } /* Literal.Number.Integer.Long */ +@media not print { +body[data-theme="dark"] .highlight pre { line-height: 125%; } +body[data-theme="dark"] .highlight td.linenos .normal { color: #aaaaaa; background-color: transparent; padding-left: 5px; padding-right: 5px; } +body[data-theme="dark"] .highlight span.linenos { color: #aaaaaa; background-color: transparent; padding-left: 5px; padding-right: 5px; } +body[data-theme="dark"] .highlight td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +body[data-theme="dark"] .highlight span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +body[data-theme="dark"] .highlight .hll { background-color: #404040 } +body[data-theme="dark"] .highlight { background: #202020; color: #d0d0d0 } +body[data-theme="dark"] .highlight .c { color: #ababab; font-style: italic } /* Comment */ +body[data-theme="dark"] .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ +body[data-theme="dark"] .highlight .esc { color: #d0d0d0 } /* Escape */ +body[data-theme="dark"] .highlight .g { color: #d0d0d0 } /* Generic */ +body[data-theme="dark"] .highlight .k { color: #6ebf26; font-weight: bold } /* Keyword */ +body[data-theme="dark"] .highlight .l { color: #d0d0d0 } /* Literal */ +body[data-theme="dark"] .highlight .n { color: #d0d0d0 } /* Name */ +body[data-theme="dark"] .highlight .o { color: #d0d0d0 } /* Operator */ +body[data-theme="dark"] .highlight .x { color: #d0d0d0 } /* Other */ +body[data-theme="dark"] .highlight .p { color: #d0d0d0 } /* Punctuation */ +body[data-theme="dark"] .highlight .ch { color: #ababab; font-style: italic } /* Comment.Hashbang */ +body[data-theme="dark"] .highlight .cm { color: #ababab; font-style: italic } /* Comment.Multiline */ +body[data-theme="dark"] .highlight .cp { color: #ff3a3a; font-weight: bold } /* Comment.Preproc */ +body[data-theme="dark"] .highlight .cpf { color: #ababab; font-style: italic } /* Comment.PreprocFile */ +body[data-theme="dark"] .highlight .c1 { color: #ababab; font-style: italic } /* Comment.Single */ +body[data-theme="dark"] .highlight .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */ +body[data-theme="dark"] .highlight .gd { color: #d22323 } /* Generic.Deleted */ +body[data-theme="dark"] .highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */ +body[data-theme="dark"] .highlight .ges { color: #d0d0d0; font-weight: bold; font-style: italic } /* Generic.EmphStrong */ +body[data-theme="dark"] .highlight .gr { color: #d22323 } /* Generic.Error */ +body[data-theme="dark"] .highlight .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */ +body[data-theme="dark"] .highlight .gi { color: #589819 } /* Generic.Inserted */ +body[data-theme="dark"] .highlight .go { color: #cccccc } /* Generic.Output */ +body[data-theme="dark"] .highlight .gp { color: #aaaaaa } /* Generic.Prompt */ +body[data-theme="dark"] .highlight .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */ +body[data-theme="dark"] .highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */ +body[data-theme="dark"] .highlight .gt { color: #d22323 } /* Generic.Traceback */ +body[data-theme="dark"] .highlight .kc { color: #6ebf26; font-weight: bold } /* Keyword.Constant */ +body[data-theme="dark"] .highlight .kd { color: #6ebf26; font-weight: bold } /* Keyword.Declaration */ +body[data-theme="dark"] .highlight .kn { color: #6ebf26; font-weight: bold } /* Keyword.Namespace */ +body[data-theme="dark"] .highlight .kp { color: #6ebf26 } /* Keyword.Pseudo */ +body[data-theme="dark"] .highlight .kr { color: #6ebf26; font-weight: bold } /* Keyword.Reserved */ +body[data-theme="dark"] .highlight .kt { color: #6ebf26; font-weight: bold } /* Keyword.Type */ +body[data-theme="dark"] .highlight .ld { color: #d0d0d0 } /* Literal.Date */ +body[data-theme="dark"] .highlight .m { color: #51b2fd } /* Literal.Number */ +body[data-theme="dark"] .highlight .s { color: #ed9d13 } /* Literal.String */ +body[data-theme="dark"] .highlight .na { color: #bbbbbb } /* Name.Attribute */ +body[data-theme="dark"] .highlight .nb { color: #2fbccd } /* Name.Builtin */ +body[data-theme="dark"] .highlight .nc { color: #71adff; text-decoration: underline } /* Name.Class */ +body[data-theme="dark"] .highlight .no { color: #40ffff } /* Name.Constant */ +body[data-theme="dark"] .highlight .nd { color: #ffa500 } /* Name.Decorator */ +body[data-theme="dark"] .highlight .ni { color: #d0d0d0 } /* Name.Entity */ +body[data-theme="dark"] .highlight .ne { color: #bbbbbb } /* Name.Exception */ +body[data-theme="dark"] .highlight .nf { color: #71adff } /* Name.Function */ +body[data-theme="dark"] .highlight .nl { color: #d0d0d0 } /* Name.Label */ +body[data-theme="dark"] .highlight .nn { color: #71adff; text-decoration: underline } /* Name.Namespace */ +body[data-theme="dark"] .highlight .nx { color: #d0d0d0 } /* Name.Other */ +body[data-theme="dark"] .highlight .py { color: #d0d0d0 } /* Name.Property */ +body[data-theme="dark"] .highlight .nt { color: #6ebf26; font-weight: bold } /* Name.Tag */ +body[data-theme="dark"] .highlight .nv { color: #40ffff } /* Name.Variable */ +body[data-theme="dark"] .highlight .ow { color: #6ebf26; font-weight: bold } /* Operator.Word */ +body[data-theme="dark"] .highlight .pm { color: #d0d0d0 } /* Punctuation.Marker */ +body[data-theme="dark"] .highlight .w { color: #666666 } /* Text.Whitespace */ +body[data-theme="dark"] .highlight .mb { color: #51b2fd } /* Literal.Number.Bin */ +body[data-theme="dark"] .highlight .mf { color: #51b2fd } /* Literal.Number.Float */ +body[data-theme="dark"] .highlight .mh { color: #51b2fd } /* Literal.Number.Hex */ +body[data-theme="dark"] .highlight .mi { color: #51b2fd } /* Literal.Number.Integer */ +body[data-theme="dark"] .highlight .mo { color: #51b2fd } /* Literal.Number.Oct */ +body[data-theme="dark"] .highlight .sa { color: #ed9d13 } /* Literal.String.Affix */ +body[data-theme="dark"] .highlight .sb { color: #ed9d13 } /* Literal.String.Backtick */ +body[data-theme="dark"] .highlight .sc { color: #ed9d13 } /* Literal.String.Char */ +body[data-theme="dark"] .highlight .dl { color: #ed9d13 } /* Literal.String.Delimiter */ +body[data-theme="dark"] .highlight .sd { color: #ed9d13 } /* Literal.String.Doc */ +body[data-theme="dark"] .highlight .s2 { color: #ed9d13 } /* Literal.String.Double */ +body[data-theme="dark"] .highlight .se { color: #ed9d13 } /* Literal.String.Escape */ +body[data-theme="dark"] .highlight .sh { color: #ed9d13 } /* Literal.String.Heredoc */ +body[data-theme="dark"] .highlight .si { color: #ed9d13 } /* Literal.String.Interpol */ +body[data-theme="dark"] .highlight .sx { color: #ffa500 } /* Literal.String.Other */ +body[data-theme="dark"] .highlight .sr { color: #ed9d13 } /* Literal.String.Regex */ +body[data-theme="dark"] .highlight .s1 { color: #ed9d13 } /* Literal.String.Single */ +body[data-theme="dark"] .highlight .ss { color: #ed9d13 } /* Literal.String.Symbol */ +body[data-theme="dark"] .highlight .bp { color: #2fbccd } /* Name.Builtin.Pseudo */ +body[data-theme="dark"] .highlight .fm { color: #71adff } /* Name.Function.Magic */ +body[data-theme="dark"] .highlight .vc { color: #40ffff } /* Name.Variable.Class */ +body[data-theme="dark"] .highlight .vg { color: #40ffff } /* Name.Variable.Global */ +body[data-theme="dark"] .highlight .vi { color: #40ffff } /* Name.Variable.Instance */ +body[data-theme="dark"] .highlight .vm { color: #40ffff } /* Name.Variable.Magic */ +body[data-theme="dark"] .highlight .il { color: #51b2fd } /* Literal.Number.Integer.Long */ +@media (prefers-color-scheme: dark) { +body:not([data-theme="light"]) .highlight pre { line-height: 125%; } +body:not([data-theme="light"]) .highlight td.linenos .normal { color: #aaaaaa; background-color: transparent; padding-left: 5px; padding-right: 5px; } +body:not([data-theme="light"]) .highlight span.linenos { color: #aaaaaa; background-color: transparent; padding-left: 5px; padding-right: 5px; } +body:not([data-theme="light"]) .highlight td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +body:not([data-theme="light"]) .highlight span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +body:not([data-theme="light"]) .highlight .hll { background-color: #404040 } +body:not([data-theme="light"]) .highlight { background: #202020; color: #d0d0d0 } +body:not([data-theme="light"]) .highlight .c { color: #ababab; font-style: italic } /* Comment */ +body:not([data-theme="light"]) .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ +body:not([data-theme="light"]) .highlight .esc { color: #d0d0d0 } /* Escape */ +body:not([data-theme="light"]) .highlight .g { color: #d0d0d0 } /* Generic */ +body:not([data-theme="light"]) .highlight .k { color: #6ebf26; font-weight: bold } /* Keyword */ +body:not([data-theme="light"]) .highlight .l { color: #d0d0d0 } /* Literal */ +body:not([data-theme="light"]) .highlight .n { color: #d0d0d0 } /* Name */ +body:not([data-theme="light"]) .highlight .o { color: #d0d0d0 } /* Operator */ +body:not([data-theme="light"]) .highlight .x { color: #d0d0d0 } /* Other */ +body:not([data-theme="light"]) .highlight .p { color: #d0d0d0 } /* Punctuation */ +body:not([data-theme="light"]) .highlight .ch { color: #ababab; font-style: italic } /* Comment.Hashbang */ +body:not([data-theme="light"]) .highlight .cm { color: #ababab; font-style: italic } /* Comment.Multiline */ +body:not([data-theme="light"]) .highlight .cp { color: #ff3a3a; font-weight: bold } /* Comment.Preproc */ +body:not([data-theme="light"]) .highlight .cpf { color: #ababab; font-style: italic } /* Comment.PreprocFile */ +body:not([data-theme="light"]) .highlight .c1 { color: #ababab; font-style: italic } /* Comment.Single */ +body:not([data-theme="light"]) .highlight .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */ +body:not([data-theme="light"]) .highlight .gd { color: #d22323 } /* Generic.Deleted */ +body:not([data-theme="light"]) .highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */ +body:not([data-theme="light"]) .highlight .ges { color: #d0d0d0; font-weight: bold; font-style: italic } /* Generic.EmphStrong */ +body:not([data-theme="light"]) .highlight .gr { color: #d22323 } /* Generic.Error */ +body:not([data-theme="light"]) .highlight .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */ +body:not([data-theme="light"]) .highlight .gi { color: #589819 } /* Generic.Inserted */ +body:not([data-theme="light"]) .highlight .go { color: #cccccc } /* Generic.Output */ +body:not([data-theme="light"]) .highlight .gp { color: #aaaaaa } /* Generic.Prompt */ +body:not([data-theme="light"]) .highlight .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */ +body:not([data-theme="light"]) .highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */ +body:not([data-theme="light"]) .highlight .gt { color: #d22323 } /* Generic.Traceback */ +body:not([data-theme="light"]) .highlight .kc { color: #6ebf26; font-weight: bold } /* Keyword.Constant */ +body:not([data-theme="light"]) .highlight .kd { color: #6ebf26; font-weight: bold } /* Keyword.Declaration */ +body:not([data-theme="light"]) .highlight .kn { color: #6ebf26; font-weight: bold } /* Keyword.Namespace */ +body:not([data-theme="light"]) .highlight .kp { color: #6ebf26 } /* Keyword.Pseudo */ +body:not([data-theme="light"]) .highlight .kr { color: #6ebf26; font-weight: bold } /* Keyword.Reserved */ +body:not([data-theme="light"]) .highlight .kt { color: #6ebf26; font-weight: bold } /* Keyword.Type */ +body:not([data-theme="light"]) .highlight .ld { color: #d0d0d0 } /* Literal.Date */ +body:not([data-theme="light"]) .highlight .m { color: #51b2fd } /* Literal.Number */ +body:not([data-theme="light"]) .highlight .s { color: #ed9d13 } /* Literal.String */ +body:not([data-theme="light"]) .highlight .na { color: #bbbbbb } /* Name.Attribute */ +body:not([data-theme="light"]) .highlight .nb { color: #2fbccd } /* Name.Builtin */ +body:not([data-theme="light"]) .highlight .nc { color: #71adff; text-decoration: underline } /* Name.Class */ +body:not([data-theme="light"]) .highlight .no { color: #40ffff } /* Name.Constant */ +body:not([data-theme="light"]) .highlight .nd { color: #ffa500 } /* Name.Decorator */ +body:not([data-theme="light"]) .highlight .ni { color: #d0d0d0 } /* Name.Entity */ +body:not([data-theme="light"]) .highlight .ne { color: #bbbbbb } /* Name.Exception */ +body:not([data-theme="light"]) .highlight .nf { color: #71adff } /* Name.Function */ +body:not([data-theme="light"]) .highlight .nl { color: #d0d0d0 } /* Name.Label */ +body:not([data-theme="light"]) .highlight .nn { color: #71adff; text-decoration: underline } /* Name.Namespace */ +body:not([data-theme="light"]) .highlight .nx { color: #d0d0d0 } /* Name.Other */ +body:not([data-theme="light"]) .highlight .py { color: #d0d0d0 } /* Name.Property */ +body:not([data-theme="light"]) .highlight .nt { color: #6ebf26; font-weight: bold } /* Name.Tag */ +body:not([data-theme="light"]) .highlight .nv { color: #40ffff } /* Name.Variable */ +body:not([data-theme="light"]) .highlight .ow { color: #6ebf26; font-weight: bold } /* Operator.Word */ +body:not([data-theme="light"]) .highlight .pm { color: #d0d0d0 } /* Punctuation.Marker */ +body:not([data-theme="light"]) .highlight .w { color: #666666 } /* Text.Whitespace */ +body:not([data-theme="light"]) .highlight .mb { color: #51b2fd } /* Literal.Number.Bin */ +body:not([data-theme="light"]) .highlight .mf { color: #51b2fd } /* Literal.Number.Float */ +body:not([data-theme="light"]) .highlight .mh { color: #51b2fd } /* Literal.Number.Hex */ +body:not([data-theme="light"]) .highlight .mi { color: #51b2fd } /* Literal.Number.Integer */ +body:not([data-theme="light"]) .highlight .mo { color: #51b2fd } /* Literal.Number.Oct */ +body:not([data-theme="light"]) .highlight .sa { color: #ed9d13 } /* Literal.String.Affix */ +body:not([data-theme="light"]) .highlight .sb { color: #ed9d13 } /* Literal.String.Backtick */ +body:not([data-theme="light"]) .highlight .sc { color: #ed9d13 } /* Literal.String.Char */ +body:not([data-theme="light"]) .highlight .dl { color: #ed9d13 } /* Literal.String.Delimiter */ +body:not([data-theme="light"]) .highlight .sd { color: #ed9d13 } /* Literal.String.Doc */ +body:not([data-theme="light"]) .highlight .s2 { color: #ed9d13 } /* Literal.String.Double */ +body:not([data-theme="light"]) .highlight .se { color: #ed9d13 } /* Literal.String.Escape */ +body:not([data-theme="light"]) .highlight .sh { color: #ed9d13 } /* Literal.String.Heredoc */ +body:not([data-theme="light"]) .highlight .si { color: #ed9d13 } /* Literal.String.Interpol */ +body:not([data-theme="light"]) .highlight .sx { color: #ffa500 } /* Literal.String.Other */ +body:not([data-theme="light"]) .highlight .sr { color: #ed9d13 } /* Literal.String.Regex */ +body:not([data-theme="light"]) .highlight .s1 { color: #ed9d13 } /* Literal.String.Single */ +body:not([data-theme="light"]) .highlight .ss { color: #ed9d13 } /* Literal.String.Symbol */ +body:not([data-theme="light"]) .highlight .bp { color: #2fbccd } /* Name.Builtin.Pseudo */ +body:not([data-theme="light"]) .highlight .fm { color: #71adff } /* Name.Function.Magic */ +body:not([data-theme="light"]) .highlight .vc { color: #40ffff } /* Name.Variable.Class */ +body:not([data-theme="light"]) .highlight .vg { color: #40ffff } /* Name.Variable.Global */ +body:not([data-theme="light"]) .highlight .vi { color: #40ffff } /* Name.Variable.Instance */ +body:not([data-theme="light"]) .highlight .vm { color: #40ffff } /* Name.Variable.Magic */ +body:not([data-theme="light"]) .highlight .il { color: #51b2fd } /* Literal.Number.Integer.Long */ +} +} diff --git a/docs/_builddir/_static/scripts/furo-extensions.js b/docs/_builddir/_static/scripts/furo-extensions.js new file mode 100644 index 000000000..3df80d91c --- /dev/null +++ b/docs/_builddir/_static/scripts/furo-extensions.js @@ -0,0 +1,28 @@ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ // The require scope +/******/ var __webpack_require__ = {}; +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/make namespace object */ +/******/ (() => { +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ })(); +/******/ +/************************************************************************/ +var __webpack_exports__ = {}; +/*!*****************************************************!*\ + !*** ./src/furo/assets/styles/furo-extensions.sass ***! + \*****************************************************/ +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + +/******/ })() +; +//# sourceMappingURL=furo-extensions.js.map diff --git a/docs/_builddir/_static/scripts/furo-extensions.js.map b/docs/_builddir/_static/scripts/furo-extensions.js.map new file mode 100644 index 000000000..ccfababaa --- /dev/null +++ b/docs/_builddir/_static/scripts/furo-extensions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"scripts/furo-extensions.js","mappings":";;UAAA;UACA;;;;;WCDA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;ACNA","sources":["webpack:///webpack/bootstrap","webpack:///webpack/runtime/make namespace object","webpack:///./src/furo/assets/styles/furo-extensions.sass?1049"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// extracted by mini-css-extract-plugin\nexport {};"],"names":[],"sourceRoot":""} diff --git a/docs/_builddir/_static/scripts/furo.js b/docs/_builddir/_static/scripts/furo.js new file mode 100644 index 000000000..fa87eef4e --- /dev/null +++ b/docs/_builddir/_static/scripts/furo.js @@ -0,0 +1,759 @@ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./src/furo/assets/scripts/gumshoe-patched.js": +/*!****************************************************!*\ + !*** ./src/furo/assets/scripts/gumshoe-patched.js ***! + \****************************************************/ +/***/ (function(module, exports, __webpack_require__) { + +var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! + * gumshoejs v5.1.2 (patched by @pradyunsg) + * A simple, framework-agnostic scrollspy script. + * (c) 2019 Chris Ferdinandi + * MIT License + * http://github.com/cferdinandi/gumshoe + */ + +(function (root, factory) { + if (true) { + !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () { + return factory(root); + }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), + __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + } else {} +})( + typeof __webpack_require__.g !== "undefined" + ? __webpack_require__.g + : typeof window !== "undefined" + ? window + : this, + function (window) { + "use strict"; + + // + // Defaults + // + + var defaults = { + // Active classes + navClass: "active", + contentClass: "active", + + // Nested navigation + nested: false, + nestedClass: "active", + + // Offset & reflow + offset: 0, + reflow: false, + + // Event support + events: true, + }; + + // + // Methods + // + + /** + * Merge two or more objects together. + * @param {Object} objects The objects to merge together + * @returns {Object} Merged values of defaults and options + */ + var extend = function () { + var merged = {}; + Array.prototype.forEach.call(arguments, function (obj) { + for (var key in obj) { + if (!obj.hasOwnProperty(key)) return; + merged[key] = obj[key]; + } + }); + return merged; + }; + + /** + * Emit a custom event + * @param {String} type The event type + * @param {Node} elem The element to attach the event to + * @param {Object} detail Any details to pass along with the event + */ + var emitEvent = function (type, elem, detail) { + // Make sure events are enabled + if (!detail.settings.events) return; + + // Create a new event + var event = new CustomEvent(type, { + bubbles: true, + cancelable: true, + detail: detail, + }); + + // Dispatch the event + elem.dispatchEvent(event); + }; + + /** + * Get an element's distance from the top of the Document. + * @param {Node} elem The element + * @return {Number} Distance from the top in pixels + */ + var getOffsetTop = function (elem) { + var location = 0; + if (elem.offsetParent) { + while (elem) { + location += elem.offsetTop; + elem = elem.offsetParent; + } + } + return location >= 0 ? location : 0; + }; + + /** + * Sort content from first to last in the DOM + * @param {Array} contents The content areas + */ + var sortContents = function (contents) { + if (contents) { + contents.sort(function (item1, item2) { + var offset1 = getOffsetTop(item1.content); + var offset2 = getOffsetTop(item2.content); + if (offset1 < offset2) return -1; + return 1; + }); + } + }; + + /** + * Get the offset to use for calculating position + * @param {Object} settings The settings for this instantiation + * @return {Float} The number of pixels to offset the calculations + */ + var getOffset = function (settings) { + // if the offset is a function run it + if (typeof settings.offset === "function") { + return parseFloat(settings.offset()); + } + + // Otherwise, return it as-is + return parseFloat(settings.offset); + }; + + /** + * Get the document element's height + * @private + * @returns {Number} + */ + var getDocumentHeight = function () { + return Math.max( + document.body.scrollHeight, + document.documentElement.scrollHeight, + document.body.offsetHeight, + document.documentElement.offsetHeight, + document.body.clientHeight, + document.documentElement.clientHeight, + ); + }; + + /** + * Determine if an element is in view + * @param {Node} elem The element + * @param {Object} settings The settings for this instantiation + * @param {Boolean} bottom If true, check if element is above bottom of viewport instead + * @return {Boolean} Returns true if element is in the viewport + */ + var isInView = function (elem, settings, bottom) { + var bounds = elem.getBoundingClientRect(); + var offset = getOffset(settings); + if (bottom) { + return ( + parseInt(bounds.bottom, 10) < + (window.innerHeight || document.documentElement.clientHeight) + ); + } + return parseInt(bounds.top, 10) <= offset; + }; + + /** + * Check if at the bottom of the viewport + * @return {Boolean} If true, page is at the bottom of the viewport + */ + var isAtBottom = function () { + if ( + Math.ceil(window.innerHeight + window.pageYOffset) >= + getDocumentHeight() + ) + return true; + return false; + }; + + /** + * Check if the last item should be used (even if not at the top of the page) + * @param {Object} item The last item + * @param {Object} settings The settings for this instantiation + * @return {Boolean} If true, use the last item + */ + var useLastItem = function (item, settings) { + if (isAtBottom() && isInView(item.content, settings, true)) return true; + return false; + }; + + /** + * Get the active content + * @param {Array} contents The content areas + * @param {Object} settings The settings for this instantiation + * @return {Object} The content area and matching navigation link + */ + var getActive = function (contents, settings) { + var last = contents[contents.length - 1]; + if (useLastItem(last, settings)) return last; + for (var i = contents.length - 1; i >= 0; i--) { + if (isInView(contents[i].content, settings)) return contents[i]; + } + }; + + /** + * Deactivate parent navs in a nested navigation + * @param {Node} nav The starting navigation element + * @param {Object} settings The settings for this instantiation + */ + var deactivateNested = function (nav, settings) { + // If nesting isn't activated, bail + if (!settings.nested || !nav.parentNode) return; + + // Get the parent navigation + var li = nav.parentNode.closest("li"); + if (!li) return; + + // Remove the active class + li.classList.remove(settings.nestedClass); + + // Apply recursively to any parent navigation elements + deactivateNested(li, settings); + }; + + /** + * Deactivate a nav and content area + * @param {Object} items The nav item and content to deactivate + * @param {Object} settings The settings for this instantiation + */ + var deactivate = function (items, settings) { + // Make sure there are items to deactivate + if (!items) return; + + // Get the parent list item + var li = items.nav.closest("li"); + if (!li) return; + + // Remove the active class from the nav and content + li.classList.remove(settings.navClass); + items.content.classList.remove(settings.contentClass); + + // Deactivate any parent navs in a nested navigation + deactivateNested(li, settings); + + // Emit a custom event + emitEvent("gumshoeDeactivate", li, { + link: items.nav, + content: items.content, + settings: settings, + }); + }; + + /** + * Activate parent navs in a nested navigation + * @param {Node} nav The starting navigation element + * @param {Object} settings The settings for this instantiation + */ + var activateNested = function (nav, settings) { + // If nesting isn't activated, bail + if (!settings.nested) return; + + // Get the parent navigation + var li = nav.parentNode.closest("li"); + if (!li) return; + + // Add the active class + li.classList.add(settings.nestedClass); + + // Apply recursively to any parent navigation elements + activateNested(li, settings); + }; + + /** + * Activate a nav and content area + * @param {Object} items The nav item and content to activate + * @param {Object} settings The settings for this instantiation + */ + var activate = function (items, settings) { + // Make sure there are items to activate + if (!items) return; + + // Get the parent list item + var li = items.nav.closest("li"); + if (!li) return; + + // Add the active class to the nav and content + li.classList.add(settings.navClass); + items.content.classList.add(settings.contentClass); + + // Activate any parent navs in a nested navigation + activateNested(li, settings); + + // Emit a custom event + emitEvent("gumshoeActivate", li, { + link: items.nav, + content: items.content, + settings: settings, + }); + }; + + /** + * Create the Constructor object + * @param {String} selector The selector to use for navigation items + * @param {Object} options User options and settings + */ + var Constructor = function (selector, options) { + // + // Variables + // + + var publicAPIs = {}; + var navItems, contents, current, timeout, settings; + + // + // Methods + // + + /** + * Set variables from DOM elements + */ + publicAPIs.setup = function () { + // Get all nav items + navItems = document.querySelectorAll(selector); + + // Create contents array + contents = []; + + // Loop through each item, get it's matching content, and push to the array + Array.prototype.forEach.call(navItems, function (item) { + // Get the content for the nav item + var content = document.getElementById( + decodeURIComponent(item.hash.substr(1)), + ); + if (!content) return; + + // Push to the contents array + contents.push({ + nav: item, + content: content, + }); + }); + + // Sort contents by the order they appear in the DOM + sortContents(contents); + }; + + /** + * Detect which content is currently active + */ + publicAPIs.detect = function () { + // Get the active content + var active = getActive(contents, settings); + + // if there's no active content, deactivate and bail + if (!active) { + if (current) { + deactivate(current, settings); + current = null; + } + return; + } + + // If the active content is the one currently active, do nothing + if (current && active.content === current.content) return; + + // Deactivate the current content and activate the new content + deactivate(current, settings); + activate(active, settings); + + // Update the currently active content + current = active; + }; + + /** + * Detect the active content on scroll + * Debounced for performance + */ + var scrollHandler = function (event) { + // If there's a timer, cancel it + if (timeout) { + window.cancelAnimationFrame(timeout); + } + + // Setup debounce callback + timeout = window.requestAnimationFrame(publicAPIs.detect); + }; + + /** + * Update content sorting on resize + * Debounced for performance + */ + var resizeHandler = function (event) { + // If there's a timer, cancel it + if (timeout) { + window.cancelAnimationFrame(timeout); + } + + // Setup debounce callback + timeout = window.requestAnimationFrame(function () { + sortContents(contents); + publicAPIs.detect(); + }); + }; + + /** + * Destroy the current instantiation + */ + publicAPIs.destroy = function () { + // Undo DOM changes + if (current) { + deactivate(current, settings); + } + + // Remove event listeners + window.removeEventListener("scroll", scrollHandler, false); + if (settings.reflow) { + window.removeEventListener("resize", resizeHandler, false); + } + + // Reset variables + contents = null; + navItems = null; + current = null; + timeout = null; + settings = null; + }; + + /** + * Initialize the current instantiation + */ + var init = function () { + // Merge user options into defaults + settings = extend(defaults, options || {}); + + // Setup variables based on the current DOM + publicAPIs.setup(); + + // Find the currently active content + publicAPIs.detect(); + + // Setup event listeners + window.addEventListener("scroll", scrollHandler, false); + if (settings.reflow) { + window.addEventListener("resize", resizeHandler, false); + } + }; + + // + // Initialize and return the public APIs + // + + init(); + return publicAPIs; + }; + + // + // Return the Constructor + // + + return Constructor; + }, +); + + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/compat get default export */ +/******/ (() => { +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = (module) => { +/******/ var getter = module && module.__esModule ? +/******/ () => (module['default']) : +/******/ () => (module); +/******/ __webpack_require__.d(getter, { a: getter }); +/******/ return getter; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/define property getters */ +/******/ (() => { +/******/ // define getter functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); +/******/ } +/******/ } +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/global */ +/******/ (() => { +/******/ __webpack_require__.g = (function() { +/******/ if (typeof globalThis === 'object') return globalThis; +/******/ try { +/******/ return this || new Function('return this')(); +/******/ } catch (e) { +/******/ if (typeof window === 'object') return window; +/******/ } +/******/ })(); +/******/ })(); +/******/ +/******/ /* webpack/runtime/hasOwnProperty shorthand */ +/******/ (() => { +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) +/******/ })(); +/******/ +/******/ /* webpack/runtime/make namespace object */ +/******/ (() => { +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ })(); +/******/ +/************************************************************************/ +var __webpack_exports__ = {}; +// This entry need to be wrapped in an IIFE because it need to be in strict mode. +(() => { +"use strict"; +var __webpack_exports__ = {}; +/*!*****************************************!*\ + !*** ./src/furo/assets/scripts/furo.js ***! + \*****************************************/ +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _gumshoe_patched_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./gumshoe-patched.js */ "./src/furo/assets/scripts/gumshoe-patched.js"); +/* harmony import */ var _gumshoe_patched_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_gumshoe_patched_js__WEBPACK_IMPORTED_MODULE_0__); + + +//////////////////////////////////////////////////////////////////////////////// +// Scroll Handling +//////////////////////////////////////////////////////////////////////////////// +var tocScroll = null; +var header = null; +var lastScrollTop = window.pageYOffset || document.documentElement.scrollTop; +const GO_TO_TOP_OFFSET = 64; + +// function scrollHandlerForHeader() { +// if (Math.floor(header.getBoundingClientRect().top) == 0) { +// header.classList.add("scrolled"); +// } else { +// header.classList.remove("scrolled"); +// } +// } + +function scrollHandlerForBackToTop(positionY) { + if (positionY < GO_TO_TOP_OFFSET) { + document.documentElement.classList.remove("show-back-to-top"); + } else { + if (positionY < lastScrollTop) { + document.documentElement.classList.add("show-back-to-top"); + } else if (positionY > lastScrollTop) { + document.documentElement.classList.remove("show-back-to-top"); + } + } + lastScrollTop = positionY; +} + +function scrollHandlerForTOC(positionY) { + if (tocScroll === null) { + return; + } + + // top of page. + if (positionY == 0) { + tocScroll.scrollTo(0, 0); + } else if ( + // bottom of page. + Math.ceil(positionY) >= + Math.floor(document.documentElement.scrollHeight - window.innerHeight) + ) { + tocScroll.scrollTo(0, tocScroll.scrollHeight); + } else { + // somewhere in the middle. + const current = document.querySelector(".scroll-current"); + if (current == null) { + return; + } + + // https://github.com/pypa/pip/issues/9159 This breaks scroll behaviours. + // // scroll the currently "active" heading in toc, into view. + // const rect = current.getBoundingClientRect(); + // if (0 > rect.top) { + // current.scrollIntoView(true); // the argument is "alignTop" + // } else if (rect.bottom > window.innerHeight) { + // current.scrollIntoView(false); + // } + } +} + +function scrollHandler(positionY) { + // scrollHandlerForHeader(); + scrollHandlerForBackToTop(positionY); + scrollHandlerForTOC(positionY); +} + +//////////////////////////////////////////////////////////////////////////////// +// Theme Toggle +//////////////////////////////////////////////////////////////////////////////// +function setTheme(mode) { + if (mode !== "light" && mode !== "dark" && mode !== "auto") { + console.error(`Got invalid theme mode: ${mode}. Resetting to auto.`); + mode = "auto"; + } + + document.body.dataset.theme = mode; + localStorage.setItem("theme", mode); + console.log(`Changed to ${mode} mode.`); +} + +function cycleThemeOnce() { + const currentTheme = localStorage.getItem("theme") || "auto"; + const prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches; + + if (prefersDark) { + // Auto (dark) -> Light -> Dark + if (currentTheme === "auto") { + setTheme("light"); + } else if (currentTheme == "light") { + setTheme("dark"); + } else { + setTheme("auto"); + } + } else { + // Auto (light) -> Dark -> Light + if (currentTheme === "auto") { + setTheme("dark"); + } else if (currentTheme == "dark") { + setTheme("light"); + } else { + setTheme("auto"); + } + } +} + +//////////////////////////////////////////////////////////////////////////////// +// Setup +//////////////////////////////////////////////////////////////////////////////// +function setupScrollHandler() { + // Taken from https://developer.mozilla.org/en-US/docs/Web/API/Document/scroll_event + let last_known_scroll_position = 0; + let ticking = false; + + window.addEventListener("scroll", function (e) { + last_known_scroll_position = window.scrollY; + + if (!ticking) { + window.requestAnimationFrame(function () { + scrollHandler(last_known_scroll_position); + ticking = false; + }); + + ticking = true; + } + }); + window.scroll(); +} + +function setupScrollSpy() { + if (tocScroll === null) { + return; + } + + // Scrollspy -- highlight table on contents, based on scroll + // new Gumshoe(".toc-tree a", { + // reflow: true, + // recursive: true, + // navClass: "scroll-current", + // offset: () => { + // let rem = parseFloat(getComputedStyle(document.documentElement).fontSize); + // return header.getBoundingClientRect().height + 0.5 * rem + 1; + // }, + // }); +} + +function setupTheme() { + // Attach event handlers for toggling themes + const buttons = document.getElementsByClassName("theme-toggle"); + Array.from(buttons).forEach((btn) => { + btn.addEventListener("click", cycleThemeOnce); + }); +} + +function setup() { + setupTheme(); + setupScrollHandler(); + setupScrollSpy(); +} + +//////////////////////////////////////////////////////////////////////////////// +// Main entrypoint +//////////////////////////////////////////////////////////////////////////////// +function main() { + document.body.parentNode.classList.remove("no-js"); + + // header = document.querySelectorAll("header")[1]; + tocScroll = document.querySelector(".toc-scroll"); + + setup(); +} + +document.addEventListener("DOMContentLoaded", main); + +})(); + +// This entry need to be wrapped in an IIFE because it need to be in strict mode. +(() => { +"use strict"; +/*!******************************************!*\ + !*** ./src/furo/assets/styles/furo.sass ***! + \******************************************/ +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + +})(); + +/******/ })() +; +//# sourceMappingURL=furo.js.map diff --git a/docs/_builddir/_static/scripts/furo.js.map b/docs/_builddir/_static/scripts/furo.js.map new file mode 100644 index 000000000..17c22c136 --- /dev/null +++ b/docs/_builddir/_static/scripts/furo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"scripts/furo.js","mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM,IAA0C;AAChD,IAAI,iCAAO,EAAE,mCAAE;AACf;AACA,KAAK;AAAA,kGAAC;AACN,IAAI,KAAK,EAIN;AACH,CAAC;AACD,SAAS,qBAAM;AACf,MAAM,qBAAM;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,iBAAiB,UAAU;AAC3B,iBAAiB,mBAAmB;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,gBAAgB,QAAQ;AACxB,gBAAgB,QAAQ;AACxB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;;AAEA;AACA;AACA,gBAAgB,MAAM;AACtB,gBAAgB,WAAW;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gBAAgB,OAAO;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA,gBAAgB,QAAQ;AACxB,gBAAgB,iBAAiB;AACjC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,kBAAkB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gBAAgB,SAAS;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gBAAgB,QAAQ;AACxB,gBAAgB,QAAQ;AACxB,gBAAgB,iBAAiB;AACjC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gBAAgB,QAAQ;AACxB,gBAAgB,QAAQ;AACxB,gBAAgB,iBAAiB;AACjC;AACA;AACA;AACA;AACA,wCAAwC,QAAQ;AAChD;AACA;AACA;;AAEA;AACA;AACA,gBAAgB,QAAQ;AACxB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,gBAAgB,QAAQ;AACxB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA,gBAAgB,QAAQ;AACxB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,gBAAgB,QAAQ;AACxB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA,eAAe,QAAQ;AACvB,eAAe,QAAQ;AACvB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iDAAiD;;AAEjD;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;;;;;;UCjdA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;WCPD;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;;;;ACN2C;;AAE3C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,uCAAuC;AACvC,SAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,6CAA6C,KAAK;AAClD;AACA;;AAEA;AACA;AACA,4BAA4B,MAAM;AAClC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;AC9KA","sources":["webpack:///./src/furo/assets/scripts/gumshoe-patched.js","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///./src/furo/assets/scripts/furo.js","webpack:///./src/furo/assets/styles/furo.sass?c277"],"sourcesContent":["/*!\n * gumshoejs v5.1.2 (patched by @pradyunsg)\n * A simple, framework-agnostic scrollspy script.\n * (c) 2019 Chris Ferdinandi\n * MIT License\n * http://github.com/cferdinandi/gumshoe\n */\n\n(function (root, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([], function () {\n return factory(root);\n });\n } else if (typeof exports === \"object\") {\n module.exports = factory(root);\n } else {\n root.Gumshoe = factory(root);\n }\n})(\n typeof global !== \"undefined\"\n ? global\n : typeof window !== \"undefined\"\n ? window\n : this,\n function (window) {\n \"use strict\";\n\n //\n // Defaults\n //\n\n var defaults = {\n // Active classes\n navClass: \"active\",\n contentClass: \"active\",\n\n // Nested navigation\n nested: false,\n nestedClass: \"active\",\n\n // Offset & reflow\n offset: 0,\n reflow: false,\n\n // Event support\n events: true,\n };\n\n //\n // Methods\n //\n\n /**\n * Merge two or more objects together.\n * @param {Object} objects The objects to merge together\n * @returns {Object} Merged values of defaults and options\n */\n var extend = function () {\n var merged = {};\n Array.prototype.forEach.call(arguments, function (obj) {\n for (var key in obj) {\n if (!obj.hasOwnProperty(key)) return;\n merged[key] = obj[key];\n }\n });\n return merged;\n };\n\n /**\n * Emit a custom event\n * @param {String} type The event type\n * @param {Node} elem The element to attach the event to\n * @param {Object} detail Any details to pass along with the event\n */\n var emitEvent = function (type, elem, detail) {\n // Make sure events are enabled\n if (!detail.settings.events) return;\n\n // Create a new event\n var event = new CustomEvent(type, {\n bubbles: true,\n cancelable: true,\n detail: detail,\n });\n\n // Dispatch the event\n elem.dispatchEvent(event);\n };\n\n /**\n * Get an element's distance from the top of the Document.\n * @param {Node} elem The element\n * @return {Number} Distance from the top in pixels\n */\n var getOffsetTop = function (elem) {\n var location = 0;\n if (elem.offsetParent) {\n while (elem) {\n location += elem.offsetTop;\n elem = elem.offsetParent;\n }\n }\n return location >= 0 ? location : 0;\n };\n\n /**\n * Sort content from first to last in the DOM\n * @param {Array} contents The content areas\n */\n var sortContents = function (contents) {\n if (contents) {\n contents.sort(function (item1, item2) {\n var offset1 = getOffsetTop(item1.content);\n var offset2 = getOffsetTop(item2.content);\n if (offset1 < offset2) return -1;\n return 1;\n });\n }\n };\n\n /**\n * Get the offset to use for calculating position\n * @param {Object} settings The settings for this instantiation\n * @return {Float} The number of pixels to offset the calculations\n */\n var getOffset = function (settings) {\n // if the offset is a function run it\n if (typeof settings.offset === \"function\") {\n return parseFloat(settings.offset());\n }\n\n // Otherwise, return it as-is\n return parseFloat(settings.offset);\n };\n\n /**\n * Get the document element's height\n * @private\n * @returns {Number}\n */\n var getDocumentHeight = function () {\n return Math.max(\n document.body.scrollHeight,\n document.documentElement.scrollHeight,\n document.body.offsetHeight,\n document.documentElement.offsetHeight,\n document.body.clientHeight,\n document.documentElement.clientHeight,\n );\n };\n\n /**\n * Determine if an element is in view\n * @param {Node} elem The element\n * @param {Object} settings The settings for this instantiation\n * @param {Boolean} bottom If true, check if element is above bottom of viewport instead\n * @return {Boolean} Returns true if element is in the viewport\n */\n var isInView = function (elem, settings, bottom) {\n var bounds = elem.getBoundingClientRect();\n var offset = getOffset(settings);\n if (bottom) {\n return (\n parseInt(bounds.bottom, 10) <\n (window.innerHeight || document.documentElement.clientHeight)\n );\n }\n return parseInt(bounds.top, 10) <= offset;\n };\n\n /**\n * Check if at the bottom of the viewport\n * @return {Boolean} If true, page is at the bottom of the viewport\n */\n var isAtBottom = function () {\n if (\n Math.ceil(window.innerHeight + window.pageYOffset) >=\n getDocumentHeight()\n )\n return true;\n return false;\n };\n\n /**\n * Check if the last item should be used (even if not at the top of the page)\n * @param {Object} item The last item\n * @param {Object} settings The settings for this instantiation\n * @return {Boolean} If true, use the last item\n */\n var useLastItem = function (item, settings) {\n if (isAtBottom() && isInView(item.content, settings, true)) return true;\n return false;\n };\n\n /**\n * Get the active content\n * @param {Array} contents The content areas\n * @param {Object} settings The settings for this instantiation\n * @return {Object} The content area and matching navigation link\n */\n var getActive = function (contents, settings) {\n var last = contents[contents.length - 1];\n if (useLastItem(last, settings)) return last;\n for (var i = contents.length - 1; i >= 0; i--) {\n if (isInView(contents[i].content, settings)) return contents[i];\n }\n };\n\n /**\n * Deactivate parent navs in a nested navigation\n * @param {Node} nav The starting navigation element\n * @param {Object} settings The settings for this instantiation\n */\n var deactivateNested = function (nav, settings) {\n // If nesting isn't activated, bail\n if (!settings.nested || !nav.parentNode) return;\n\n // Get the parent navigation\n var li = nav.parentNode.closest(\"li\");\n if (!li) return;\n\n // Remove the active class\n li.classList.remove(settings.nestedClass);\n\n // Apply recursively to any parent navigation elements\n deactivateNested(li, settings);\n };\n\n /**\n * Deactivate a nav and content area\n * @param {Object} items The nav item and content to deactivate\n * @param {Object} settings The settings for this instantiation\n */\n var deactivate = function (items, settings) {\n // Make sure there are items to deactivate\n if (!items) return;\n\n // Get the parent list item\n var li = items.nav.closest(\"li\");\n if (!li) return;\n\n // Remove the active class from the nav and content\n li.classList.remove(settings.navClass);\n items.content.classList.remove(settings.contentClass);\n\n // Deactivate any parent navs in a nested navigation\n deactivateNested(li, settings);\n\n // Emit a custom event\n emitEvent(\"gumshoeDeactivate\", li, {\n link: items.nav,\n content: items.content,\n settings: settings,\n });\n };\n\n /**\n * Activate parent navs in a nested navigation\n * @param {Node} nav The starting navigation element\n * @param {Object} settings The settings for this instantiation\n */\n var activateNested = function (nav, settings) {\n // If nesting isn't activated, bail\n if (!settings.nested) return;\n\n // Get the parent navigation\n var li = nav.parentNode.closest(\"li\");\n if (!li) return;\n\n // Add the active class\n li.classList.add(settings.nestedClass);\n\n // Apply recursively to any parent navigation elements\n activateNested(li, settings);\n };\n\n /**\n * Activate a nav and content area\n * @param {Object} items The nav item and content to activate\n * @param {Object} settings The settings for this instantiation\n */\n var activate = function (items, settings) {\n // Make sure there are items to activate\n if (!items) return;\n\n // Get the parent list item\n var li = items.nav.closest(\"li\");\n if (!li) return;\n\n // Add the active class to the nav and content\n li.classList.add(settings.navClass);\n items.content.classList.add(settings.contentClass);\n\n // Activate any parent navs in a nested navigation\n activateNested(li, settings);\n\n // Emit a custom event\n emitEvent(\"gumshoeActivate\", li, {\n link: items.nav,\n content: items.content,\n settings: settings,\n });\n };\n\n /**\n * Create the Constructor object\n * @param {String} selector The selector to use for navigation items\n * @param {Object} options User options and settings\n */\n var Constructor = function (selector, options) {\n //\n // Variables\n //\n\n var publicAPIs = {};\n var navItems, contents, current, timeout, settings;\n\n //\n // Methods\n //\n\n /**\n * Set variables from DOM elements\n */\n publicAPIs.setup = function () {\n // Get all nav items\n navItems = document.querySelectorAll(selector);\n\n // Create contents array\n contents = [];\n\n // Loop through each item, get it's matching content, and push to the array\n Array.prototype.forEach.call(navItems, function (item) {\n // Get the content for the nav item\n var content = document.getElementById(\n decodeURIComponent(item.hash.substr(1)),\n );\n if (!content) return;\n\n // Push to the contents array\n contents.push({\n nav: item,\n content: content,\n });\n });\n\n // Sort contents by the order they appear in the DOM\n sortContents(contents);\n };\n\n /**\n * Detect which content is currently active\n */\n publicAPIs.detect = function () {\n // Get the active content\n var active = getActive(contents, settings);\n\n // if there's no active content, deactivate and bail\n if (!active) {\n if (current) {\n deactivate(current, settings);\n current = null;\n }\n return;\n }\n\n // If the active content is the one currently active, do nothing\n if (current && active.content === current.content) return;\n\n // Deactivate the current content and activate the new content\n deactivate(current, settings);\n activate(active, settings);\n\n // Update the currently active content\n current = active;\n };\n\n /**\n * Detect the active content on scroll\n * Debounced for performance\n */\n var scrollHandler = function (event) {\n // If there's a timer, cancel it\n if (timeout) {\n window.cancelAnimationFrame(timeout);\n }\n\n // Setup debounce callback\n timeout = window.requestAnimationFrame(publicAPIs.detect);\n };\n\n /**\n * Update content sorting on resize\n * Debounced for performance\n */\n var resizeHandler = function (event) {\n // If there's a timer, cancel it\n if (timeout) {\n window.cancelAnimationFrame(timeout);\n }\n\n // Setup debounce callback\n timeout = window.requestAnimationFrame(function () {\n sortContents(contents);\n publicAPIs.detect();\n });\n };\n\n /**\n * Destroy the current instantiation\n */\n publicAPIs.destroy = function () {\n // Undo DOM changes\n if (current) {\n deactivate(current, settings);\n }\n\n // Remove event listeners\n window.removeEventListener(\"scroll\", scrollHandler, false);\n if (settings.reflow) {\n window.removeEventListener(\"resize\", resizeHandler, false);\n }\n\n // Reset variables\n contents = null;\n navItems = null;\n current = null;\n timeout = null;\n settings = null;\n };\n\n /**\n * Initialize the current instantiation\n */\n var init = function () {\n // Merge user options into defaults\n settings = extend(defaults, options || {});\n\n // Setup variables based on the current DOM\n publicAPIs.setup();\n\n // Find the currently active content\n publicAPIs.detect();\n\n // Setup event listeners\n window.addEventListener(\"scroll\", scrollHandler, false);\n if (settings.reflow) {\n window.addEventListener(\"resize\", resizeHandler, false);\n }\n };\n\n //\n // Initialize and return the public APIs\n //\n\n init();\n return publicAPIs;\n };\n\n //\n // Return the Constructor\n //\n\n return Constructor;\n },\n);\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import Gumshoe from \"./gumshoe-patched.js\";\n\n////////////////////////////////////////////////////////////////////////////////\n// Scroll Handling\n////////////////////////////////////////////////////////////////////////////////\nvar tocScroll = null;\nvar header = null;\nvar lastScrollTop = window.pageYOffset || document.documentElement.scrollTop;\nconst GO_TO_TOP_OFFSET = 64;\n\n// function scrollHandlerForHeader() {\n// if (Math.floor(header.getBoundingClientRect().top) == 0) {\n// header.classList.add(\"scrolled\");\n// } else {\n// header.classList.remove(\"scrolled\");\n// }\n// }\n\nfunction scrollHandlerForBackToTop(positionY) {\n if (positionY < GO_TO_TOP_OFFSET) {\n document.documentElement.classList.remove(\"show-back-to-top\");\n } else {\n if (positionY < lastScrollTop) {\n document.documentElement.classList.add(\"show-back-to-top\");\n } else if (positionY > lastScrollTop) {\n document.documentElement.classList.remove(\"show-back-to-top\");\n }\n }\n lastScrollTop = positionY;\n}\n\nfunction scrollHandlerForTOC(positionY) {\n if (tocScroll === null) {\n return;\n }\n\n // top of page.\n if (positionY == 0) {\n tocScroll.scrollTo(0, 0);\n } else if (\n // bottom of page.\n Math.ceil(positionY) >=\n Math.floor(document.documentElement.scrollHeight - window.innerHeight)\n ) {\n tocScroll.scrollTo(0, tocScroll.scrollHeight);\n } else {\n // somewhere in the middle.\n const current = document.querySelector(\".scroll-current\");\n if (current == null) {\n return;\n }\n\n // https://github.com/pypa/pip/issues/9159 This breaks scroll behaviours.\n // // scroll the currently \"active\" heading in toc, into view.\n // const rect = current.getBoundingClientRect();\n // if (0 > rect.top) {\n // current.scrollIntoView(true); // the argument is \"alignTop\"\n // } else if (rect.bottom > window.innerHeight) {\n // current.scrollIntoView(false);\n // }\n }\n}\n\nfunction scrollHandler(positionY) {\n // scrollHandlerForHeader();\n scrollHandlerForBackToTop(positionY);\n scrollHandlerForTOC(positionY);\n}\n\n////////////////////////////////////////////////////////////////////////////////\n// Theme Toggle\n////////////////////////////////////////////////////////////////////////////////\nfunction setTheme(mode) {\n if (mode !== \"light\" && mode !== \"dark\" && mode !== \"auto\") {\n console.error(`Got invalid theme mode: ${mode}. Resetting to auto.`);\n mode = \"auto\";\n }\n\n document.body.dataset.theme = mode;\n localStorage.setItem(\"theme\", mode);\n console.log(`Changed to ${mode} mode.`);\n}\n\nfunction cycleThemeOnce() {\n const currentTheme = localStorage.getItem(\"theme\") || \"auto\";\n const prefersDark = window.matchMedia(\"(prefers-color-scheme: dark)\").matches;\n\n if (prefersDark) {\n // Auto (dark) -> Light -> Dark\n if (currentTheme === \"auto\") {\n setTheme(\"light\");\n } else if (currentTheme == \"light\") {\n setTheme(\"dark\");\n } else {\n setTheme(\"auto\");\n }\n } else {\n // Auto (light) -> Dark -> Light\n if (currentTheme === \"auto\") {\n setTheme(\"dark\");\n } else if (currentTheme == \"dark\") {\n setTheme(\"light\");\n } else {\n setTheme(\"auto\");\n }\n }\n}\n\n////////////////////////////////////////////////////////////////////////////////\n// Setup\n////////////////////////////////////////////////////////////////////////////////\nfunction setupScrollHandler() {\n // Taken from https://developer.mozilla.org/en-US/docs/Web/API/Document/scroll_event\n let last_known_scroll_position = 0;\n let ticking = false;\n\n window.addEventListener(\"scroll\", function (e) {\n last_known_scroll_position = window.scrollY;\n\n if (!ticking) {\n window.requestAnimationFrame(function () {\n scrollHandler(last_known_scroll_position);\n ticking = false;\n });\n\n ticking = true;\n }\n });\n window.scroll();\n}\n\nfunction setupScrollSpy() {\n if (tocScroll === null) {\n return;\n }\n\n // Scrollspy -- highlight table on contents, based on scroll\n // new Gumshoe(\".toc-tree a\", {\n // reflow: true,\n // recursive: true,\n // navClass: \"scroll-current\",\n // offset: () => {\n // let rem = parseFloat(getComputedStyle(document.documentElement).fontSize);\n // return header.getBoundingClientRect().height + 0.5 * rem + 1;\n // },\n // });\n}\n\nfunction setupTheme() {\n // Attach event handlers for toggling themes\n const buttons = document.getElementsByClassName(\"theme-toggle\");\n Array.from(buttons).forEach((btn) => {\n btn.addEventListener(\"click\", cycleThemeOnce);\n });\n}\n\nfunction setup() {\n setupTheme();\n setupScrollHandler();\n setupScrollSpy();\n}\n\n////////////////////////////////////////////////////////////////////////////////\n// Main entrypoint\n////////////////////////////////////////////////////////////////////////////////\nfunction main() {\n document.body.parentNode.classList.remove(\"no-js\");\n\n // header = document.querySelectorAll(\"header\")[1];\n tocScroll = document.querySelector(\".toc-scroll\");\n\n setup();\n}\n\ndocument.addEventListener(\"DOMContentLoaded\", main);\n","// extracted by mini-css-extract-plugin\nexport {};"],"names":[],"sourceRoot":""} diff --git a/docs/_builddir/_static/searchtools.js b/docs/_builddir/_static/searchtools.js new file mode 100644 index 000000000..7918c3fab --- /dev/null +++ b/docs/_builddir/_static/searchtools.js @@ -0,0 +1,574 @@ +/* + * searchtools.js + * ~~~~~~~~~~~~~~~~ + * + * Sphinx JavaScript utilities for the full-text search. + * + * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ +"use strict"; + +/** + * Simple result scoring code. + */ +if (typeof Scorer === "undefined") { + var Scorer = { + // Implement the following function to further tweak the score for each result + // The function takes a result array [docname, title, anchor, descr, score, filename] + // and returns the new score. + /* + score: result => { + const [docname, title, anchor, descr, score, filename] = result + return score + }, + */ + + // query matches the full name of an object + objNameMatch: 11, + // or matches in the last dotted part of the object name + objPartialMatch: 6, + // Additive scores depending on the priority of the object + objPrio: { + 0: 15, // used to be importantResults + 1: 5, // used to be objectResults + 2: -5, // used to be unimportantResults + }, + // Used when the priority is not in the mapping. + objPrioDefault: 0, + + // query found in title + title: 15, + partialTitle: 7, + // query found in terms + term: 5, + partialTerm: 2, + }; +} + +const _removeChildren = (element) => { + while (element && element.lastChild) element.removeChild(element.lastChild); +}; + +/** + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#escaping + */ +const _escapeRegExp = (string) => + string.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&"); // $& means the whole matched string + +const _displayItem = (item, searchTerms, highlightTerms) => { + const docBuilder = DOCUMENTATION_OPTIONS.BUILDER; + const docFileSuffix = DOCUMENTATION_OPTIONS.FILE_SUFFIX; + const docLinkSuffix = DOCUMENTATION_OPTIONS.LINK_SUFFIX; + const showSearchSummary = DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY; + const contentRoot = document.documentElement.dataset.content_root; + + const [docName, title, anchor, descr, score, _filename] = item; + + let listItem = document.createElement("li"); + let requestUrl; + let linkUrl; + if (docBuilder === "dirhtml") { + // dirhtml builder + let dirname = docName + "/"; + if (dirname.match(/\/index\/$/)) + dirname = dirname.substring(0, dirname.length - 6); + else if (dirname === "index/") dirname = ""; + requestUrl = contentRoot + dirname; + linkUrl = requestUrl; + } else { + // normal html builders + requestUrl = contentRoot + docName + docFileSuffix; + linkUrl = docName + docLinkSuffix; + } + let linkEl = listItem.appendChild(document.createElement("a")); + linkEl.href = linkUrl + anchor; + linkEl.dataset.score = score; + linkEl.innerHTML = title; + if (descr) { + listItem.appendChild(document.createElement("span")).innerHTML = + " (" + descr + ")"; + // highlight search terms in the description + if (SPHINX_HIGHLIGHT_ENABLED) // set in sphinx_highlight.js + highlightTerms.forEach((term) => _highlightText(listItem, term, "highlighted")); + } + else if (showSearchSummary) + fetch(requestUrl) + .then((responseData) => responseData.text()) + .then((data) => { + if (data) + listItem.appendChild( + Search.makeSearchSummary(data, searchTerms) + ); + // highlight search terms in the summary + if (SPHINX_HIGHLIGHT_ENABLED) // set in sphinx_highlight.js + highlightTerms.forEach((term) => _highlightText(listItem, term, "highlighted")); + }); + Search.output.appendChild(listItem); +}; +const _finishSearch = (resultCount) => { + Search.stopPulse(); + Search.title.innerText = _("Search Results"); + if (!resultCount) + Search.status.innerText = Documentation.gettext( + "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories." + ); + else + Search.status.innerText = _( + `Search finished, found ${resultCount} page(s) matching the search query.` + ); +}; +const _displayNextItem = ( + results, + resultCount, + searchTerms, + highlightTerms, +) => { + // results left, load the summary and display it + // this is intended to be dynamic (don't sub resultsCount) + if (results.length) { + _displayItem(results.pop(), searchTerms, highlightTerms); + setTimeout( + () => _displayNextItem(results, resultCount, searchTerms, highlightTerms), + 5 + ); + } + // search finished, update title and status message + else _finishSearch(resultCount); +}; + +/** + * Default splitQuery function. Can be overridden in ``sphinx.search`` with a + * custom function per language. + * + * The regular expression works by splitting the string on consecutive characters + * that are not Unicode letters, numbers, underscores, or emoji characters. + * This is the same as ``\W+`` in Python, preserving the surrogate pair area. + */ +if (typeof splitQuery === "undefined") { + var splitQuery = (query) => query + .split(/[^\p{Letter}\p{Number}_\p{Emoji_Presentation}]+/gu) + .filter(term => term) // remove remaining empty strings +} + +/** + * Search Module + */ +const Search = { + _index: null, + _queued_query: null, + _pulse_status: -1, + + htmlToText: (htmlString) => { + const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html'); + htmlElement.querySelectorAll(".headerlink").forEach((el) => { el.remove() }); + const docContent = htmlElement.querySelector('[role="main"]'); + if (docContent !== undefined) return docContent.textContent; + console.warn( + "Content block not found. Sphinx search tries to obtain it via '[role=main]'. Could you check your theme or template." + ); + return ""; + }, + + init: () => { + const query = new URLSearchParams(window.location.search).get("q"); + document + .querySelectorAll('input[name="q"]') + .forEach((el) => (el.value = query)); + if (query) Search.performSearch(query); + }, + + loadIndex: (url) => + (document.body.appendChild(document.createElement("script")).src = url), + + setIndex: (index) => { + Search._index = index; + if (Search._queued_query !== null) { + const query = Search._queued_query; + Search._queued_query = null; + Search.query(query); + } + }, + + hasIndex: () => Search._index !== null, + + deferQuery: (query) => (Search._queued_query = query), + + stopPulse: () => (Search._pulse_status = -1), + + startPulse: () => { + if (Search._pulse_status >= 0) return; + + const pulse = () => { + Search._pulse_status = (Search._pulse_status + 1) % 4; + Search.dots.innerText = ".".repeat(Search._pulse_status); + if (Search._pulse_status >= 0) window.setTimeout(pulse, 500); + }; + pulse(); + }, + + /** + * perform a search for something (or wait until index is loaded) + */ + performSearch: (query) => { + // create the required interface elements + const searchText = document.createElement("h2"); + searchText.textContent = _("Searching"); + const searchSummary = document.createElement("p"); + searchSummary.classList.add("search-summary"); + searchSummary.innerText = ""; + const searchList = document.createElement("ul"); + searchList.classList.add("search"); + + const out = document.getElementById("search-results"); + Search.title = out.appendChild(searchText); + Search.dots = Search.title.appendChild(document.createElement("span")); + Search.status = out.appendChild(searchSummary); + Search.output = out.appendChild(searchList); + + const searchProgress = document.getElementById("search-progress"); + // Some themes don't use the search progress node + if (searchProgress) { + searchProgress.innerText = _("Preparing search..."); + } + Search.startPulse(); + + // index already loaded, the browser was quick! + if (Search.hasIndex()) Search.query(query); + else Search.deferQuery(query); + }, + + /** + * execute search (requires search index to be loaded) + */ + query: (query) => { + const filenames = Search._index.filenames; + const docNames = Search._index.docnames; + const titles = Search._index.titles; + const allTitles = Search._index.alltitles; + const indexEntries = Search._index.indexentries; + + // stem the search terms and add them to the correct list + const stemmer = new Stemmer(); + const searchTerms = new Set(); + const excludedTerms = new Set(); + const highlightTerms = new Set(); + const objectTerms = new Set(splitQuery(query.toLowerCase().trim())); + splitQuery(query.trim()).forEach((queryTerm) => { + const queryTermLower = queryTerm.toLowerCase(); + + // maybe skip this "word" + // stopwords array is from language_data.js + if ( + stopwords.indexOf(queryTermLower) !== -1 || + queryTerm.match(/^\d+$/) + ) + return; + + // stem the word + let word = stemmer.stemWord(queryTermLower); + // select the correct list + if (word[0] === "-") excludedTerms.add(word.substr(1)); + else { + searchTerms.add(word); + highlightTerms.add(queryTermLower); + } + }); + + if (SPHINX_HIGHLIGHT_ENABLED) { // set in sphinx_highlight.js + localStorage.setItem("sphinx_highlight_terms", [...highlightTerms].join(" ")) + } + + // console.debug("SEARCH: searching for:"); + // console.info("required: ", [...searchTerms]); + // console.info("excluded: ", [...excludedTerms]); + + // array of [docname, title, anchor, descr, score, filename] + let results = []; + _removeChildren(document.getElementById("search-progress")); + + const queryLower = query.toLowerCase(); + for (const [title, foundTitles] of Object.entries(allTitles)) { + if (title.toLowerCase().includes(queryLower) && (queryLower.length >= title.length/2)) { + for (const [file, id] of foundTitles) { + let score = Math.round(100 * queryLower.length / title.length) + results.push([ + docNames[file], + titles[file] !== title ? `${titles[file]} > ${title}` : title, + id !== null ? "#" + id : "", + null, + score, + filenames[file], + ]); + } + } + } + + // search for explicit entries in index directives + for (const [entry, foundEntries] of Object.entries(indexEntries)) { + if (entry.includes(queryLower) && (queryLower.length >= entry.length/2)) { + for (const [file, id] of foundEntries) { + let score = Math.round(100 * queryLower.length / entry.length) + results.push([ + docNames[file], + titles[file], + id ? "#" + id : "", + null, + score, + filenames[file], + ]); + } + } + } + + // lookup as object + objectTerms.forEach((term) => + results.push(...Search.performObjectSearch(term, objectTerms)) + ); + + // lookup as search terms in fulltext + results.push(...Search.performTermsSearch(searchTerms, excludedTerms)); + + // let the scorer override scores with a custom scoring function + if (Scorer.score) results.forEach((item) => (item[4] = Scorer.score(item))); + + // now sort the results by score (in opposite order of appearance, since the + // display function below uses pop() to retrieve items) and then + // alphabetically + results.sort((a, b) => { + const leftScore = a[4]; + const rightScore = b[4]; + if (leftScore === rightScore) { + // same score: sort alphabetically + const leftTitle = a[1].toLowerCase(); + const rightTitle = b[1].toLowerCase(); + if (leftTitle === rightTitle) return 0; + return leftTitle > rightTitle ? -1 : 1; // inverted is intentional + } + return leftScore > rightScore ? 1 : -1; + }); + + // remove duplicate search results + // note the reversing of results, so that in the case of duplicates, the highest-scoring entry is kept + let seen = new Set(); + results = results.reverse().reduce((acc, result) => { + let resultStr = result.slice(0, 4).concat([result[5]]).map(v => String(v)).join(','); + if (!seen.has(resultStr)) { + acc.push(result); + seen.add(resultStr); + } + return acc; + }, []); + + results = results.reverse(); + + // for debugging + //Search.lastresults = results.slice(); // a copy + // console.info("search results:", Search.lastresults); + + // print the results + _displayNextItem(results, results.length, searchTerms, highlightTerms); + }, + + /** + * search for object names + */ + performObjectSearch: (object, objectTerms) => { + const filenames = Search._index.filenames; + const docNames = Search._index.docnames; + const objects = Search._index.objects; + const objNames = Search._index.objnames; + const titles = Search._index.titles; + + const results = []; + + const objectSearchCallback = (prefix, match) => { + const name = match[4] + const fullname = (prefix ? prefix + "." : "") + name; + const fullnameLower = fullname.toLowerCase(); + if (fullnameLower.indexOf(object) < 0) return; + + let score = 0; + const parts = fullnameLower.split("."); + + // check for different match types: exact matches of full name or + // "last name" (i.e. last dotted part) + if (fullnameLower === object || parts.slice(-1)[0] === object) + score += Scorer.objNameMatch; + else if (parts.slice(-1)[0].indexOf(object) > -1) + score += Scorer.objPartialMatch; // matches in last name + + const objName = objNames[match[1]][2]; + const title = titles[match[0]]; + + // If more than one term searched for, we require other words to be + // found in the name/title/description + const otherTerms = new Set(objectTerms); + otherTerms.delete(object); + if (otherTerms.size > 0) { + const haystack = `${prefix} ${name} ${objName} ${title}`.toLowerCase(); + if ( + [...otherTerms].some((otherTerm) => haystack.indexOf(otherTerm) < 0) + ) + return; + } + + let anchor = match[3]; + if (anchor === "") anchor = fullname; + else if (anchor === "-") anchor = objNames[match[1]][1] + "-" + fullname; + + const descr = objName + _(", in ") + title; + + // add custom score for some objects according to scorer + if (Scorer.objPrio.hasOwnProperty(match[2])) + score += Scorer.objPrio[match[2]]; + else score += Scorer.objPrioDefault; + + results.push([ + docNames[match[0]], + fullname, + "#" + anchor, + descr, + score, + filenames[match[0]], + ]); + }; + Object.keys(objects).forEach((prefix) => + objects[prefix].forEach((array) => + objectSearchCallback(prefix, array) + ) + ); + return results; + }, + + /** + * search for full-text terms in the index + */ + performTermsSearch: (searchTerms, excludedTerms) => { + // prepare search + const terms = Search._index.terms; + const titleTerms = Search._index.titleterms; + const filenames = Search._index.filenames; + const docNames = Search._index.docnames; + const titles = Search._index.titles; + + const scoreMap = new Map(); + const fileMap = new Map(); + + // perform the search on the required terms + searchTerms.forEach((word) => { + const files = []; + const arr = [ + { files: terms[word], score: Scorer.term }, + { files: titleTerms[word], score: Scorer.title }, + ]; + // add support for partial matches + if (word.length > 2) { + const escapedWord = _escapeRegExp(word); + Object.keys(terms).forEach((term) => { + if (term.match(escapedWord) && !terms[word]) + arr.push({ files: terms[term], score: Scorer.partialTerm }); + }); + Object.keys(titleTerms).forEach((term) => { + if (term.match(escapedWord) && !titleTerms[word]) + arr.push({ files: titleTerms[word], score: Scorer.partialTitle }); + }); + } + + // no match but word was a required one + if (arr.every((record) => record.files === undefined)) return; + + // found search word in contents + arr.forEach((record) => { + if (record.files === undefined) return; + + let recordFiles = record.files; + if (recordFiles.length === undefined) recordFiles = [recordFiles]; + files.push(...recordFiles); + + // set score for the word in each file + recordFiles.forEach((file) => { + if (!scoreMap.has(file)) scoreMap.set(file, {}); + scoreMap.get(file)[word] = record.score; + }); + }); + + // create the mapping + files.forEach((file) => { + if (fileMap.has(file) && fileMap.get(file).indexOf(word) === -1) + fileMap.get(file).push(word); + else fileMap.set(file, [word]); + }); + }); + + // now check if the files don't contain excluded terms + const results = []; + for (const [file, wordList] of fileMap) { + // check if all requirements are matched + + // as search terms with length < 3 are discarded + const filteredTermCount = [...searchTerms].filter( + (term) => term.length > 2 + ).length; + if ( + wordList.length !== searchTerms.size && + wordList.length !== filteredTermCount + ) + continue; + + // ensure that none of the excluded terms is in the search result + if ( + [...excludedTerms].some( + (term) => + terms[term] === file || + titleTerms[term] === file || + (terms[term] || []).includes(file) || + (titleTerms[term] || []).includes(file) + ) + ) + break; + + // select one (max) score for the file. + const score = Math.max(...wordList.map((w) => scoreMap.get(file)[w])); + // add result to the result list + results.push([ + docNames[file], + titles[file], + "", + null, + score, + filenames[file], + ]); + } + return results; + }, + + /** + * helper function to return a node containing the + * search summary for a given text. keywords is a list + * of stemmed words. + */ + makeSearchSummary: (htmlText, keywords) => { + const text = Search.htmlToText(htmlText); + if (text === "") return null; + + const textLower = text.toLowerCase(); + const actualStartPosition = [...keywords] + .map((k) => textLower.indexOf(k.toLowerCase())) + .filter((i) => i > -1) + .slice(-1)[0]; + const startWithContext = Math.max(actualStartPosition - 120, 0); + + const top = startWithContext === 0 ? "" : "..."; + const tail = startWithContext + 240 < text.length ? "..." : ""; + + let summary = document.createElement("p"); + summary.classList.add("context"); + summary.textContent = top + text.substr(startWithContext, 240).trim() + tail; + + return summary; + }, +}; + +_ready(Search.init); diff --git a/docs/_builddir/_static/skeleton.css b/docs/_builddir/_static/skeleton.css new file mode 100644 index 000000000..467c878c6 --- /dev/null +++ b/docs/_builddir/_static/skeleton.css @@ -0,0 +1,296 @@ +/* Some sane resets. */ +html { + height: 100%; +} + +body { + margin: 0; + min-height: 100%; +} + +/* All the flexbox magic! */ +body, +.sb-announcement, +.sb-content, +.sb-main, +.sb-container, +.sb-container__inner, +.sb-article-container, +.sb-footer-content, +.sb-header, +.sb-header-secondary, +.sb-footer { + display: flex; +} + +/* These order things vertically */ +body, +.sb-main, +.sb-article-container { + flex-direction: column; +} + +/* Put elements in the center */ +.sb-header, +.sb-header-secondary, +.sb-container, +.sb-content, +.sb-footer, +.sb-footer-content { + justify-content: center; +} +/* Put elements at the ends */ +.sb-article-container { + justify-content: space-between; +} + +/* These elements grow. */ +.sb-main, +.sb-content, +.sb-container, +article { + flex-grow: 1; +} + +/* Because padding making this wider is not fun */ +article { + box-sizing: border-box; +} + +/* The announcements element should never be wider than the page. */ +.sb-announcement { + max-width: 100%; +} + +.sb-sidebar-primary, +.sb-sidebar-secondary { + flex-shrink: 0; + width: 17rem; +} + +.sb-announcement__inner { + justify-content: center; + + box-sizing: border-box; + height: 3rem; + + overflow-x: auto; + white-space: nowrap; +} + +/* Sidebars, with checkbox-based toggle */ +.sb-sidebar-primary, +.sb-sidebar-secondary { + position: fixed; + height: 100%; + top: 0; +} + +.sb-sidebar-primary { + left: -17rem; + transition: left 250ms ease-in-out; +} +.sb-sidebar-secondary { + right: -17rem; + transition: right 250ms ease-in-out; +} + +.sb-sidebar-toggle { + display: none; +} +.sb-sidebar-overlay { + position: fixed; + top: 0; + width: 0; + height: 0; + + transition: width 0ms ease 250ms, height 0ms ease 250ms, opacity 250ms ease; + + opacity: 0; + background-color: rgba(0, 0, 0, 0.54); +} + +#sb-sidebar-toggle--primary:checked + ~ .sb-sidebar-overlay[for="sb-sidebar-toggle--primary"], +#sb-sidebar-toggle--secondary:checked + ~ .sb-sidebar-overlay[for="sb-sidebar-toggle--secondary"] { + width: 100%; + height: 100%; + opacity: 1; + transition: width 0ms ease, height 0ms ease, opacity 250ms ease; +} + +#sb-sidebar-toggle--primary:checked ~ .sb-container .sb-sidebar-primary { + left: 0; +} +#sb-sidebar-toggle--secondary:checked ~ .sb-container .sb-sidebar-secondary { + right: 0; +} + +/* Full-width mode */ +.drop-secondary-sidebar-for-full-width-content + .hide-when-secondary-sidebar-shown { + display: none !important; +} +.drop-secondary-sidebar-for-full-width-content .sb-sidebar-secondary { + display: none !important; +} + +/* Mobile views */ +.sb-page-width { + width: 100%; +} + +.sb-article-container, +.sb-footer-content__inner, +.drop-secondary-sidebar-for-full-width-content .sb-article, +.drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 100vw; +} + +.sb-article, +.match-content-width { + padding: 0 1rem; + box-sizing: border-box; +} + +@media (min-width: 32rem) { + .sb-article, + .match-content-width { + padding: 0 2rem; + } +} + +/* Tablet views */ +@media (min-width: 42rem) { + .sb-article-container { + width: auto; + } + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 42rem; + } + .sb-article, + .match-content-width { + width: 42rem; + } +} +@media (min-width: 46rem) { + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 46rem; + } + .sb-article, + .match-content-width { + width: 46rem; + } +} +@media (min-width: 50rem) { + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 50rem; + } + .sb-article, + .match-content-width { + width: 50rem; + } +} + +/* Tablet views */ +@media (min-width: 59rem) { + .sb-sidebar-secondary { + position: static; + } + .hide-when-secondary-sidebar-shown { + display: none !important; + } + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 59rem; + } + .sb-article, + .match-content-width { + width: 42rem; + } +} +@media (min-width: 63rem) { + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 63rem; + } + .sb-article, + .match-content-width { + width: 46rem; + } +} +@media (min-width: 67rem) { + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 67rem; + } + .sb-article, + .match-content-width { + width: 50rem; + } +} + +/* Desktop views */ +@media (min-width: 76rem) { + .sb-sidebar-primary { + position: static; + } + .hide-when-primary-sidebar-shown { + display: none !important; + } + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 59rem; + } + .sb-article, + .match-content-width { + width: 42rem; + } +} + +/* Full desktop views */ +@media (min-width: 80rem) { + .sb-article, + .match-content-width { + width: 46rem; + } + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 63rem; + } +} + +@media (min-width: 84rem) { + .sb-article, + .match-content-width { + width: 50rem; + } + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 67rem; + } +} + +@media (min-width: 88rem) { + .sb-footer-content__inner, + .drop-secondary-sidebar-for-full-width-content .sb-article, + .drop-secondary-sidebar-for-full-width-content .match-content-width { + width: 67rem; + } + .sb-page-width { + width: 88rem; + } +} diff --git a/docs/_builddir/_static/sphinx_highlight.js b/docs/_builddir/_static/sphinx_highlight.js new file mode 100644 index 000000000..8a96c69a1 --- /dev/null +++ b/docs/_builddir/_static/sphinx_highlight.js @@ -0,0 +1,154 @@ +/* Highlighting utilities for Sphinx HTML documentation. */ +"use strict"; + +const SPHINX_HIGHLIGHT_ENABLED = true + +/** + * highlight a given string on a node by wrapping it in + * span elements with the given class name. + */ +const _highlight = (node, addItems, text, className) => { + if (node.nodeType === Node.TEXT_NODE) { + const val = node.nodeValue; + const parent = node.parentNode; + const pos = val.toLowerCase().indexOf(text); + if ( + pos >= 0 && + !parent.classList.contains(className) && + !parent.classList.contains("nohighlight") + ) { + let span; + + const closestNode = parent.closest("body, svg, foreignObject"); + const isInSVG = closestNode && closestNode.matches("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.classList.add(className); + } + + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + const rest = document.createTextNode(val.substr(pos + text.length)); + parent.insertBefore( + span, + parent.insertBefore( + rest, + node.nextSibling + ) + ); + node.nodeValue = val.substr(0, pos); + /* There may be more occurrences of search term in this node. So call this + * function recursively on the remaining fragment. + */ + _highlight(rest, addItems, text, className); + + if (isInSVG) { + const rect = document.createElementNS( + "http://www.w3.org/2000/svg", + "rect" + ); + const bbox = parent.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute("class", className); + addItems.push({ parent: parent, target: rect }); + } + } + } else if (node.matches && !node.matches("button, select, textarea")) { + node.childNodes.forEach((el) => _highlight(el, addItems, text, className)); + } +}; +const _highlightText = (thisNode, text, className) => { + let addItems = []; + _highlight(thisNode, addItems, text, className); + addItems.forEach((obj) => + obj.parent.insertAdjacentElement("beforebegin", obj.target) + ); +}; + +/** + * Small JavaScript module for the documentation. + */ +const SphinxHighlight = { + + /** + * highlight the search words provided in localstorage in the text + */ + highlightSearchWords: () => { + if (!SPHINX_HIGHLIGHT_ENABLED) return; // bail if no highlight + + // get and clear terms from localstorage + const url = new URL(window.location); + const highlight = + localStorage.getItem("sphinx_highlight_terms") + || url.searchParams.get("highlight") + || ""; + localStorage.removeItem("sphinx_highlight_terms") + url.searchParams.delete("highlight"); + window.history.replaceState({}, "", url); + + // get individual terms from highlight string + const terms = highlight.toLowerCase().split(/\s+/).filter(x => x); + if (terms.length === 0) return; // nothing to do + + // There should never be more than one element matching "div.body" + const divBody = document.querySelectorAll("div.body"); + const body = divBody.length ? divBody[0] : document.querySelector("body"); + window.setTimeout(() => { + terms.forEach((term) => _highlightText(body, term, "highlighted")); + }, 10); + + const searchBox = document.getElementById("searchbox"); + if (searchBox === null) return; + searchBox.appendChild( + document + .createRange() + .createContextualFragment( + '" + ) + ); + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords: () => { + document + .querySelectorAll("#searchbox .highlight-link") + .forEach((el) => el.remove()); + document + .querySelectorAll("span.highlighted") + .forEach((el) => el.classList.remove("highlighted")); + localStorage.removeItem("sphinx_highlight_terms") + }, + + initEscapeListener: () => { + // only install a listener if it is really needed + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) return; + + document.addEventListener("keydown", (event) => { + // bail for input elements + if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return; + // bail with special keys + if (event.shiftKey || event.altKey || event.ctrlKey || event.metaKey) return; + if (DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS && (event.key === "Escape")) { + SphinxHighlight.hideSearchWords(); + event.preventDefault(); + } + }); + }, +}; + +_ready(() => { + /* Do not call highlightSearchWords() when we are on the search page. + * It will highlight words from the *previous* search query. + */ + if (typeof Search === "undefined") SphinxHighlight.highlightSearchWords(); + SphinxHighlight.initEscapeListener(); +}); diff --git a/docs/_builddir/_static/styles/furo-extensions.css b/docs/_builddir/_static/styles/furo-extensions.css new file mode 100644 index 000000000..845eef7e0 --- /dev/null +++ b/docs/_builddir/_static/styles/furo-extensions.css @@ -0,0 +1,926 @@ +/*!********************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/furo/assets/styles/furo-extensions.sass ***! + \********************************************************************************************************************************************************************************************************************************************************************/ +#furo-sidebar-ad-placement { + padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal); +} +#furo-sidebar-ad-placement .ethical-sidebar { + border: none; + box-shadow: none; + background: var(--color-background-secondary); +} +#furo-sidebar-ad-placement .ethical-sidebar:hover { + background: var(--color-background-hover); +} +#furo-sidebar-ad-placement .ethical-sidebar a { + color: var(--color-foreground-primary); +} +#furo-sidebar-ad-placement .ethical-callout a { + color: var(--color-foreground-secondary) !important; +} + +#furo-readthedocs-versions { + position: static; + width: 100%; + background: transparent; + display: block; +} +#furo-readthedocs-versions .rst-versions { + background: rgb(26, 28, 30); +} +#furo-readthedocs-versions .rst-current-version { + cursor: unset; + background: var(--color-sidebar-item-background); +} +#furo-readthedocs-versions .rst-current-version:hover { + background: var(--color-sidebar-item-background); +} +#furo-readthedocs-versions .rst-current-version .fa-book { + color: var(--color-foreground-primary); +} +#furo-readthedocs-versions > .rst-other-versions { + padding: 0; +} +#furo-readthedocs-versions > .rst-other-versions small { + opacity: 1; +} +#furo-readthedocs-versions .injected .rst-versions { + position: unset; +} +#furo-readthedocs-versions:hover, #furo-readthedocs-versions:focus-within { + box-shadow: 0 0 0 1px var(--color-sidebar-background-border); +} +#furo-readthedocs-versions:hover .rst-current-version, #furo-readthedocs-versions:focus-within .rst-current-version { + font-size: inherit; + line-height: inherit; + height: auto; + text-align: right; + padding: 12px; + background: #1a1c1e; +} +#furo-readthedocs-versions:hover .rst-current-version .fa-book, #furo-readthedocs-versions:focus-within .rst-current-version .fa-book { + float: left; + color: white; +} +#furo-readthedocs-versions:hover .fa-caret-down, #furo-readthedocs-versions:focus-within .fa-caret-down { + display: none; +} +#furo-readthedocs-versions:hover .rst-current-version, +#furo-readthedocs-versions:hover .rst-other-versions, +#furo-readthedocs-versions:hover .injected, #furo-readthedocs-versions:focus-within .rst-current-version, +#furo-readthedocs-versions:focus-within .rst-other-versions, +#furo-readthedocs-versions:focus-within .injected { + display: block; +} +#furo-readthedocs-versions:hover > .rst-current-version, #furo-readthedocs-versions:focus-within > .rst-current-version { + display: none; +} + +.highlight:hover button.copybtn { + color: var(--color-code-foreground); +} +.highlight button.copybtn { + opacity: 1; + align-items: center; + height: 1.25em; + width: 1.25em; + top: 0.625rem; + right: 0.5rem; + color: var(--color-background-item); + background-color: var(--color-code-background); + border: none; + cursor: pointer; + transition: color 300ms, opacity 300ms; +} +.highlight button.copybtn:hover { + color: var(--color-brand-content); + background-color: var(--color-code-background); +} +.highlight button.copybtn::after { + display: none; + color: var(--color-code-foreground); + background-color: transparent; +} +.highlight button.copybtn.success { + transition: color 0ms; + color: #22863a; +} +.highlight button.copybtn.success::after { + display: block; +} +.highlight button.copybtn svg { + padding: 0; +} + +body { + --sd-color-primary: var(--color-brand-primary); + --sd-color-primary-highlight: var(--color-brand-content); + --sd-color-primary-text: var(--color-background-primary); + --sd-color-shadow: rgba(0, 0, 0, 0.05); + --sd-color-card-border: var(--color-card-border); + --sd-color-card-border-hover: var(--color-brand-content); + --sd-color-card-background: var(--color-card-background); + --sd-color-card-text: var(--color-foreground-primary); + --sd-color-card-header: var(--color-card-marginals-background); + --sd-color-card-footer: var(--color-card-marginals-background); + --sd-color-tabs-label-active: var(--color-brand-content); + --sd-color-tabs-label-hover: var(--color-foreground-muted); + --sd-color-tabs-label-inactive: var(--color-foreground-muted); + --sd-color-tabs-underline-active: var(--color-brand-content); + --sd-color-tabs-underline-hover: var(--color-foreground-border); + --sd-color-tabs-underline-inactive: var(--color-background-border); + --sd-color-tabs-overline: var(--color-background-border); + --sd-color-tabs-underline: var(--color-background-border); +} + +.sd-tab-content { + box-shadow: 0 -2px var(--sd-color-tabs-overline), 0 1px var(--sd-color-tabs-underline); +} + +.sd-card { + box-shadow: 0 0.1rem 0.25rem var(--sd-color-shadow), 0 0 0.0625rem rgba(0, 0, 0, 0.1); +} + +.sd-shadow-sm { + box-shadow: 0 0.1rem 0.25rem var(--sd-color-shadow), 0 0 0.0625rem rgba(0, 0, 0, 0.1) !important; +} + +.sd-shadow-md { + box-shadow: 0 0.3rem 0.75rem var(--sd-color-shadow), 0 0 0.0625rem rgba(0, 0, 0, 0.1) !important; +} + +.sd-shadow-lg { + box-shadow: 0 0.6rem 1.5rem var(--sd-color-shadow), 0 0 0.0625rem rgba(0, 0, 0, 0.1) !important; +} + +.sd-card-hover:hover { + transform: none; +} + +.sd-cards-carousel { + gap: 0.25rem; + padding: 0.25rem; +} + +body { + --tabs--label-text: var(--color-foreground-muted); + --tabs--label-text--hover: var(--color-foreground-muted); + --tabs--label-text--active: var(--color-brand-content); + --tabs--label-text--active--hover: var(--color-brand-content); + --tabs--label-background: transparent; + --tabs--label-background--hover: transparent; + --tabs--label-background--active: transparent; + --tabs--label-background--active--hover: transparent; + --tabs--padding-x: 0.25em; + --tabs--margin-x: 1em; + --tabs--border: var(--color-background-border); + --tabs--label-border: transparent; + --tabs--label-border--hover: var(--color-foreground-muted); + --tabs--label-border--active: var(--color-brand-content); + --tabs--label-border--active--hover: var(--color-brand-content); +} + +[role=main] .container { + max-width: initial; + padding-left: initial; + padding-right: initial; +} + +.shadow.docutils { + border: none; + box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05), 0 0 0.0625rem rgba(0, 0, 0, 0.1) !important; +} + +.sphinx-bs .card { + background-color: var(--color-background-secondary); + color: var(--color-foreground); +} + +h1 { + font-size: 2.2rem; +} + +h2 { + font-size: 1.7rem; +} + +h3 { + font-size: 1.4rem; +} + +html:has(.farama-header-menu.active) { + visibility: hidden; +} + +.farama-hidden[aria-hidden=true] { + visibility: hidden; +} + +.farama-hidden[aria-hidden=false] { + visibility: visible; +} + +.cookie-alert { + position: fixed; + display: flex; + width: 100%; + min-height: 70px; + background-color: var(--color-background-secondary); + color: var(--color-foreground-primary); + border-top: 1px solid var(--color-background-border); + bottom: 0; + left: 0; + z-index: 99999; +} + +.cookie-alert__container { + display: flex; + align-items: center; + width: 700px; + max-width: calc(100% - 28px); + margin: auto; +} + +.cookie-alert__button { + margin-left: 14px; +} + +.cookie-alert p { + flex: 1; +} + +.farama-btn { + background: var(--color-farama-button-background); + padding: 10px 26px; + border-radius: 6px; + border: none; + transition: background-color 0.2s ease; + cursor: pointer; +} +.farama-btn:hover { + background: var(--color-farama-button-background-hover); +} + +article[role=main]:has(.farama-env-icon-container) .farama-env-icon-container { + position: absolute; + display: flex; + margin-top: 7px; +} +article[role=main]:has(.farama-env-icon-container) .section h1:first-child, article[role=main]:has(.farama-env-icon-container) .section h2:first-child, article[role=main]:has(.farama-env-icon-container) section h1:first-child, article[role=main]:has(.farama-env-icon-container) section h2:first-child { + margin-left: 34px; +} + +.farama-env-icon { + height: 32px; +} + +.env-grid { + display: flex; + flex-wrap: wrap; + justify-content: center; + width: 100%; + box-sizing: border-box; +} + +.env-grid__cell { + display: flex; + flex-direction: column; + width: 180px; + height: 180px; + padding: 10px; +} + +.cell__image-container { + display: flex; + height: 148px; + justify-content: center; +} + +.cell__image-container img { + max-height: 100%; + -o-object-fit: contain; + object-fit: contain; +} + +.cell__title { + display: flex; + justify-content: center; + text-align: center; + align-items: flex-end; + height: 32px; + line-height: 16px; +} + +.more-btn { + width: 240px; + margin: 12px auto; + display: block; +} + +html:has(.farama-header-menu.active) { + overflow: hidden; +} + +body { + --farama-header-height: 52px; + --farama-header-logo-margin: 10px; + --farama-sidebar-logo-margin: 2px 10px; +} + +.farama-header { + position: absolute; + display: flex; + width: 100%; + height: var(--farama-header-height); + border-bottom: 1px solid var(--color-header-border); + background-color: var(--color-background-secondary); + padding: 0 36px 0 24px; + box-sizing: border-box; + z-index: 95; +} +.farama-header .farama-header__container { + width: 100%; + max-width: 1400px; + display: flex; + margin: 0 auto; + justify-content: space-between; +} +.farama-header a { + color: var(--color-foreground-primary); + text-decoration: none; + transition: color 0.125s ease; +} +.farama-header a:hover { + color: var(--color-foreground-secondary); +} +.farama-header .farama-header__logo { + max-height: calc(var(--farama-header-height) - var(--farama-header-logo-margin)); + margin: var(--farama-header-logo-margin); +} +.farama-header .farama-header__title { + font-size: var(--font-size--normal); + font-weight: normal; + margin: 0 0 2px 0; + padding: 0 0 0 4px; + align-self: center; +} +.farama-header .farama-header__left { + display: flex; +} +.farama-header .farama-header__left a { + display: flex; +} +.farama-header .farama-header__left--mobile { + display: none; +} +.farama-header .farama-header__left--mobile .nav-overlay-icon svg { + width: 20px; + stroke: var(--color-foreground-primary); + fill: var(--color-foreground-primary); + stroke-width: 2px; + padding: 0 6px; +} +.farama-header .farama-header__right { + display: flex; + align-items: center; + z-index: 2; +} +.farama-header .farama-header__right .farama-header__nav { + display: flex; + list-style: none; + height: 100%; +} +.farama-header .farama-header__right .farama-header__nav li { + text-decoration: none; + margin-left: 20px; + display: flex; + align-items: center; + cursor: pointer; +} +.farama-header .farama-header__right .farama-header__nav li a { + height: 100%; + display: flex; + align-items: center; +} +.farama-header .farama-header__right .farama-header__nav li .farama-header__dropdown-container { + position: relative; + display: flex; + align-items: center; + height: 100%; +} +.farama-header .farama-header__right .farama-header__nav li .farama-header__dropdown-container:hover .farama-header__dropdown-menu { + display: block; +} +.farama-header .farama-header__right .farama-header__nav li .farama-header__dropdown-container svg { + width: 32px; + fill: var(--color-foreground-primary); +} +.farama-header .farama-header__right .farama-header__nav li .farama-header__dropdown-container .farama-header__dropdown-menu { + position: absolute; + top: var(--farama-header-height); + right: 0; + border: 1px solid var(--color-background-border); + background: var(--color-background-hover); + z-index: 9999; + display: none; +} +.farama-header .farama-header__right .farama-header__nav li .farama-header__dropdown-container .farama-header__dropdown-menu ul { + display: inherit; + margin: 0; + padding: 6px 14px; +} +.farama-header .farama-header__right .farama-header__nav li .farama-header__dropdown-container .farama-header__dropdown-menu li { + margin: 0; + padding: 6px 0; +} +.farama-header .farama-header__right .farama-header-menu { + position: relative; + display: flex; + justify-content: center; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu__btn { + display: flex; + background: none; + border: none; + cursor: pointer; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu__btn img { + width: 26px; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu__btn svg { + width: 14px; + stroke: var(--color-foreground-primary); + stroke-width: 2px; + align-self: center; +} +.farama-header .farama-header__right .farama-header-menu.active .farama-header-menu-container { + transform: translateY(100vh); +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container { + position: fixed; + z-index: 99; + right: 0; + top: -100vh; + width: 100%; + height: calc(100vh - (100vh - 100%)); + transform: translateY(0); + box-sizing: border-box; + transition: transform 0.2s ease-in; + background-color: var(--color-background-secondary); + border-left: 1px solid var(--color-background-border); + overflow: auto; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header { + position: relative; + width: 100%; + max-width: 1400px; + box-sizing: border-box; + margin: 0 auto; + padding: 7px 52px; + border-bottom: 1px solid var(--color-background-border); + display: flex; + align-items: center; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header a { + display: flex; + align-items: center; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header a .farama-header-menu__logo { + width: 36px; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header a span { + color: var(--color-sidebar-brand-text); + padding-left: 8px; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header .farama-header-menu-header__right { + position: absolute; + right: 0; + padding-right: inherit; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header .farama-header-menu-header__right button { + display: flex; + background: none; + border: none; + cursor: pointer; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header .farama-header-menu-header__right button svg { + width: 20px; + color: var(--color-foreground-primary); +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body { + display: flex; + width: 100%; + max-width: 1500px; + padding: 22px 52px; + box-sizing: border-box; + margin: 0 auto; + flex-wrap: wrap; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section { + min-width: 220px; + margin-bottom: 24px; + padding-left: 18px; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu__section-title { + display: block; + font-size: var(--font-size--small); + font-weight: 600; + text-transform: uppercase; + padding: 0 12px 12px; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu__subsections-container .farama-header-menu__subsection { + min-width: 210px; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu__subsections-container .farama-header-menu__subsection:not(:last-child) { + margin-right: 12px; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu__subsections-container .farama-header-menu__subsection .farama-header-menu__subsection-title { + display: block; + font-size: var(--font-size--small--3); + color: var(--color-foreground-secondary); + font-weight: 700; + text-transform: uppercase; + padding: 20px 12px 10px; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu-list { + display: inherit; + margin: 0; + padding: 0; + list-style: none; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu-list li { + border-radius: var(--sidebar-item-border-radius); +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu-list li:hover { + background-color: var(--color-farama-header-background-hover); +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu-list li a { + display: flex; + padding: 12px 14px; + align-items: center; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu-list li a:hover { + color: inherit; +} +.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu-list li a img { + width: 26px; + margin-right: 10px; +} + +.farama-sidebar__title { + display: flex; + align-items: center; + padding-right: 4px; + min-height: calc(52px - var(--sidebar-search-space-above)); + margin-top: 0.6rem; + margin-left: var(--sidebar-search-space-lateral); + text-decoration: none; +} +.farama-sidebar__title img { + height: calc(var(--farama-header-height) - 20px); + margin: var(--farama-sidebar-logo-margin); +} +.farama-sidebar__title span { + color: var(--color-foreground-primary); +} +.farama-sidebar__title span:hover { + text-decoration: none; +} + +.sidebar-brand { + flex-direction: row; + padding: var(--sidebar-item-spacing-vertical); + align-items: center; +} +.sidebar-brand .sidebar-logo-container { + display: flex; + max-width: 55px; + height: auto; +} +.sidebar-brand .sidebar-brand-text { + font-size: 1.3rem; + padding-left: 11px; +} + +.farama-sidebar-donate { + width: 76%; + padding: 8px 16px 20px; + margin: 0 auto; +} +.farama-sidebar-donate .farama-donate-btn { + width: 100%; + padding: 8px 12px; + color: #fff; + background: linear-gradient(to right top, #765e3e, #054f5b); + background-blend-mode: color; + background-color: transparent; + transition: background-color 0.2s ease; + border: none; + border-radius: 6px; + cursor: pointer; +} +.farama-sidebar-donate .farama-donate-btn:hover { + background-color: rgba(255, 255, 255, 0.15); +} + +.farama-donate-banner { + display: none; + padding: 16px 3em; + width: 100%; + box-sizing: border-box; + background-color: var(--color-highlighted-background); +} +.farama-donate-banner.active { + display: flex; +} +.farama-donate-banner .farama-donate-banner__text { + flex: 1; + display: flex; + justify-content: center; + align-items: center; + font-size: 1.1em; +} +.farama-donate-banner .farama-donate-banner__btns { + display: flex; + align-items: center; +} +.farama-donate-banner .farama-donate-banner__btns a { + text-decoration: none; +} +.farama-donate-banner .farama-donate-banner__btns button { + margin-left: 22px; + height: 36px; + position: relative; + border: none; + border-radius: 6px; + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; +} +.farama-donate-banner .farama-donate-banner__btns .farama-donate-banner__go { + color: #fff; + background: linear-gradient(to right top, #765e3e, #054f5b); + background-blend-mode: color; + background-color: transparent; + transition: background-color 0.2s ease; + padding: 0 26px; +} +.farama-donate-banner .farama-donate-banner__btns .farama-donate-banner__go:hover { + background-color: rgba(255, 255, 255, 0.1); +} +.farama-donate-banner .farama-donate-banner__btns .farama-donate-banner__cancel { + transition: background-color 0.2s ease; +} +.farama-donate-banner .farama-donate-banner__btns .farama-donate-banner__cancel svg { + height: 26px; +} + +@media (prefers-color-scheme: dark) { + body:not([data-theme=light]) .farama-donate-banner__cancel { + background-color: rgba(0, 0, 0, 0.1); + } + body:not([data-theme=light]) .farama-donate-banner__cancel:hover { + background: rgba(0, 0, 0, 0.2); + } + body:not([data-theme=light]) .farama-donate-banner__cancel svg { + stroke: #fff; + } + body[data-theme=light] .farama-donate-banner__cancel { + background-color: rgba(25, 25, 25, 0.1); + } + body[data-theme=light] .farama-donate-banner__cancel:hover { + background: rgba(255, 255, 255, 0.2); + } + body[data-theme=light] .farama-donate-banner__cancel svg { + stroke: #666; + } +} +@media (prefers-color-scheme: light) { + body:not([data-theme=dark]) .farama-donate-banner__cancel { + background-color: rgba(25, 25, 25, 0.1); + } + body:not([data-theme=dark]) .farama-donate-banner__cancel:hover { + background: rgba(255, 255, 255, 0.2); + } + body:not([data-theme=dark]) .farama-donate-banner__cancel svg { + stroke: #666; + } + body[data-theme=dark] .farama-donate-banner__cancel { + background-color: rgba(0, 0, 0, 0.1); + } + body[data-theme=dark] .farama-donate-banner__cancel:hover { + background: rgba(0, 0, 0, 0.2); + } + body[data-theme=dark] .farama-donate-banner__cancel svg { + stroke: #fff; + } +} +.farama-project-logo { + margin: 1.5rem 0 0.8rem !important; +} + +.farama-project-heading { + text-align: center; + padding: 0 0 1.6rem 0; + margin: 0; +} + +.farama-project-logo img { + width: 65%; +} + +.mobile-header .header-center { + transition: opacity 0.2s easy-in; + opacity: 0; +} + +.mobile-header.scrolled .header-center { + opacity: 1; +} + +.sphx-glr-script-out { + color: var(--color-foreground-secondary); + display: flex; + gap: 0.5em; +} + +.sphx-glr-script-out::before { + content: "Out:"; + line-height: 1.4; + padding-top: 10px; +} + +.sphx-glr-script-out .highlight { + overflow-x: auto; +} + +.sphx-glr-thumbcontainer { + z-index: 1; +} + +div.sphx-glr-download a { + width: 340px; + max-width: 100%; + box-sizing: border-box; + background: #0f4a65; +} + +div.sphx-glr-download a:hover { + background: #0d3a4e; + box-shadow: none; +} + +@media (prefers-color-scheme: dark) { + body:not([data-theme=light]) div.sphx-glr-download a { + background: #0f4a65; + } + body:not([data-theme=light]) div.sphx-glr-download a:hover { + background: #0d3a4e; + } + body[data-theme=light] div.sphx-glr-download a { + background: #f9d4a1; + } + body[data-theme=light] div.sphx-glr-download a:hover { + background: #d9b481; + } +} +@media (prefers-color-scheme: light) { + body:not([data-theme=dark]) div.sphx-glr-download a { + background: #f9d4a1; + } + body:not([data-theme=dark]) div.sphx-glr-download a:hover { + background: #d9b481; + } + body[data-theme=dark] div.sphx-glr-download a { + background: #0f4a65; + } + body[data-theme=dark] div.sphx-glr-download a:hover { + background: #0d3a4e; + } +} +body[data-theme=light] div.sphx-glr-download a { + background: #f9d4a1; +} +body[data-theme=light] div.sphx-glr-download a:hover { + background: #d9b481; +} + +.sphx-glr-thumbcontainer img { + background-color: white; + border-radius: 4px; +} + +.tab-content > [class^=highlight-]:first-child .highlight { + background: var(--color-api-background); + border-radius: 6px; +} + +.tab-set > input + label { + font-weight: 600; +} + +.tab-set > input:checked + label, .tab-set > input:checked + label:hover { + color: var(--color-brand-secondary); + border-color: var(--color-brand-secondary); +} + +div.jupyter_container { + background: var(--color-api-background); + border: none; + box-shadow: none; +} +div.jupyter_container div.code_cell, div.jupyter_container div.highlight { + border: none; + border-radius: 0; +} +div.jupyter_container div.code_cell pre { + padding: 0.625rem 0.875rem; +} + +@media (prefers-color-scheme: dark) { + body:not([data-theme=light]) div.jupyter_container div.highlight { + background: #202020; + color: #d0d0d0; + } +} +body[data-theme=dark] div.jupyter_container div.highlight { + background: #202020; + color: #d0d0d0; +} + +@media (max-width: 950px) { + .farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header { + padding: 7px 42px; + } + .farama-header .farama-header-menu__btn-name { + display: none; + } +} +@media (max-width: 600px) { + .farama-header { + padding: 0 4px; + } + .farama-header .farama-header__title { + font-size: var(--font-size--small); + } + .farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header { + padding: 8px 12px; + } + .farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body { + padding: 18px 12px; + } + .farama-donate-banner { + flex-direction: column; + } + .farama-donate-banner .farama-donate-banner__btns { + margin-top: 1em; + justify-content: end; + } + .farama-donate-banner .farama-donate-banner__btns button { + margin-left: 12px; + height: 36px; + } + .farama-donate-banner .farama-donate-banner__btns .farama-donate-banner__go { + padding: 0 20px; + } + .farama-donate-banner .farama-donate-banner__btns .farama-donate-banner__cancel svg { + height: 26px; + } +} +@media (max-width: 480px) { + .farama-header .farama-header__title { + width: 110px; + } + .farama-header .farama-header-menu__btn-name { + text-align: right; + width: 100px; + } + .farama-project-heading { + text-align: left; + } + .farama-header-menu__subsections-container { + display: block !important; + } +} +@media (prefers-color-scheme: light) { + body:not([data-theme=dark]) .farama-white-logo-invert { + filter: invert(1); + } + body[data-theme=dark] .farama-black-logo-invert { + filter: invert(1); + } +} +@media (prefers-color-scheme: dark) { + body:not([data-theme=light]) img[src*="//render.githubusercontent.com/render/math"] { + filter: invert(90%); + } + body:not([data-theme=light]) .farama-black-logo-invert { + filter: invert(1); + } + body[data-theme=light] .farama-white-logo-invert { + filter: invert(1); + } +} + +/*# sourceMappingURL=furo-extensions.css.map*/ diff --git a/docs/_builddir/_static/styles/furo-extensions.css.map b/docs/_builddir/_static/styles/furo-extensions.css.map new file mode 100644 index 000000000..51626e7ce --- /dev/null +++ b/docs/_builddir/_static/styles/furo-extensions.css.map @@ -0,0 +1 @@ +{"version":3,"file":"styles/furo-extensions.css","mappings":";;;AAGA;EACE;ACFF;ADGE;EAEE;EACA;EAEA;ACHJ;ADII;EACE;ACFN;ADII;EACE;ACFN;ADIE;EACE;ACFJ;;ADIA;EACE;EACA;EACA;EACA;ACDF;ADIE;EACE;ACFJ;ADIE;EACE;EACA;ACFJ;ADGI;EACE;ACDN;ADEI;EACE;ACAN;ADEE;EACE;ACAJ;ADCI;EACE;ACCN;ADEI;EACE;ACAN;ADEE;EAEE;ACDJ;ADGI;EAEE;EACA;EACA;EACA;EACA;EAGA;ACJN;ADMM;EACE;EACA;ACJR;ADMI;EACE;ACJN;ADMI;;;;;EAGE;ACFN;ADII;EACE;ACFN;;ACxEE;EACE;AD2EJ;ACzEE;EAEE;EAGA;EAEA;EACA;EAEA;EACA;EAGA;EACA;EACA;EAGA;EAGA;ADgEJ;AC9DI;EACE;EACA;ADgEN;AC9DI;EACE;EACA;EACA;ADgEN;AC9DI;EACE;EACA;ADgEN;AC/DM;EACE;ADiER;AC/DI;EACE;ADiEN;;AE7GA;EAEE;EACA;EACA;EAGA;EAGA;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AFyGF;;AEtGA;EACE;AFyGF;;AEtGA;EACE;AFyGF;;AEvGA;EACE;AF0GF;;AExGA;EACE;AF2GF;;AEzGA;EACE;AF4GF;;AEzGA;EACE;AF4GF;;AE1GA;EACE;EACA;AF6GF;;AG7JA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AHgKF;;AI7KA;EACE;EACA;EACA;AJgLF;;AI7KA;EACE;EACA;AJgLF;;AI7KA;EACE;EACA;AJgLF;;AK7LA;EACI;ALgMJ;;AK/LA;EACI;ALkMJ;;AKjMA;EACI;ALoMJ;;AKjMA;EACI;ALoMJ;;AKlMA;EACI;ALqMJ;;AKnMA;EACI;ALsMJ;;AKlMA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ALqMJ;;AKnMA;EACI;EACA;EACA;EACA;EACA;ALsMJ;;AKpMA;EACI;ALuMJ;;AKrMA;EACI;ALwMJ;;AKpMA;EACI;EACA;EACA;EACA;EACA;EACA;ALuMJ;AKrMI;EACI;ALuMR;;AKlMI;EACI;EACA;EACA;ALqMR;AKnMI;EACI;ALqMR;;AKnMA;EACI;ALsMJ;;AKlMA;EACI;EACA;EACA;EACA;EACA;ALqMJ;;AKnMA;EACI;EACA;EACA;EACA;EACA;ALsMJ;;AKpMA;EACI;EACA;EACA;ALuMJ;;AKrMA;EACI;EACA;KAAA;ALwMJ;;AKtMA;EACI;EACA;EACA;EACA;EACA;EACA;ALyMJ;;AKvMA;EACI;EACA;EACA;AL0MJ;;AKtMA;EACI;ALyMJ;;AKvMA;EACI;EACA;EACA;AL0MJ;;AKxMA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AL2MJ;AKzMI;EACI;EACA;EACA;EACA;EACA;AL2MR;AKzMI;EACI;EACA;EACA;AL2MR;AKzMQ;EACI;AL2MZ;AKzMI;EACI;EACA;AL2MR;AKzMI;EACI;EACA;EACA;EACA;EACA;AL2MR;AKzMI;EACI;AL2MR;AKzMQ;EACI;AL2MZ;AKzMI;EACI;AL2MR;AKzMQ;EACI;EACA;EACA;EACA;EACA;AL2MZ;AKzMI;EACI;EACA;EACA;AL2MR;AKzMQ;EACI;EACA;EACA;AL2MZ;AKzMY;EACI;EACA;EACA;EACA;EACA;AL2MhB;AKzMgB;EACI;EACA;EACA;AL2MpB;AKzMgB;EACI;EACA;EACA;EACA;AL2MpB;AKxMwB;EACI;AL0M5B;AKxMoB;EACI;EACA;AL0MxB;AKxMoB;EACI;EACA;EACA;EACA;EACA;EACA;EACA;AL0MxB;AKxMwB;EACI;EACA;EACA;AL0M5B;AKxMwB;EACI;EACA;AL0M5B;AKxMQ;EACI;EACA;EACA;AL0MZ;AKxMY;EACI;EACA;EACA;EACA;AL0MhB;AKxMgB;EACI;AL0MpB;AKzMgB;EACI;EACA;EACA;EACA;AL2MpB;AKxMY;EACI;AL0MhB;AKxMY;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AL0MhB;AKxMgB;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AL0MpB;AKxMoB;EACI;EACA;AL0MxB;AKxMwB;EACI;AL0M5B;AKxMwB;EACI;EACA;AL0M5B;AKxMoB;EACI;EACA;EACA;AL0MxB;AKxMwB;EACI;EACA;EACA;EACA;AL0M5B;AKxM4B;EACI;EACA;AL0MhC;AKxMgB;EACI;EACA;EACA;EACA;EACA;EACA;EACA;AL0MpB;AKxMoB;EACI;EACA;EACA;AL0MxB;AKxMwB;EACI;EACA;EACA;EACA;EACA;AL0M5B;AKtM4B;EACI;ALwMhC;AKtMgC;EACI;ALwMpC;AKtMgC;EACI;EACA;EACA;EACA;EACA;EACA;ALwMpC;AKtMwB;EACI;EACA;EACA;EACA;ALwM5B;AKtM4B;EACI;ALwMhC;AKtMgC;EACI;ALwMpC;AKtMgC;EACI;EACA;EACA;ALwMpC;AKtMoC;EACI;ALwMxC;AKtMoC;EACI;EACA;ALwMxC;;AKtMA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;ALyMJ;AKvMI;EACI;EACA;ALyMR;AKxMI;EACI;AL0MR;AKzMQ;EACI;AL2MZ;;AKzMA;EACI;EACA;EACA;AL4MJ;AK1MI;EACI;EACA;EACA;AL4MR;AK1MI;EACI;EACA;AL4MR;;AK1MA;EACI;EACA;EACA;AL6MJ;AK3MI;EACI;EACA;EACA;EACA,2DAnZY;EAoZZ;EACA;EACA;EACA;EACA;EACA;AL6MR;AK3MQ;EACI;AL6MZ;;AK3MA;EACI;EACA;EACA;EACA;EACA;AL8MJ;AK5MI;EACI;AL8MR;AK5MI;EACI;EACA;EACA;EACA;EACA;AL8MR;AK5MI;EACI;EACA;AL8MR;AK5MQ;EACI;AL8MZ;AK5MQ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AL8MZ;AK5MQ;EACI;EACA,2DAncQ;EAocR;EACA;EACA;EACA;AL8MZ;AK5MY;EACI;AL8MhB;AK5MQ;EACI;AL8MZ;AK5MY;EACI;AL8MhB;;AK5MA;EAEQ;IACI;EL8MV;EK7MU;IACI;EL+Md;EK9MU;IACI;ELgNd;EK7MM;IACI;EL+MV;EK9MU;IACQ;ELgNlB;EK/MU;IACI;ELiNd;AACF;AKhNA;EAEQ;IACI;ELiNV;EKhNU;IACQ;ELkNlB;EKjNU;IACI;ELmNd;EKhNM;IACI;ELkNV;EKjNU;IACI;ELmNd;EKlNU;IACI;ELoNd;AACF;AKhNA;EACI;ALkNJ;;AKhNA;EACI;EACA;EACA;ALmNJ;;AKjNA;EACI;ALoNJ;;AKjNI;EACI;EACA;ALoNR;;AKjNI;EACI;ALoNR;;AKhNA;EACI;EACA;EACA;ALmNJ;;AKjNA;EACI;EACA;EACA;ALoNJ;;AKlNA;EACI;ALqNJ;;AKnNA;EACI;ALsNJ;;AKpNA;EACI;EACA;EACA;EACA;ALuNJ;;AKrNA;EACI;EACA;ALwNJ;;AKtNA;EAEQ;IACI;ELwNV;EKvNM;IACI;ELyNV;EKvNM;IACI;ELyNV;EKxNM;IACI;EL0NV;AACF;AKzNA;EAEQ;IACI;EL0NV;EKzNM;IACI;EL2NV;EKzNM;IACI;EL2NV;EK1NM;IACI;EL4NV;AACF;AK1NI;EACI;AL4NR;AK3NI;EACI;AL6NR;;AK3NA;EACI;EACA;AL8NJ;;AK1NA;EACI;EACA;AL6NJ;;AK3NA;EACI;AL8NJ;;AK5NA;EACI;EACA;AL+NJ;;AK3NA;EACI;EACA;EACA;AL8NJ;AK5NI;EACI;EACA;AL8NR;AK5NI;EACI;AL8NR;;AK5NA;EACI;IACI;IACA;EL+NN;AACF;AK7NI;EACI;EACA;AL+NR;;AK1NA;EACI;IACI;EL6NN;EK3NE;IACI;EL6NN;AACF;AK3NA;EACI;IACI;EL6NN;EK3NM;IACI;EL6NV;EK1NU;IACI;EL4Nd;EK3NU;IACI;EL6Nd;EK3NE;IACI;EL6NN;EK1NM;IACI;IACA;EL4NV;EK1NU;IACI;IACA;EL4Nd;EK1NU;IACI;EL4Nd;EKzNc;IACI;EL2NlB;AACF;AKzNA;EAEQ;IACI;EL0NV;EKxNM;IACI;IACA;EL0NV;EKxNE;IACI;EL0NN;EKxNE;IACI;EL0NN;AACF;AKxNA;EAEQ;IACI;ELyNV;EKtNM;IACI;ELwNV;AACF;AKtNA;EAGQ;IACI;ELsNV;EKpNM;IACI;ELsNV;EKnNM;IACI;ELqNV;AACF,C","sources":["webpack:///./src/furo/assets/styles/extensions/_readthedocs.sass","webpack:///./src/furo/assets/styles/furo-extensions.sass","webpack:///./src/furo/assets/styles/extensions/_copybutton.sass","webpack:///./src/furo/assets/styles/extensions/_sphinx-design.sass","webpack:///./src/furo/assets/styles/extensions/_sphinx-inline-tabs.sass","webpack:///./src/furo/assets/styles/extensions/_sphinx-panels.sass","webpack:///./src/furo/assets/styles/extensions/_farama.sass"],"sourcesContent":["// This file contains the styles used for tweaking how ReadTheDoc's embedded\n// contents would show up inside the theme.\n\n#furo-sidebar-ad-placement\n padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal)\n .ethical-sidebar\n // Remove the border and box-shadow.\n border: none\n box-shadow: none\n // Manage the background colors.\n background: var(--color-background-secondary)\n &:hover\n background: var(--color-background-hover)\n // Ensure the text is legible.\n a\n color: var(--color-foreground-primary)\n\n .ethical-callout a\n color: var(--color-foreground-secondary) !important\n\n#furo-readthedocs-versions\n position: static\n width: 100%\n background: transparent\n display: block\n\n // Make the background color fit with the theme's aesthetic.\n .rst-versions\n background: rgb(26, 28, 30)\n\n .rst-current-version\n cursor: unset\n background: var(--color-sidebar-item-background)\n &:hover\n background: var(--color-sidebar-item-background)\n .fa-book\n color: var(--color-foreground-primary)\n\n > .rst-other-versions\n padding: 0\n small\n opacity: 1\n\n .injected\n .rst-versions\n position: unset\n\n &:hover,\n &:focus-within\n box-shadow: 0 0 0 1px var(--color-sidebar-background-border)\n\n .rst-current-version\n // Undo the tweaks done in RTD's CSS\n font-size: inherit\n line-height: inherit\n height: auto\n text-align: right\n padding: 12px\n\n // Match the rest of the body\n background: #1a1c1e\n\n .fa-book\n float: left\n color: white\n\n .fa-caret-down\n display: none\n\n .rst-current-version,\n .rst-other-versions,\n .injected\n display: block\n\n > .rst-current-version\n display: none\n","#furo-sidebar-ad-placement {\n padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal);\n}\n#furo-sidebar-ad-placement .ethical-sidebar {\n border: none;\n box-shadow: none;\n background: var(--color-background-secondary);\n}\n#furo-sidebar-ad-placement .ethical-sidebar:hover {\n background: var(--color-background-hover);\n}\n#furo-sidebar-ad-placement .ethical-sidebar a {\n color: var(--color-foreground-primary);\n}\n#furo-sidebar-ad-placement .ethical-callout a {\n color: var(--color-foreground-secondary) !important;\n}\n\n#furo-readthedocs-versions {\n position: static;\n width: 100%;\n background: transparent;\n display: block;\n}\n#furo-readthedocs-versions .rst-versions {\n background: rgb(26, 28, 30);\n}\n#furo-readthedocs-versions .rst-current-version {\n cursor: unset;\n background: var(--color-sidebar-item-background);\n}\n#furo-readthedocs-versions .rst-current-version:hover {\n background: var(--color-sidebar-item-background);\n}\n#furo-readthedocs-versions .rst-current-version .fa-book {\n color: var(--color-foreground-primary);\n}\n#furo-readthedocs-versions > .rst-other-versions {\n padding: 0;\n}\n#furo-readthedocs-versions > .rst-other-versions small {\n opacity: 1;\n}\n#furo-readthedocs-versions .injected .rst-versions {\n position: unset;\n}\n#furo-readthedocs-versions:hover, #furo-readthedocs-versions:focus-within {\n box-shadow: 0 0 0 1px var(--color-sidebar-background-border);\n}\n#furo-readthedocs-versions:hover .rst-current-version, #furo-readthedocs-versions:focus-within .rst-current-version {\n font-size: inherit;\n line-height: inherit;\n height: auto;\n text-align: right;\n padding: 12px;\n background: #1a1c1e;\n}\n#furo-readthedocs-versions:hover .rst-current-version .fa-book, #furo-readthedocs-versions:focus-within .rst-current-version .fa-book {\n float: left;\n color: white;\n}\n#furo-readthedocs-versions:hover .fa-caret-down, #furo-readthedocs-versions:focus-within .fa-caret-down {\n display: none;\n}\n#furo-readthedocs-versions:hover .rst-current-version,\n#furo-readthedocs-versions:hover .rst-other-versions,\n#furo-readthedocs-versions:hover .injected, #furo-readthedocs-versions:focus-within .rst-current-version,\n#furo-readthedocs-versions:focus-within .rst-other-versions,\n#furo-readthedocs-versions:focus-within .injected {\n display: block;\n}\n#furo-readthedocs-versions:hover > .rst-current-version, #furo-readthedocs-versions:focus-within > .rst-current-version {\n display: none;\n}\n\n.highlight:hover button.copybtn {\n color: var(--color-code-foreground);\n}\n.highlight button.copybtn {\n opacity: 1;\n align-items: center;\n height: 1.25em;\n width: 1.25em;\n top: 0.625rem;\n right: 0.5rem;\n color: var(--color-background-item);\n background-color: var(--color-code-background);\n border: none;\n cursor: pointer;\n transition: color 300ms, opacity 300ms;\n}\n.highlight button.copybtn:hover {\n color: var(--color-brand-content);\n background-color: var(--color-code-background);\n}\n.highlight button.copybtn::after {\n display: none;\n color: var(--color-code-foreground);\n background-color: transparent;\n}\n.highlight button.copybtn.success {\n transition: color 0ms;\n color: #22863a;\n}\n.highlight button.copybtn.success::after {\n display: block;\n}\n.highlight button.copybtn svg {\n padding: 0;\n}\n\nbody {\n --sd-color-primary: var(--color-brand-primary);\n --sd-color-primary-highlight: var(--color-brand-content);\n --sd-color-primary-text: var(--color-background-primary);\n --sd-color-shadow: rgba(0, 0, 0, 0.05);\n --sd-color-card-border: var(--color-card-border);\n --sd-color-card-border-hover: var(--color-brand-content);\n --sd-color-card-background: var(--color-card-background);\n --sd-color-card-text: var(--color-foreground-primary);\n --sd-color-card-header: var(--color-card-marginals-background);\n --sd-color-card-footer: var(--color-card-marginals-background);\n --sd-color-tabs-label-active: var(--color-brand-content);\n --sd-color-tabs-label-hover: var(--color-foreground-muted);\n --sd-color-tabs-label-inactive: var(--color-foreground-muted);\n --sd-color-tabs-underline-active: var(--color-brand-content);\n --sd-color-tabs-underline-hover: var(--color-foreground-border);\n --sd-color-tabs-underline-inactive: var(--color-background-border);\n --sd-color-tabs-overline: var(--color-background-border);\n --sd-color-tabs-underline: var(--color-background-border);\n}\n\n.sd-tab-content {\n box-shadow: 0 -2px var(--sd-color-tabs-overline), 0 1px var(--sd-color-tabs-underline);\n}\n\n.sd-card {\n box-shadow: 0 0.1rem 0.25rem var(--sd-color-shadow), 0 0 0.0625rem rgba(0, 0, 0, 0.1);\n}\n\n.sd-shadow-sm {\n box-shadow: 0 0.1rem 0.25rem var(--sd-color-shadow), 0 0 0.0625rem rgba(0, 0, 0, 0.1) !important;\n}\n\n.sd-shadow-md {\n box-shadow: 0 0.3rem 0.75rem var(--sd-color-shadow), 0 0 0.0625rem rgba(0, 0, 0, 0.1) !important;\n}\n\n.sd-shadow-lg {\n box-shadow: 0 0.6rem 1.5rem var(--sd-color-shadow), 0 0 0.0625rem rgba(0, 0, 0, 0.1) !important;\n}\n\n.sd-card-hover:hover {\n transform: none;\n}\n\n.sd-cards-carousel {\n gap: 0.25rem;\n padding: 0.25rem;\n}\n\nbody {\n --tabs--label-text: var(--color-foreground-muted);\n --tabs--label-text--hover: var(--color-foreground-muted);\n --tabs--label-text--active: var(--color-brand-content);\n --tabs--label-text--active--hover: var(--color-brand-content);\n --tabs--label-background: transparent;\n --tabs--label-background--hover: transparent;\n --tabs--label-background--active: transparent;\n --tabs--label-background--active--hover: transparent;\n --tabs--padding-x: 0.25em;\n --tabs--margin-x: 1em;\n --tabs--border: var(--color-background-border);\n --tabs--label-border: transparent;\n --tabs--label-border--hover: var(--color-foreground-muted);\n --tabs--label-border--active: var(--color-brand-content);\n --tabs--label-border--active--hover: var(--color-brand-content);\n}\n\n[role=main] .container {\n max-width: initial;\n padding-left: initial;\n padding-right: initial;\n}\n\n.shadow.docutils {\n border: none;\n box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05), 0 0 0.0625rem rgba(0, 0, 0, 0.1) !important;\n}\n\n.sphinx-bs .card {\n background-color: var(--color-background-secondary);\n color: var(--color-foreground);\n}\n\nh1 {\n font-size: 2.2rem;\n}\n\nh2 {\n font-size: 1.7rem;\n}\n\nh3 {\n font-size: 1.4rem;\n}\n\nhtml:has(.farama-header-menu.active) {\n visibility: hidden;\n}\n\n.farama-hidden[aria-hidden=true] {\n visibility: hidden;\n}\n\n.farama-hidden[aria-hidden=false] {\n visibility: visible;\n}\n\n.cookie-alert {\n position: fixed;\n display: flex;\n width: 100%;\n min-height: 70px;\n background-color: var(--color-background-secondary);\n color: var(--color-foreground-primary);\n border-top: 1px solid var(--color-background-border);\n bottom: 0;\n left: 0;\n z-index: 99999;\n}\n\n.cookie-alert__container {\n display: flex;\n align-items: center;\n width: 700px;\n max-width: calc(100% - 28px);\n margin: auto;\n}\n\n.cookie-alert__button {\n margin-left: 14px;\n}\n\n.cookie-alert p {\n flex: 1;\n}\n\n.farama-btn {\n background: var(--color-farama-button-background);\n padding: 10px 26px;\n border-radius: 6px;\n border: none;\n transition: background-color 0.2s ease;\n cursor: pointer;\n}\n.farama-btn:hover {\n background: var(--color-farama-button-background-hover);\n}\n\narticle[role=main]:has(.farama-env-icon-container) .farama-env-icon-container {\n position: absolute;\n display: flex;\n margin-top: 7px;\n}\narticle[role=main]:has(.farama-env-icon-container) .section h1:first-child, article[role=main]:has(.farama-env-icon-container) .section h2:first-child, article[role=main]:has(.farama-env-icon-container) section h1:first-child, article[role=main]:has(.farama-env-icon-container) section h2:first-child {\n margin-left: 34px;\n}\n\n.farama-env-icon {\n height: 32px;\n}\n\n.env-grid {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n width: 100%;\n box-sizing: border-box;\n}\n\n.env-grid__cell {\n display: flex;\n flex-direction: column;\n width: 180px;\n height: 180px;\n padding: 10px;\n}\n\n.cell__image-container {\n display: flex;\n height: 148px;\n justify-content: center;\n}\n\n.cell__image-container img {\n max-height: 100%;\n object-fit: contain;\n}\n\n.cell__title {\n display: flex;\n justify-content: center;\n text-align: center;\n align-items: flex-end;\n height: 32px;\n line-height: 16px;\n}\n\n.more-btn {\n width: 240px;\n margin: 12px auto;\n display: block;\n}\n\nhtml:has(.farama-header-menu.active) {\n overflow: hidden;\n}\n\nbody {\n --farama-header-height: 52px;\n --farama-header-logo-margin: 10px;\n --farama-sidebar-logo-margin: 2px 10px;\n}\n\n.farama-header {\n position: absolute;\n display: flex;\n width: 100%;\n height: var(--farama-header-height);\n border-bottom: 1px solid var(--color-header-border);\n background-color: var(--color-background-secondary);\n padding: 0 36px 0 24px;\n box-sizing: border-box;\n z-index: 95;\n}\n.farama-header .farama-header__container {\n width: 100%;\n max-width: 1400px;\n display: flex;\n margin: 0 auto;\n justify-content: space-between;\n}\n.farama-header a {\n color: var(--color-foreground-primary);\n text-decoration: none;\n transition: color 0.125s ease;\n}\n.farama-header a:hover {\n color: var(--color-foreground-secondary);\n}\n.farama-header .farama-header__logo {\n max-height: calc(var(--farama-header-height) - var(--farama-header-logo-margin));\n margin: var(--farama-header-logo-margin);\n}\n.farama-header .farama-header__title {\n font-size: var(--font-size--normal);\n font-weight: normal;\n margin: 0 0 2px 0;\n padding: 0 0 0 4px;\n align-self: center;\n}\n.farama-header .farama-header__left {\n display: flex;\n}\n.farama-header .farama-header__left a {\n display: flex;\n}\n.farama-header .farama-header__left--mobile {\n display: none;\n}\n.farama-header .farama-header__left--mobile .nav-overlay-icon svg {\n width: 20px;\n stroke: var(--color-foreground-primary);\n fill: var(--color-foreground-primary);\n stroke-width: 2px;\n padding: 0 6px;\n}\n.farama-header .farama-header__right {\n display: flex;\n align-items: center;\n z-index: 2;\n}\n.farama-header .farama-header__right .farama-header__nav {\n display: flex;\n list-style: none;\n height: 100%;\n}\n.farama-header .farama-header__right .farama-header__nav li {\n text-decoration: none;\n margin-left: 20px;\n display: flex;\n align-items: center;\n cursor: pointer;\n}\n.farama-header .farama-header__right .farama-header__nav li a {\n height: 100%;\n display: flex;\n align-items: center;\n}\n.farama-header .farama-header__right .farama-header__nav li .farama-header__dropdown-container {\n position: relative;\n display: flex;\n align-items: center;\n height: 100%;\n}\n.farama-header .farama-header__right .farama-header__nav li .farama-header__dropdown-container:hover .farama-header__dropdown-menu {\n display: block;\n}\n.farama-header .farama-header__right .farama-header__nav li .farama-header__dropdown-container svg {\n width: 32px;\n fill: var(--color-foreground-primary);\n}\n.farama-header .farama-header__right .farama-header__nav li .farama-header__dropdown-container .farama-header__dropdown-menu {\n position: absolute;\n top: var(--farama-header-height);\n right: 0;\n border: 1px solid var(--color-background-border);\n background: var(--color-background-hover);\n z-index: 9999;\n display: none;\n}\n.farama-header .farama-header__right .farama-header__nav li .farama-header__dropdown-container .farama-header__dropdown-menu ul {\n display: inherit;\n margin: 0;\n padding: 6px 14px;\n}\n.farama-header .farama-header__right .farama-header__nav li .farama-header__dropdown-container .farama-header__dropdown-menu li {\n margin: 0;\n padding: 6px 0;\n}\n.farama-header .farama-header__right .farama-header-menu {\n position: relative;\n display: flex;\n justify-content: center;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu__btn {\n display: flex;\n background: none;\n border: none;\n cursor: pointer;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu__btn img {\n width: 26px;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu__btn svg {\n width: 14px;\n stroke: var(--color-foreground-primary);\n stroke-width: 2px;\n align-self: center;\n}\n.farama-header .farama-header__right .farama-header-menu.active .farama-header-menu-container {\n transform: translateY(100vh);\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container {\n position: fixed;\n z-index: 99;\n right: 0;\n top: -100vh;\n width: 100%;\n height: calc(100vh - (100vh - 100%));\n transform: translateY(0);\n box-sizing: border-box;\n transition: transform 0.2s ease-in;\n background-color: var(--color-background-secondary);\n border-left: 1px solid var(--color-background-border);\n overflow: auto;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header {\n position: relative;\n width: 100%;\n max-width: 1400px;\n box-sizing: border-box;\n margin: 0 auto;\n padding: 7px 52px;\n border-bottom: 1px solid var(--color-background-border);\n display: flex;\n align-items: center;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header a {\n display: flex;\n align-items: center;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header a .farama-header-menu__logo {\n width: 36px;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header a span {\n color: var(--color-sidebar-brand-text);\n padding-left: 8px;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header .farama-header-menu-header__right {\n position: absolute;\n right: 0;\n padding-right: inherit;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header .farama-header-menu-header__right button {\n display: flex;\n background: none;\n border: none;\n cursor: pointer;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header .farama-header-menu-header__right button svg {\n width: 20px;\n color: var(--color-foreground-primary);\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body {\n display: flex;\n width: 100%;\n max-width: 1500px;\n padding: 22px 52px;\n box-sizing: border-box;\n margin: 0 auto;\n flex-wrap: wrap;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section {\n min-width: 220px;\n margin-bottom: 24px;\n padding-left: 18px;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu__section-title {\n display: block;\n font-size: var(--font-size--small);\n font-weight: 600;\n text-transform: uppercase;\n padding: 0 12px 12px;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu__subsections-container .farama-header-menu__subsection {\n min-width: 210px;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu__subsections-container .farama-header-menu__subsection:not(:last-child) {\n margin-right: 12px;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu__subsections-container .farama-header-menu__subsection .farama-header-menu__subsection-title {\n display: block;\n font-size: var(--font-size--small--3);\n color: var(--color-foreground-secondary);\n font-weight: 700;\n text-transform: uppercase;\n padding: 20px 12px 10px;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu-list {\n display: inherit;\n margin: 0;\n padding: 0;\n list-style: none;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu-list li {\n border-radius: var(--sidebar-item-border-radius);\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu-list li:hover {\n background-color: var(--color-farama-header-background-hover);\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu-list li a {\n display: flex;\n padding: 12px 14px;\n align-items: center;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu-list li a:hover {\n color: inherit;\n}\n.farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body .farama-header-menu__section .farama-header-menu-list li a img {\n width: 26px;\n margin-right: 10px;\n}\n\n.farama-sidebar__title {\n display: flex;\n align-items: center;\n padding-right: 4px;\n min-height: calc(52px - var(--sidebar-search-space-above));\n margin-top: 0.6rem;\n margin-left: var(--sidebar-search-space-lateral);\n text-decoration: none;\n}\n.farama-sidebar__title img {\n height: calc(var(--farama-header-height) - 20px);\n margin: var(--farama-sidebar-logo-margin);\n}\n.farama-sidebar__title span {\n color: var(--color-foreground-primary);\n}\n.farama-sidebar__title span:hover {\n text-decoration: none;\n}\n\n.sidebar-brand {\n flex-direction: row;\n padding: var(--sidebar-item-spacing-vertical);\n align-items: center;\n}\n.sidebar-brand .sidebar-logo-container {\n display: flex;\n max-width: 55px;\n height: auto;\n}\n.sidebar-brand .sidebar-brand-text {\n font-size: 1.3rem;\n padding-left: 11px;\n}\n\n.farama-sidebar-donate {\n width: 76%;\n padding: 8px 16px 20px;\n margin: 0 auto;\n}\n.farama-sidebar-donate .farama-donate-btn {\n width: 100%;\n padding: 8px 12px;\n color: #fff;\n background: linear-gradient(to right top, #765e3e, #054f5b);\n background-blend-mode: color;\n background-color: transparent;\n transition: background-color 0.2s ease;\n border: none;\n border-radius: 6px;\n cursor: pointer;\n}\n.farama-sidebar-donate .farama-donate-btn:hover {\n background-color: rgba(255, 255, 255, 0.15);\n}\n\n.farama-donate-banner {\n display: none;\n padding: 16px 3em;\n width: 100%;\n box-sizing: border-box;\n background-color: var(--color-highlighted-background);\n}\n.farama-donate-banner.active {\n display: flex;\n}\n.farama-donate-banner .farama-donate-banner__text {\n flex: 1;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 1.1em;\n}\n.farama-donate-banner .farama-donate-banner__btns {\n display: flex;\n align-items: center;\n}\n.farama-donate-banner .farama-donate-banner__btns a {\n text-decoration: none;\n}\n.farama-donate-banner .farama-donate-banner__btns button {\n margin-left: 22px;\n height: 36px;\n position: relative;\n border: none;\n border-radius: 6px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n}\n.farama-donate-banner .farama-donate-banner__btns .farama-donate-banner__go {\n color: #fff;\n background: linear-gradient(to right top, #765e3e, #054f5b);\n background-blend-mode: color;\n background-color: transparent;\n transition: background-color 0.2s ease;\n padding: 0 26px;\n}\n.farama-donate-banner .farama-donate-banner__btns .farama-donate-banner__go:hover {\n background-color: rgba(255, 255, 255, 0.1);\n}\n.farama-donate-banner .farama-donate-banner__btns .farama-donate-banner__cancel {\n transition: background-color 0.2s ease;\n}\n.farama-donate-banner .farama-donate-banner__btns .farama-donate-banner__cancel svg {\n height: 26px;\n}\n\n@media (prefers-color-scheme: dark) {\n body:not([data-theme=light]) .farama-donate-banner__cancel {\n background-color: rgba(0, 0, 0, 0.1);\n }\n body:not([data-theme=light]) .farama-donate-banner__cancel:hover {\n background: rgba(0, 0, 0, 0.2);\n }\n body:not([data-theme=light]) .farama-donate-banner__cancel svg {\n stroke: #fff;\n }\n body[data-theme=light] .farama-donate-banner__cancel {\n background-color: rgba(25, 25, 25, 0.1);\n }\n body[data-theme=light] .farama-donate-banner__cancel:hover {\n background: rgba(255, 255, 255, 0.2);\n }\n body[data-theme=light] .farama-donate-banner__cancel svg {\n stroke: #666;\n }\n}\n@media (prefers-color-scheme: light) {\n body:not([data-theme=dark]) .farama-donate-banner__cancel {\n background-color: rgba(25, 25, 25, 0.1);\n }\n body:not([data-theme=dark]) .farama-donate-banner__cancel:hover {\n background: rgba(255, 255, 255, 0.2);\n }\n body:not([data-theme=dark]) .farama-donate-banner__cancel svg {\n stroke: #666;\n }\n body[data-theme=dark] .farama-donate-banner__cancel {\n background-color: rgba(0, 0, 0, 0.1);\n }\n body[data-theme=dark] .farama-donate-banner__cancel:hover {\n background: rgba(0, 0, 0, 0.2);\n }\n body[data-theme=dark] .farama-donate-banner__cancel svg {\n stroke: #fff;\n }\n}\n.farama-project-logo {\n margin: 1.5rem 0 0.8rem !important;\n}\n\n.farama-project-heading {\n text-align: center;\n padding: 0 0 1.6rem 0;\n margin: 0;\n}\n\n.farama-project-logo img {\n width: 65%;\n}\n\n.mobile-header .header-center {\n transition: opacity 0.2s easy-in;\n opacity: 0;\n}\n\n.mobile-header.scrolled .header-center {\n opacity: 1;\n}\n\n.sphx-glr-script-out {\n color: var(--color-foreground-secondary);\n display: flex;\n gap: 0.5em;\n}\n\n.sphx-glr-script-out::before {\n content: \"Out:\";\n line-height: 1.4;\n padding-top: 10px;\n}\n\n.sphx-glr-script-out .highlight {\n overflow-x: auto;\n}\n\n.sphx-glr-thumbcontainer {\n z-index: 1;\n}\n\ndiv.sphx-glr-download a {\n width: 340px;\n max-width: 100%;\n box-sizing: border-box;\n background: #0f4a65;\n}\n\ndiv.sphx-glr-download a:hover {\n background: #0d3a4e;\n box-shadow: none;\n}\n\n@media (prefers-color-scheme: dark) {\n body:not([data-theme=light]) div.sphx-glr-download a {\n background: #0f4a65;\n }\n body:not([data-theme=light]) div.sphx-glr-download a:hover {\n background: #0d3a4e;\n }\n body[data-theme=light] div.sphx-glr-download a {\n background: #f9d4a1;\n }\n body[data-theme=light] div.sphx-glr-download a:hover {\n background: #d9b481;\n }\n}\n@media (prefers-color-scheme: light) {\n body:not([data-theme=dark]) div.sphx-glr-download a {\n background: #f9d4a1;\n }\n body:not([data-theme=dark]) div.sphx-glr-download a:hover {\n background: #d9b481;\n }\n body[data-theme=dark] div.sphx-glr-download a {\n background: #0f4a65;\n }\n body[data-theme=dark] div.sphx-glr-download a:hover {\n background: #0d3a4e;\n }\n}\nbody[data-theme=light] div.sphx-glr-download a {\n background: #f9d4a1;\n}\nbody[data-theme=light] div.sphx-glr-download a:hover {\n background: #d9b481;\n}\n\n.sphx-glr-thumbcontainer img {\n background-color: white;\n border-radius: 4px;\n}\n\n.tab-content > [class^=highlight-]:first-child .highlight {\n background: var(--color-api-background);\n border-radius: 6px;\n}\n\n.tab-set > input + label {\n font-weight: 600;\n}\n\n.tab-set > input:checked + label, .tab-set > input:checked + label:hover {\n color: var(--color-brand-secondary);\n border-color: var(--color-brand-secondary);\n}\n\ndiv.jupyter_container {\n background: var(--color-api-background);\n border: none;\n box-shadow: none;\n}\ndiv.jupyter_container div.code_cell, div.jupyter_container div.highlight {\n border: none;\n border-radius: 0;\n}\ndiv.jupyter_container div.code_cell pre {\n padding: 0.625rem 0.875rem;\n}\n\n@media (prefers-color-scheme: dark) {\n body:not([data-theme=light]) div.jupyter_container div.highlight {\n background: #202020;\n color: #d0d0d0;\n }\n}\nbody[data-theme=dark] div.jupyter_container div.highlight {\n background: #202020;\n color: #d0d0d0;\n}\n\n@media (max-width: 950px) {\n .farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header {\n padding: 7px 42px;\n }\n .farama-header .farama-header-menu__btn-name {\n display: none;\n }\n}\n@media (max-width: 600px) {\n .farama-header {\n padding: 0 4px;\n }\n .farama-header .farama-header__title {\n font-size: var(--font-size--small);\n }\n .farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header {\n padding: 8px 12px;\n }\n .farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__body {\n padding: 18px 12px;\n }\n .farama-donate-banner {\n flex-direction: column;\n }\n .farama-donate-banner .farama-donate-banner__btns {\n margin-top: 1em;\n justify-content: end;\n }\n .farama-donate-banner .farama-donate-banner__btns button {\n margin-left: 12px;\n height: 36px;\n }\n .farama-donate-banner .farama-donate-banner__btns .farama-donate-banner__go {\n padding: 0 20px;\n }\n .farama-donate-banner .farama-donate-banner__btns .farama-donate-banner__cancel svg {\n height: 26px;\n }\n}\n@media (max-width: 480px) {\n .farama-header .farama-header__title {\n width: 110px;\n }\n .farama-header .farama-header-menu__btn-name {\n text-align: right;\n width: 100px;\n }\n .farama-project-heading {\n text-align: left;\n }\n .farama-header-menu__subsections-container {\n display: block !important;\n }\n}\n@media (prefers-color-scheme: light) {\n body:not([data-theme=dark]) .farama-white-logo-invert {\n filter: invert(1);\n }\n body[data-theme=dark] .farama-black-logo-invert {\n filter: invert(1);\n }\n}\n@media (prefers-color-scheme: dark) {\n body:not([data-theme=light]) img[src*=\"//render.githubusercontent.com/render/math\"] {\n filter: invert(90%);\n }\n body:not([data-theme=light]) .farama-black-logo-invert {\n filter: invert(1);\n }\n body[data-theme=light] .farama-white-logo-invert {\n filter: invert(1);\n }\n}",".highlight\n &:hover button.copybtn\n color: var(--color-code-foreground)\n\n button.copybtn\n // Make it visible\n opacity: 1\n\n // Align things correctly\n align-items: center\n\n height: 1.25em\n width: 1.25em\n\n top: 0.625rem // $code-spacing-vertical\n right: 0.5rem\n\n // Make it look better\n color: var(--color-background-item)\n background-color: var(--color-code-background)\n border: none\n\n // Change to cursor to make it obvious that you can click on it\n cursor: pointer\n\n // Transition smoothly, for aesthetics\n transition: color 300ms, opacity 300ms\n\n &:hover\n color: var(--color-brand-content)\n background-color: var(--color-code-background)\n\n &::after\n display: none\n color: var(--color-code-foreground)\n background-color: transparent\n\n &.success\n transition: color 0ms\n color: #22863a\n &::after\n display: block\n\n svg\n padding: 0\n","body\n // Colors\n --sd-color-primary: var(--color-brand-primary)\n --sd-color-primary-highlight: var(--color-brand-content)\n --sd-color-primary-text: var(--color-background-primary)\n\n // Shadows\n --sd-color-shadow: rgba(0, 0, 0, 0.05)\n\n // Cards\n --sd-color-card-border: var(--color-card-border)\n --sd-color-card-border-hover: var(--color-brand-content)\n --sd-color-card-background: var(--color-card-background)\n --sd-color-card-text: var(--color-foreground-primary)\n --sd-color-card-header: var(--color-card-marginals-background)\n --sd-color-card-footer: var(--color-card-marginals-background)\n\n // Tabs\n --sd-color-tabs-label-active: var(--color-brand-content)\n --sd-color-tabs-label-hover: var(--color-foreground-muted)\n --sd-color-tabs-label-inactive: var(--color-foreground-muted)\n --sd-color-tabs-underline-active: var(--color-brand-content)\n --sd-color-tabs-underline-hover: var(--color-foreground-border)\n --sd-color-tabs-underline-inactive: var(--color-background-border)\n --sd-color-tabs-overline: var(--color-background-border)\n --sd-color-tabs-underline: var(--color-background-border)\n\n// Tabs\n.sd-tab-content\n box-shadow: 0 -2px var(--sd-color-tabs-overline), 0 1px var(--sd-color-tabs-underline)\n\n// Shadows\n.sd-card // Have a shadow by default\n box-shadow: 0 0.1rem 0.25rem var(--sd-color-shadow), 0 0 0.0625rem rgba(0, 0, 0, 0.1)\n\n.sd-shadow-sm\n box-shadow: 0 0.1rem 0.25rem var(--sd-color-shadow), 0 0 0.0625rem rgba(0, 0, 0, 0.1) !important\n\n.sd-shadow-md\n box-shadow: 0 0.3rem 0.75rem var(--sd-color-shadow), 0 0 0.0625rem rgba(0, 0, 0, 0.1) !important\n\n.sd-shadow-lg\n box-shadow: 0 0.6rem 1.5rem var(--sd-color-shadow), 0 0 0.0625rem rgba(0, 0, 0, 0.1) !important\n\n// Cards\n.sd-card-hover:hover // Don't change scale on hover\n transform: none\n\n.sd-cards-carousel // Have a bit of gap in the carousel by default\n gap: 0.25rem\n padding: 0.25rem\n","// This file contains styles to tweak sphinx-inline-tabs to work well with Furo.\n\nbody\n --tabs--label-text: var(--color-foreground-muted)\n --tabs--label-text--hover: var(--color-foreground-muted)\n --tabs--label-text--active: var(--color-brand-content)\n --tabs--label-text--active--hover: var(--color-brand-content)\n --tabs--label-background: transparent\n --tabs--label-background--hover: transparent\n --tabs--label-background--active: transparent\n --tabs--label-background--active--hover: transparent\n --tabs--padding-x: 0.25em\n --tabs--margin-x: 1em\n --tabs--border: var(--color-background-border)\n --tabs--label-border: transparent\n --tabs--label-border--hover: var(--color-foreground-muted)\n --tabs--label-border--active: var(--color-brand-content)\n --tabs--label-border--active--hover: var(--color-brand-content)\n","// This file contains styles to tweak sphinx-panels to work well with Furo.\n\n// sphinx-panels includes Bootstrap 4, which uses .container which can conflict\n// with docutils' `.. container::` directive.\n[role=\"main\"] .container\n max-width: initial\n padding-left: initial\n padding-right: initial\n\n// Make the panels look nicer!\n.shadow.docutils\n border: none\n box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05), 0 0 0.0625rem rgba(0, 0, 0, 0.1) !important\n\n// Make panel colors respond to dark mode\n.sphinx-bs .card\n background-color: var(--color-background-secondary)\n color: var(--color-foreground)\n","// Farama Base\n\n$farama-background: linear-gradient(to right top, #765e3e, #054f5b)\n\nh1\n font-size: 2.2rem\nh2\n font-size: 1.7rem\nh3\n font-size: 1.4rem\n\n// If menu is active then all elements except the menu are not visible (i.e. only element with aria-hidden=\"true\")\nhtml:has(.farama-header-menu.active)\n visibility: hidden\n\n.farama-hidden[aria-hidden=\"true\"]\n visibility: hidden\n\n.farama-hidden[aria-hidden=\"false\"]\n visibility: visible\n\n// Cookies Alert\n\n.cookie-alert\n position: fixed\n display: flex\n width: 100%\n min-height: 70px\n background-color: var(--color-background-secondary)\n color: var(--color-foreground-primary)\n border-top: 1px solid var(--color-background-border)\n bottom: 0\n left: 0\n z-index: 99999\n\n.cookie-alert__container\n display: flex\n align-items: center\n width: 700px\n max-width: calc(100% - 28px)\n margin: auto\n\n.cookie-alert__button\n margin-left: 14px\n\n.cookie-alert p\n flex: 1\n\n// Farama default button style\n\n.farama-btn\n background: var(--color-farama-button-background)\n padding: 10px 26px\n border-radius: 6px\n border: none\n transition: background-color 0.2s ease\n cursor: pointer\n\n &:hover\n background: var(--color-farama-button-background-hover)\n\n// Env Icons\n\narticle[role=main]:has(.farama-env-icon-container)\n .farama-env-icon-container\n position: absolute\n display: flex\n margin-top: 7px\n\n .section h1:first-child, .section h2:first-child, section h1:first-child, section h2:first-child\n margin-left: 34px\n\n.farama-env-icon\n height: 32px\n\n// Envinronments grid\n\n.env-grid\n display: flex\n flex-wrap: wrap\n justify-content: center\n width: 100%\n box-sizing: border-box\n\n.env-grid__cell\n display: flex\n flex-direction: column\n width: 180px\n height: 180px\n padding: 10px\n\n.cell__image-container\n display: flex\n height: 148px\n justify-content: center\n\n.cell__image-container img\n max-height: 100%\n object-fit: contain\n\n.cell__title\n display: flex\n justify-content: center\n text-align: center\n align-items: flex-end\n height: 32px\n line-height: 16px\n\n.more-btn\n width: 240px\n margin: 12px auto\n display: block\n\n// Farama Header\n\nhtml:has(.farama-header-menu.active)\n overflow: hidden\n\nbody\n --farama-header-height: 52px\n --farama-header-logo-margin: 10px\n --farama-sidebar-logo-margin: 2px 10px\n\n.farama-header\n position: absolute\n display: flex\n width: 100%\n height: var(--farama-header-height)\n border-bottom: 1px solid var(--color-header-border)\n background-color: var(--color-background-secondary)\n padding: 0 36px 0 24px\n box-sizing: border-box\n z-index: 95\n\n .farama-header__container\n width: 100%\n max-width: 1400px\n display: flex\n margin: 0 auto\n justify-content: space-between\n\n a\n color: var(--color-foreground-primary)\n text-decoration: none\n transition: color 0.125s ease\n\n &:hover\n color: var(--color-foreground-secondary)\n\n .farama-header__logo\n max-height: calc(var(--farama-header-height) - var(--farama-header-logo-margin))\n margin: var(--farama-header-logo-margin)\n\n .farama-header__title\n font-size: var(--font-size--normal)\n font-weight: normal\n margin: 0 0 2px 0\n padding: 0 0 0 4px\n align-self: center\n\n .farama-header__left\n display: flex\n\n a\n display: flex\n\n .farama-header__left--mobile\n display: none\n\n .nav-overlay-icon svg\n width: 20px\n stroke: var(--color-foreground-primary)\n fill: var(--color-foreground-primary)\n stroke-width: 2px\n padding: 0 6px\n\n .farama-header__right\n display: flex\n align-items: center\n z-index: 2\n\n .farama-header__nav\n display: flex\n list-style: none\n height: 100%\n\n li\n text-decoration: none\n margin-left: 20px\n display: flex\n align-items: center\n cursor: pointer\n\n a\n height: 100%\n display: flex\n align-items: center\n\n .farama-header__dropdown-container\n position: relative\n display: flex\n align-items: center\n height: 100%\n\n &:hover\n .farama-header__dropdown-menu\n display: block\n\n svg\n width: 32px\n fill: var(--color-foreground-primary)\n\n .farama-header__dropdown-menu\n position: absolute\n top: var(--farama-header-height)\n right: 0\n border: 1px solid var(--color-background-border)\n background: var(--color-background-hover)\n z-index: 9999\n display: none\n\n ul\n display: inherit\n margin: 0\n padding: 6px 14px\n\n li\n margin: 0\n padding: 6px 0\n\n .farama-header-menu\n position: relative\n display: flex\n justify-content: center\n\n .farama-header-menu__btn\n display: flex\n background: none\n border: none\n cursor: pointer\n\n img\n width: 26px\n svg\n width: 14px\n stroke: var(--color-foreground-primary)\n stroke-width: 2px\n align-self: center\n\n\n &.active .farama-header-menu-container\n transform: translateY(100vh)\n\n .farama-header-menu-container\n position: fixed\n z-index: 99\n right: 0\n top: -100vh\n width: 100%\n height: calc(100vh - calc(100vh - 100%))\n transform: translateY(0)\n box-sizing: border-box\n transition: transform 0.2s ease-in\n background-color: var(--color-background-secondary)\n border-left: 1px solid var(--color-background-border)\n overflow: auto\n\n .farama-header-menu__header\n position: relative\n width: 100%\n max-width: 1400px\n box-sizing: border-box\n margin: 0 auto\n padding: 7px 52px\n border-bottom: 1px solid var(--color-background-border)\n display: flex\n align-items: center\n\n a\n display: flex\n align-items: center\n\n .farama-header-menu__logo\n width: 36px\n\n span\n color: var(--color-sidebar-brand-text)\n padding-left: 8px\n\n .farama-header-menu-header__right\n position: absolute\n right: 0\n padding-right: inherit\n\n button\n display: flex\n background: none\n border: none\n cursor: pointer\n\n svg\n width: 20px\n color: var(--color-foreground-primary)\n\n .farama-header-menu__body\n display: flex\n width: 100%\n max-width: 1500px\n padding: 22px 52px\n box-sizing: border-box\n margin: 0 auto\n flex-wrap: wrap\n\n .farama-header-menu__section\n min-width: 220px\n margin-bottom: 24px\n padding-left: 18px\n\n .farama-header-menu__section-title\n display: block\n font-size: var(--font-size--small)\n font-weight: 600\n text-transform: uppercase\n padding: 0 12px 12px\n\n .farama-header-menu__subsections-container\n\n .farama-header-menu__subsection\n min-width: 210px\n\n &:not(:last-child)\n margin-right: 12px\n\n .farama-header-menu__subsection-title\n display: block\n font-size: var(--font-size--small--3)\n color: var(--color-foreground-secondary)\n font-weight: 700\n text-transform: uppercase\n padding: 20px 12px 10px\n\n .farama-header-menu-list\n display: inherit\n margin: 0\n padding: 0\n list-style: none\n\n li\n border-radius: var(--sidebar-item-border-radius)\n\n &:hover\n background-color: var(--color-farama-header-background-hover)\n\n a\n display: flex\n padding: 12px 14px\n align-items: center\n\n &:hover\n color: inherit\n\n img\n width: 26px\n margin-right: 10px\n\n.farama-sidebar__title\n display: flex\n align-items: center\n padding-right: 4px\n min-height: calc(52px - var(--sidebar-search-space-above))\n margin-top: 0.6rem\n margin-left: var(--sidebar-search-space-lateral)\n text-decoration: none\n\n img\n height: calc(var(--farama-header-height) - 20px)\n margin: var(--farama-sidebar-logo-margin)\n span\n color: var(--color-foreground-primary)\n &:hover\n text-decoration: none\n\n.sidebar-brand\n flex-direction: row\n padding: var(--sidebar-item-spacing-vertical)\n align-items: center\n\n .sidebar-logo-container\n display: flex\n max-width: 55px\n height: auto\n\n .sidebar-brand-text\n font-size: 1.3rem\n padding-left: 11px\n\n.farama-sidebar-donate\n width: 76%\n padding: 8px 16px 20px\n margin: 0 auto\n\n .farama-donate-btn\n width: 100%\n padding: 8px 12px\n color: #fff\n background: $farama-background\n background-blend-mode: color\n background-color: transparent\n transition: background-color 0.2s ease\n border: none\n border-radius: 6px\n cursor: pointer\n\n &:hover\n background-color: rgb(255 255 255 / 15%)\n\n.farama-donate-banner\n display: none\n padding: 16px 3em\n width: 100%\n box-sizing: border-box\n background-color: var(--color-highlighted-background)\n\n &.active\n display: flex\n\n .farama-donate-banner__text\n flex: 1\n display: flex\n justify-content: center\n align-items: center\n font-size: 1.1em\n\n .farama-donate-banner__btns\n display: flex\n align-items: center\n\n a\n text-decoration: none\n\n button\n margin-left: 22px\n height: 36px\n position: relative\n border: none\n border-radius: 6px\n display: flex\n justify-content: center\n align-items: center\n cursor: pointer\n\n .farama-donate-banner__go\n color: #fff\n background: $farama-background\n background-blend-mode: color\n background-color: transparent\n transition: background-color 0.2s ease\n padding: 0 26px\n\n &:hover\n background-color: rgb(255 255 255 / 10%)\n\n .farama-donate-banner__cancel\n transition: background-color 0.2s ease\n\n svg\n height: 26px\n\n@media (prefers-color-scheme: dark)\n body:not([data-theme=\"light\"])\n .farama-donate-banner__cancel\n background-color: rgb(0 0 0 / 10%)\n &:hover\n background: rgb(0 0 0 / 20%)\n svg\n stroke: #fff\n\n body[data-theme=\"light\"]\n .farama-donate-banner__cancel\n background-color: rgb(25 25 25 / 10%)\n &:hover\n background: rgb(255 255 255 / 20%)\n svg\n stroke: #666\n\n@media (prefers-color-scheme: light)\n body:not([data-theme=\"dark\"])\n .farama-donate-banner__cancel\n background-color: rgb(25 25 25 / 10%)\n &:hover\n background: rgb(255 255 255 / 20%)\n svg\n stroke: #666\n\n body[data-theme=\"dark\"]\n .farama-donate-banner__cancel\n background-color: rgb(0 0 0 / 10%)\n &:hover\n background: rgb(0 0 0 / 20%)\n svg\n stroke: #fff\n\n\n// Farama custom directives\n\n.farama-project-logo\n margin: 1.5rem 0 0.8rem !important\n\n.farama-project-heading\n text-align: center\n padding: 0 0 1.6rem 0\n margin: 0\n\n.farama-project-logo img\n width: 65%\n\n.mobile-header\n .header-center\n transition: opacity 0.2s easy-in\n opacity: 0\n\n.mobile-header.scrolled\n .header-center\n opacity: 1\n\n// Sphinx Gallery\n\n.sphx-glr-script-out\n color: var(--color-foreground-secondary)\n display: flex\n gap: 0.5em\n\n.sphx-glr-script-out::before\n content: \"Out:\"\n line-height: 1.4\n padding-top: 10px\n\n.sphx-glr-script-out .highlight\n overflow-x: auto\n\n.sphx-glr-thumbcontainer\n z-index: 1\n\ndiv.sphx-glr-download a\n width: 340px\n max-width: 100%\n box-sizing: border-box\n background: #0f4a65\n\ndiv.sphx-glr-download a:hover\n background: #0d3a4e\n box-shadow: none\n\n@media (prefers-color-scheme: dark)\n body:not([data-theme=\"light\"])\n div.sphx-glr-download a\n background: #0f4a65\n div.sphx-glr-download a:hover\n background: #0d3a4e\n body[data-theme=\"light\"]\n div.sphx-glr-download a\n background: #f9d4a1\n div.sphx-glr-download a:hover\n background: #d9b481\n\n@media (prefers-color-scheme: light)\n body:not([data-theme=\"dark\"])\n div.sphx-glr-download a\n background: #f9d4a1\n div.sphx-glr-download a:hover\n background: #d9b481\n body[data-theme=\"dark\"]\n div.sphx-glr-download a\n background: #0f4a65\n div.sphx-glr-download a:hover\n background: #0d3a4e\n\nbody[data-theme=\"light\"]\n div.sphx-glr-download a\n background: #f9d4a1\n div.sphx-glr-download a:hover\n background: #d9b481\n\n.sphx-glr-thumbcontainer img\n background-color: white\n border-radius: 4px\n\n// Override Tabs styles\n\n.tab-content > [class^=\"highlight-\"]:first-child .highlight\n background: var(--color-api-background)\n border-radius: 6px\n\n.tab-set > input + label\n font-weight: 600\n\n.tab-set > input:checked + label, .tab-set > input:checked + label:hover\n color: var(--color-brand-secondary)\n border-color: var(--color-brand-secondary)\n\n// Sphinx Jupyter\n\ndiv.jupyter_container\n background: var(--color-api-background)\n border: none\n box-shadow: none\n\n div.code_cell, div.highlight\n border: none\n border-radius: 0\n\n div.code_cell pre\n padding: 0.625rem 0.875rem\n\n@media (prefers-color-scheme: dark)\n body:not([data-theme=\"light\"]) div.jupyter_container div.highlight\n background: #202020\n color: #d0d0d0\n\nbody[data-theme=\"dark\"]\n div.jupyter_container div.highlight\n background: #202020\n color: #d0d0d0\n\n\n\n\n@media (max-width: 950px)\n .farama-header .farama-header__right .farama-header-menu .farama-header-menu-container .farama-header-menu__header\n padding: 7px 42px\n\n .farama-header .farama-header-menu__btn-name\n display: none\n\n\n@media (max-width: 600px)\n .farama-header\n padding: 0 4px\n\n .farama-header__title\n font-size: var(--font-size--small)\n\n .farama-header__right .farama-header-menu .farama-header-menu-container\n .farama-header-menu__header\n padding: 8px 12px\n .farama-header-menu__body\n padding: 18px 12px\n\n .farama-donate-banner\n flex-direction: column\n\n\n .farama-donate-banner__btns\n margin-top: 1em\n justify-content: end\n\n button\n margin-left: 12px\n height: 36px\n\n .farama-donate-banner__go\n padding: 0 20px\n\n .farama-donate-banner__cancel\n svg\n height: 26px\n\n\n@media (max-width: 480px)\n .farama-header\n .farama-header__title\n width: 110px\n\n .farama-header-menu__btn-name\n text-align: right\n width: 100px\n\n .farama-project-heading\n text-align: left\n\n .farama-header-menu__subsections-container\n display: block !important\n\n\n@media (prefers-color-scheme: light)\n body:not([data-theme=\"dark\"])\n .farama-white-logo-invert\n filter: invert(1)\n\n body[data-theme=\"dark\"]\n .farama-black-logo-invert\n filter: invert(1)\n\n\n@media (prefers-color-scheme: dark)\n body:not([data-theme=\"light\"])\n // Github math render\n img[src*=\"//render.githubusercontent.com/render/math\"]\n filter: invert(90%)\n\n .farama-black-logo-invert\n filter: invert(1)\n\n body[data-theme=\"light\"]\n .farama-white-logo-invert\n filter: invert(1)\n"],"names":[],"sourceRoot":""} diff --git a/docs/_builddir/_static/styles/furo.css b/docs/_builddir/_static/styles/furo.css new file mode 100644 index 000000000..fc2015ee3 --- /dev/null +++ b/docs/_builddir/_static/styles/furo.css @@ -0,0 +1,2528 @@ +/*!************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./node_modules/normalize.css/normalize.css ***! + \************************************************************************************************************************/ +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ + +/* Document + ========================================================================== */ + +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ + +html { + line-height: 1.15; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/* Sections + ========================================================================== */ + +/** + * Remove the margin in all browsers. + */ + +body { + margin: 0; +} + +/** + * Render the `main` element consistently in IE. + */ + +main { + display: block; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/* Grouping content + ========================================================================== */ + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Remove the gray background on active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove the border on images inside links in IE 10. + */ + +img { + border-style: none; +} + +/* Forms + ========================================================================== */ + +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 1 */ + line-height: 1.15; /* 1 */ + margin: 0; /* 2 */ +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { /* 1 */ + text-transform: none; +} + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ + +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Correct the padding in Firefox. + */ + +fieldset { + padding: 0.35em 0.75em 0.625em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + vertical-align: baseline; +} + +/** + * Remove the default vertical scrollbar in IE 10+. + */ + +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ + +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/* Interactive + ========================================================================== */ + +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ + +details { + display: block; +} + +/* + * Add the correct display in all browsers. + */ + +summary { + display: list-item; +} + +/* Misc + ========================================================================== */ + +/** + * Add the correct display in IE 10+. + */ + +template { + display: none; +} + +/** + * Add the correct display in IE 10. + */ + +[hidden] { + display: none; +} + +/*!*********************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/furo/assets/styles/furo.sass ***! + \*********************************************************************************************************************************************************************************************************************************************************/ +@media print { + .content-icon-container { + display: none !important; + } + .headerlink { + display: none !important; + } + .mobile-header { + display: none !important; + } + .related-pages { + display: none !important; + } +} +@media print { + .highlight { + border: 0.1pt solid var(--color-foreground-border); + } +} +@media print { + ul, ol, dl, a, table, pre, blockquote { + page-break-inside: avoid; + } + h1, h2, h3, h4, h5, h6, img, figure, caption { + page-break-inside: avoid; + page-break-after: avoid; + } + ul, ol, dl { + page-break-before: avoid; + } +} +.visually-hidden { + position: absolute !important; + width: 1px !important; + height: 1px !important; + padding: 0 !important; + margin: -1px !important; + overflow: hidden !important; + clip: rect(0, 0, 0, 0) !important; + white-space: nowrap !important; + border: 0 !important; +} + +:-moz-focusring { + outline: auto; +} + +body { + --font-stack: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, + sans-serif, Apple Color Emoji, Segoe UI Emoji; + --font-stack--monospace: "SFMono-Regular", Menlo, Consolas, Monaco, + Liberation Mono, Lucida Console, monospace; + --font-size--normal: 100%; + --font-size--small: 87.5%; + --font-size--small--2: 81.25%; + --font-size--small--3: 75%; + --font-size--small--4: 62.5%; + --sidebar-caption-font-size: var(--font-size--small); + --sidebar-item-font-size: var(--font-size--small); + --sidebar-search-input-font-size: var(--font-size--small); + --toc-font-size: var(--font-size--small--2); + --toc-font-size--mobile: var(--font-size--normal); + --toc-title-font-size: var(--font-size--small--4); + --admonition-font-size: 0.8125rem; + --admonition-title-font-size: 0.8125rem; + --code-font-size: var(--font-size--small--2); + --api-font-size: var(--font-size--small); + --header-height: calc( + var(--sidebar-item-line-height) + 4 * var(--sidebar-item-spacing-vertical) + ); + --header-padding: 0.5rem; + --sidebar-tree-space-above: 1.2rem; + --sidebar-tree-space-horizontal: 0.5rem; + --sidebar-caption-space-above: 1rem; + --sidebar-item-line-height: 1rem; + --sidebar-item-spacing-vertical: 0.5rem; + --sidebar-item-spacing-horizontal: 1rem; + --sidebar-item-height: calc( + var(--sidebar-item-line-height) + 2 *var(--sidebar-item-spacing-vertical) + ); + --sidebar-expander-width: var(--sidebar-item-height); + --sidebar-search-space-above: 1.2rem; + --sidebar-search-space-lateral: 0.7rem; + --sidebar-search-input-spacing-vertical: 0.5rem; + --sidebar-search-input-spacing-horizontal: 0.5rem; + --sidebar-search-input-height: 1.2rem; + --sidebar-search-icon-size: var(--sidebar-search-input-height); + --toc-title-padding: 0.25rem 0; + --toc-spacing-vertical: 4.5rem; + --toc-spacing-horizontal: 1.5rem; + --toc-item-spacing-vertical: 0.4rem; + --toc-item-spacing-horizontal: 1rem; + --sidebar-item-border-radius: 8px; + --sidebar-search-border-radius: 8px; + --icon-search: url("data:image/svg+xml;charset=utf-8,"); + --icon-pencil: url("data:image/svg+xml;charset=utf-8,"); + --icon-abstract: url("data:image/svg+xml;charset=utf-8,"); + --icon-info: url("data:image/svg+xml;charset=utf-8,"); + --icon-flame: url("data:image/svg+xml;charset=utf-8,"); + --icon-question: url("data:image/svg+xml;charset=utf-8,"); + --icon-warning: url("data:image/svg+xml;charset=utf-8,"); + --icon-failure: url("data:image/svg+xml;charset=utf-8,"); + --icon-spark: url("data:image/svg+xml;charset=utf-8,"); + --color-admonition-title--caution: #ff9100; + --color-admonition-title-background--caution: rgba(255, 145, 0, 0.2); + --color-admonition-title--warning: #ff9100; + --color-admonition-title-background--warning: rgba(255, 145, 0, 0.2); + --color-admonition-title--danger: #ff5252; + --color-admonition-title-background--danger: rgba(255, 82, 82, 0.2); + --color-admonition-title--attention: #ff5252; + --color-admonition-title-background--attention: rgba(255, 82, 82, 0.2); + --color-admonition-title--error: #ff5252; + --color-admonition-title-background--error: rgba(255, 82, 82, 0.2); + --color-admonition-title--hint: #00c852; + --color-admonition-title-background--hint: rgba(0, 200, 82, 0.2); + --color-admonition-title--tip: #00c852; + --color-admonition-title-background--tip: rgba(0, 200, 82, 0.2); + --color-admonition-title--important: #00bfa5; + --color-admonition-title-background--important: rgba(0, 191, 165, 0.2); + --color-admonition-title--note: #00b0ff; + --color-admonition-title-background--note: rgba(0, 176, 255, 0.2); + --color-admonition-title--seealso: #448aff; + --color-admonition-title-background--seealso: rgba(68, 138, 255, 0.2); + --color-admonition-title--admonition-todo: #808080; + --color-admonition-title-background--admonition-todo: rgba(128, 128, 128, 0.2); + --color-admonition-title: #651fff; + --color-admonition-title-background: rgba(101, 31, 255, 0.2); + --icon-admonition-default: var(--icon-abstract); + --color-topic-title: #14B8A6; + --color-topic-title-background: rgba(20, 184, 166, 0.2); + --icon-topic-default: var(--icon-pencil); + --color-problematic: #b30000; + --color-foreground-primary: #202123; + --color-foreground-secondary: #5a5c63; + --color-foreground-muted: #646776; + --color-foreground-border: #878787; + --color-background-primary: white; + --color-background-secondary: #f8f9fb; + --color-background-hover: #efeff4ff; + --color-background-hover--transparent: #efeff400; + --color-background-border: #eeebee; + --color-background-item: #ccc; + --color-announcement-background: #000000dd; + --color-announcement-text: #eeebee; + --color-brand-primary: #0f4a65; + --color-brand-content: #2a6cdf; + --color-brand-secondary: #624d2e; + --color-brand-secondary-transparent: rgba(217, 180, 129, 0.2); + --color-api-background: #f8f8fb; + --color-api-background-hover: var(--color-api-background); + --color-api-overall: var(--color-foreground-secondary); + --color-api-name: var(--color-brand-secondary); + --color-api-pre-name: var(--color-brand-secondary); + --color-api-paren: var(--color-foreground-secondary); + --color-api-keyword: var(--color-foreground-primary); + --color-highlight-on-target: #ffffcc; + --color-inline-code-background: var(--color-background-secondary); + --color-highlighted-background: #ddeeff; + --color-highlighted-text: var(--color-foreground-primary); + --color-guilabel-background: #ddeeff80; + --color-guilabel-border: #bedaf580; + --color-guilabel-text: var(--color-foreground-primary); + --color-admonition-background: transparent; + --color-table-header-background: var(--color-background-secondary); + --color-table-border: var(--color-background-border); + --color-card-border: var(--color-background-secondary); + --color-card-background: transparent; + --color-card-marginals-background: var(--color-background-secondary); + --color-header-background: var(--color-background-primary); + --color-header-border: var(--color-background-border); + --color-header-text: var(--color-foreground-primary); + --color-sidebar-background: var(--color-background-secondary); + --color-sidebar-background-border: var(--color-background-border); + --color-sidebar-item-current--hover: var(--color-brand-secondary) + --color-sidebar-brand-text: var(--color-foreground-primary); + --color-sidebar-caption-text: var(--color-foreground-primary); + --color-sidebar-link-text: var(--color-foreground-secondary); + --color-sidebar-link-text--top-level: var(--color-foreground-primary); + --color-sidebar-item-background: var(--color-sidebar-background); + --color-sidebar-item-background--current: var(--color-background-hover); + --color-sidebar-item-background--hover: var(--color-brand-secondary-transparent); + --color-sidebar-item-expander-background: transparent; + --color-sidebar-item-expander-background--hover: var( + --color-sidebar-item-background--hover + ); + --color-sidebar-search-text: var(--color-foreground-primary); + --color-sidebar-search-background: var(--color-background-border); + --color-sidebar-search-background--focus: var(--color-background-hover--transparent); + --color-sidebar-search-border: var(--color-background-border); + --color-sidebar-search-icon: var(--color-foreground-muted); + --color-toc-background: var(--color-background-primary); + --color-toc-title-text: var(--color-foreground-muted); + --color-toc-item-text: var(--color-foreground-secondary); + --color-toc-item-text--hover: var(--color-foreground-primary); + --color-toc-item-text--active: var(--color-brand-primary); + --color-content-foreground: var(--color-foreground-primary); + --color-content-background: transparent; + --color-link: var(--color-brand-content); + --color-link--hover: var(--color-brand-content); + --color-link-underline: var(--color-background-border); + --color-link-underline--hover: var(--color-foreground-border); + --color-farama-header-background-hover: rgba(0, 0, 0, 0.05); + --color-farama-button-background: rgb(0 0 0 / 10%); + --color-farama-button-background-hover: rgb(0 0 0 / 20%); +} + +.only-light { + display: block !important; +} + +html body .only-dark { + display: none !important; +} + +@media not print { + body[data-theme=dark] { + --color-problematic: #ee5151; + --color-foreground-primary: #ffffffcc; + --color-foreground-secondary: #9ca0a5; + --color-foreground-muted: #81868d; + --color-foreground-border: #666666; + --color-background-primary: #131416; + --color-background-secondary: #1a1c1e; + --color-background-hover: #1e2124ff; + --color-background-hover--transparent: #1e212400; + --color-background-border: #303335; + --color-background-item: #444; + --color-announcement-background: #000000dd; + --color-announcement-text: #eeebee; + --color-brand-primary: #0f4a65; + --color-brand-content: #419fe2; + --color-brand-secondary: #d3aa71; + --color-highlighted-background: #083563; + --color-guilabel-background: #08356380; + --color-guilabel-border: #13395f80; + --color-api-keyword: var(--color-foreground-secondary); + --color-highlight-on-target: #333300; + --color-admonition-background: #18181a; + --color-card-border: var(--color-background-secondary); + --color-card-background: #18181a; + --color-card-marginals-background: var(--color-background-hover); + --color-api-background: #202020; + --color-farama-header-background-hover: rgba(255, 255, 255, 0.1); + --color-farama-button-background: rgb(255 255 255 / 10%); + --color-farama-button-background-hover: rgb(255 255 255 / 20%); + } + html body[data-theme=dark] .only-light { + display: none !important; + } + body[data-theme=dark] .only-dark { + display: block !important; + } + @media (prefers-color-scheme: dark) { + body:not([data-theme=light]) { + --color-problematic: #ee5151; + --color-foreground-primary: #ffffffcc; + --color-foreground-secondary: #9ca0a5; + --color-foreground-muted: #81868d; + --color-foreground-border: #666666; + --color-background-primary: #131416; + --color-background-secondary: #1a1c1e; + --color-background-hover: #1e2124ff; + --color-background-hover--transparent: #1e212400; + --color-background-border: #303335; + --color-background-item: #444; + --color-announcement-background: #000000dd; + --color-announcement-text: #eeebee; + --color-brand-primary: #0f4a65; + --color-brand-content: #419fe2; + --color-brand-secondary: #d3aa71; + --color-highlighted-background: #083563; + --color-guilabel-background: #08356380; + --color-guilabel-border: #13395f80; + --color-api-keyword: var(--color-foreground-secondary); + --color-highlight-on-target: #333300; + --color-admonition-background: #18181a; + --color-card-border: var(--color-background-secondary); + --color-card-background: #18181a; + --color-card-marginals-background: var(--color-background-hover); + --color-api-background: #202020; + --color-farama-header-background-hover: rgba(255, 255, 255, 0.1); + --color-farama-button-background: rgb(255 255 255 / 10%); + --color-farama-button-background-hover: rgb(255 255 255 / 20%); + } + html body:not([data-theme=light]) .only-light { + display: none !important; + } + body:not([data-theme=light]) .only-dark { + display: block !important; + } + } +} +body[data-theme=auto] .theme-toggle svg.theme-icon-when-auto { + display: block; +} + +body[data-theme=dark] .theme-toggle svg.theme-icon-when-dark { + display: block; +} + +body[data-theme=light] .theme-toggle svg.theme-icon-when-light { + display: block; +} + +body { + font-family: var(--font-stack); +} + +pre, +code, +kbd, +samp { + font-family: var(--font-stack--monospace); +} + +body { + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +article { + line-height: 1.5; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1.25; + font-weight: bold; + border-radius: 0.5rem; + margin-top: 0.5rem; + margin-bottom: 1rem; + margin-left: -0.5rem; + margin-right: -0.5rem; + padding-left: 0.5rem; + padding-right: 0.5rem; +} +h1 + p, +h2 + p, +h3 + p, +h4 + p, +h5 + p, +h6 + p { + margin-top: 0; +} + +h1 { + font-size: 2.5em; + margin-top: 1.85rem; +} + +h2 { + font-size: 2em; + margin-top: 1.85rem; +} + +h3 { + font-size: 1.5em; +} + +h4 { + font-size: 1.25em; +} + +h5 { + font-size: 1.125em; +} + +h6 { + font-size: 1em; +} + +small { + opacity: 75%; + font-size: 80%; +} + +p { + margin-top: 0.5rem; + margin-bottom: 0.75rem; +} + +hr.docutils { + height: 1px; + padding: 0; + margin: 2rem 0; + background-color: var(--color-background-border); + border: 0; +} + +.centered { + text-align: center; +} + +a { + text-decoration: underline; + color: var(--color-link); + text-decoration-color: var(--color-link-underline); +} +a:hover { + color: var(--color-link--hover); + text-decoration-color: var(--color-link-underline--hover); +} +a.muted-link { + color: inherit; +} +a.muted-link:hover { + color: var(--color-brand-secondary); + text-decoration-color: var(--color-link-underline--hover); +} + +html { + overflow-x: hidden; + overflow-y: scroll; + scroll-behavior: smooth; +} + +.sidebar-scroll, .toc-scroll, article[role=main] * { + scrollbar-width: thin; + scrollbar-color: var(--color-foreground-border) transparent; +} +.sidebar-scroll::-webkit-scrollbar, .toc-scroll::-webkit-scrollbar, article[role=main] *::-webkit-scrollbar { + width: 0.25rem; + height: 0.25rem; +} +.sidebar-scroll::-webkit-scrollbar-thumb, .toc-scroll::-webkit-scrollbar-thumb, article[role=main] *::-webkit-scrollbar-thumb { + background-color: var(--color-foreground-border); + border-radius: 0.125rem; +} + +html, +body { + height: 100%; + color: var(--color-foreground-primary); + background: var(--color-background-primary); +} + +article { + color: var(--color-content-foreground); + background: var(--color-content-background); + overflow-wrap: break-word; +} + +.article-container { + position: relative; +} + +.page { + display: flex; + min-height: 100%; + box-sizing: border-box; +} + +.mobile-header { + width: 100%; + height: var(--header-height); + background-color: var(--color-header-background); + color: var(--color-header-text); + border-bottom: 1px solid var(--color-header-border); + z-index: 10; + display: none; +} +.mobile-header.scrolled { + border-bottom: none; + box-shadow: 0 0 0.2rem rgba(0, 0, 0, 0.1), 0 0.2rem 0.4rem rgba(0, 0, 0, 0.2); +} +.mobile-header .header-center a { + color: var(--color-header-text); + text-decoration: none; +} + +.main-container { + padding-top: var(--farama-header-height); + display: flex; + flex-direction: column; + flex: 1; +} + +.main { + display: flex; + flex: 1; +} + +.sidebar-drawer { + box-sizing: border-box; + border-right: 1px solid var(--color-sidebar-background-border); + background: var(--color-sidebar-background); + display: flex; + justify-content: flex-end; + width: calc((100% - 82em) / 2 + 15em); + min-width: 15em; +} + +.sidebar-container, +.toc-drawer { + box-sizing: border-box; + width: 15em; +} + +.toc-drawer { + background: var(--color-toc-background); + padding-right: 1rem; +} + +.sidebar-sticky, +.toc-sticky { + position: sticky; + top: 0; + height: min(100%, 100vh); + height: 100vh; + display: flex; + flex-direction: column; +} + +.sidebar-scroll, +.toc-scroll { + flex-grow: 1; + flex-shrink: 1; + overflow: auto; + scroll-behavior: smooth; +} + +.content { + padding: 0 3em; + width: 46em; + display: flex; + flex-direction: column; + justify-content: space-between; +} + +.icon { + display: inline-block; + height: 1rem; + width: 1rem; +} +.icon svg { + width: 100%; + height: 100%; +} + +.announcement { + background-color: var(--color-announcement-background); + color: var(--color-announcement-text); + height: var(--header-height); + display: flex; + align-items: center; + overflow-x: auto; +} +.announcement + .page { + min-height: calc(100% - var(--header-height)); +} + +.announcement-content { + box-sizing: border-box; + padding: 0.5rem; + min-width: 100%; + white-space: nowrap; + text-align: center; +} +.announcement-content a { + color: var(--color-announcement-text); + text-decoration-color: var(--color-announcement-text); +} +.announcement-content a:hover { + color: var(--color-announcement-text); + text-decoration-color: var(--color-link--hover); +} + +.no-js .theme-toggle-container { + display: none; +} + +.theme-toggle-container { + vertical-align: middle; +} + +.theme-toggle { + cursor: pointer; + border: none; + padding: 0; + background: transparent; +} + +.theme-toggle svg { + vertical-align: middle; + height: 1.2rem; + width: 1.2rem; + color: var(--color-foreground-primary); + display: none; +} +.theme-toggle svg:hover { + color: var(--color-brand-secondary); +} + +.theme-toggle-header { + float: left; + padding: 1rem 0.5rem; +} + +.toc-overlay-icon, .nav-overlay-icon { + display: none; + cursor: pointer; +} +.toc-overlay-icon .icon, .nav-overlay-icon .icon { + color: var(--color-foreground-primary); + height: 1.2rem; + width: 1.2rem; +} +.toc-overlay-icon .icon:hover, .nav-overlay-icon .icon:hover { + color: var(--color-brand-secondary); +} + +.toc-header-icon, .nav-overlay-icon { + justify-content: center; + align-items: center; +} + +.toc-content-icon { + height: 1.3rem; + width: 1.3rem; +} + +.content-icon-container { + position: absolute; + right: 0; + display: flex; + margin-top: 1.5rem; + margin-left: 1rem; + margin-bottom: 1rem; + gap: 0.5rem; +} +.content-icon-container .edit-this-page svg { + color: inherit; + height: 1.2rem; + width: 1.2rem; +} + +.sidebar-toggle { + position: absolute; + display: none; +} + +.sidebar-toggle[name=__toc] { + left: 20px; +} + +.sidebar-toggle:checked { + left: 40px; +} + +.overlay { + position: fixed; + top: 0; + width: 0; + height: 0; + transition: width 0ms, height 0ms, opacity 250ms ease-out; + opacity: 0; + background-color: rgba(0, 0, 0, 0.54); +} + +.sidebar-overlay { + z-index: 20; +} + +.toc-overlay { + z-index: 40; +} + +.sidebar-drawer { + z-index: 30; + transition: left 250ms ease-in-out; +} + +.toc-drawer { + z-index: 50; + transition: right 250ms ease-in-out; +} + +#__navigation:checked ~ .sidebar-overlay { + width: 100%; + height: 100%; + opacity: 1; +} +#__navigation:checked ~ .page .sidebar-drawer { + top: 0; + left: 0; +} + +#__toc:checked ~ .toc-overlay { + width: 100%; + height: 100%; + opacity: 1; +} +#__toc:checked ~ .page .toc-drawer { + top: 0; + right: 0; +} + +.back-to-top { + text-decoration: none; + display: none; + position: fixed; + left: 0; + top: 1rem; + padding: 0.5rem; + padding-right: 0.75rem; + border-radius: 1rem; + font-size: 0.8125rem; + background: var(--color-background-primary); + box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05), rgba(107, 114, 128, 0.5019607843) 0px 0px 1px 0px; + z-index: 10; + margin-left: 50%; + transform: translateX(-50%); +} +.back-to-top svg { + height: 1rem; + width: 1rem; + fill: currentColor; + display: inline-block; +} +.back-to-top span { + margin-left: 0.25rem; +} +.show-back-to-top .back-to-top { + display: flex; + align-items: center; +} + +@media (min-width: 97em) { + html { + font-size: 110%; + } +} +@media (max-width: 82em) { + .toc-content-icon { + display: flex; + } + .toc-drawer { + position: fixed; + height: 100vh; + top: 0; + right: -15em; + border-left: 1px solid var(--color-background-muted); + } + .toc-tree { + border-left: none; + font-size: var(--toc-font-size--mobile); + } + .sidebar-drawer { + width: calc((100% - 67em) / 2 + 15em); + } +} +@media (max-width: 67em) { + .farama-header { + position: fixed !important; + top: 0; + } + .farama-header__left--mobile { + display: flex !important; + z-index: 2; + } + .farama-header__center--mobile { + position: absolute; + height: 100%; + left: 0; + right: 0; + justify-content: center; + z-index: 1; + } + .toc-title-container { + padding-top: 65px !important; + } + .nav-overlay-icon { + display: flex; + } + .sidebar-drawer { + position: fixed; + height: 100vh; + width: 15em; + top: 0; + left: -15em; + } + .toc-header-icon { + display: flex; + } + .theme-toggle-header { + display: block; + } + .mobile-header { + position: sticky; + top: 0; + display: flex; + justify-content: space-between; + align-items: center; + } + .mobile-header .header-left, + .mobile-header .header-right { + display: flex; + height: var(--header-height); + padding: 0 var(--header-padding); + } + .mobile-header .header-left label, + .mobile-header .header-right label { + height: 100%; + width: 100%; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + } + .nav-overlay-icon .icon, + .theme-toggle svg { + height: 1.25rem; + width: 1.25rem; + } + :target { + scroll-margin-top: var(--header-height); + } + .back-to-top { + top: calc(var(--header-height) + 0.5rem); + } + .page { + flex-direction: column; + justify-content: center; + } + .content { + margin-left: auto; + margin-right: auto; + } + .farama-donate-banner { + margin-left: auto; + margin-right: auto; + } +} +@media (max-width: 52em) { + .content { + width: 100%; + overflow-x: auto; + } +} +@media (max-width: 46em) { + .farama-donate-banner { + padding: 1em 1em !important; + } + .content { + padding: 0 1em; + } + article aside.sidebar { + float: none; + width: 100%; + margin: 1rem 0; + } +} +.admonition, .topic { + margin: 1rem auto; + padding: 0 0.5rem 0.5rem 0.5rem; + background: var(--color-admonition-background); + border-radius: 0.2rem; + box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05), 0 0 0.0625rem rgba(0, 0, 0, 0.1); + font-size: var(--admonition-font-size); + overflow: hidden; + page-break-inside: avoid; +} +.admonition > :nth-child(2), .topic > :nth-child(2) { + margin-top: 0; +} +.admonition > :last-child, .topic > :last-child { + margin-bottom: 0; +} + +.admonition p.admonition-title, +p.topic-title { + position: relative; + margin: 0 -0.5rem 0.5rem; + padding-left: 2rem; + padding-right: 0.5rem; + padding-top: 0.4rem; + padding-bottom: 0.4rem; + font-weight: 500; + font-size: var(--admonition-title-font-size); + line-height: 1.3; +} +.admonition p.admonition-title::before, +p.topic-title::before { + content: ""; + position: absolute; + left: 0.5rem; + width: 1rem; + height: 1rem; +} + +p.admonition-title { + background-color: var(--color-admonition-title-background); +} +p.admonition-title::before { + background-color: var(--color-admonition-title); + -webkit-mask-image: var(--icon-admonition-default); + mask-image: var(--icon-admonition-default); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; +} + +p.topic-title { + background-color: var(--color-topic-title-background); +} +p.topic-title::before { + background-color: var(--color-topic-title); + -webkit-mask-image: var(--icon-topic-default); + mask-image: var(--icon-topic-default); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; +} + +.admonition { + border-left: 0.2rem solid var(--color-admonition-title); +} +.admonition.caution { + border-left-color: var(--color-admonition-title--caution); +} +.admonition.caution > .admonition-title { + background-color: var(--color-admonition-title-background--caution); +} +.admonition.caution > .admonition-title::before { + background-color: var(--color-admonition-title--caution); + -webkit-mask-image: var(--icon-spark); + mask-image: var(--icon-spark); +} +.admonition.warning { + border-left-color: var(--color-admonition-title--warning); +} +.admonition.warning > .admonition-title { + background-color: var(--color-admonition-title-background--warning); +} +.admonition.warning > .admonition-title::before { + background-color: var(--color-admonition-title--warning); + -webkit-mask-image: var(--icon-warning); + mask-image: var(--icon-warning); +} +.admonition.danger { + border-left-color: var(--color-admonition-title--danger); +} +.admonition.danger > .admonition-title { + background-color: var(--color-admonition-title-background--danger); +} +.admonition.danger > .admonition-title::before { + background-color: var(--color-admonition-title--danger); + -webkit-mask-image: var(--icon-spark); + mask-image: var(--icon-spark); +} +.admonition.attention { + border-left-color: var(--color-admonition-title--attention); +} +.admonition.attention > .admonition-title { + background-color: var(--color-admonition-title-background--attention); +} +.admonition.attention > .admonition-title::before { + background-color: var(--color-admonition-title--attention); + -webkit-mask-image: var(--icon-warning); + mask-image: var(--icon-warning); +} +.admonition.error { + border-left-color: var(--color-admonition-title--error); +} +.admonition.error > .admonition-title { + background-color: var(--color-admonition-title-background--error); +} +.admonition.error > .admonition-title::before { + background-color: var(--color-admonition-title--error); + -webkit-mask-image: var(--icon-failure); + mask-image: var(--icon-failure); +} +.admonition.hint { + border-left-color: var(--color-admonition-title--hint); +} +.admonition.hint > .admonition-title { + background-color: var(--color-admonition-title-background--hint); +} +.admonition.hint > .admonition-title::before { + background-color: var(--color-admonition-title--hint); + -webkit-mask-image: var(--icon-question); + mask-image: var(--icon-question); +} +.admonition.tip { + border-left-color: var(--color-admonition-title--tip); +} +.admonition.tip > .admonition-title { + background-color: var(--color-admonition-title-background--tip); +} +.admonition.tip > .admonition-title::before { + background-color: var(--color-admonition-title--tip); + -webkit-mask-image: var(--icon-info); + mask-image: var(--icon-info); +} +.admonition.important { + border-left-color: var(--color-admonition-title--important); +} +.admonition.important > .admonition-title { + background-color: var(--color-admonition-title-background--important); +} +.admonition.important > .admonition-title::before { + background-color: var(--color-admonition-title--important); + -webkit-mask-image: var(--icon-flame); + mask-image: var(--icon-flame); +} +.admonition.note { + border-left-color: var(--color-admonition-title--note); +} +.admonition.note > .admonition-title { + background-color: var(--color-admonition-title-background--note); +} +.admonition.note > .admonition-title::before { + background-color: var(--color-admonition-title--note); + -webkit-mask-image: var(--icon-pencil); + mask-image: var(--icon-pencil); +} +.admonition.seealso { + border-left-color: var(--color-admonition-title--seealso); +} +.admonition.seealso > .admonition-title { + background-color: var(--color-admonition-title-background--seealso); +} +.admonition.seealso > .admonition-title::before { + background-color: var(--color-admonition-title--seealso); + -webkit-mask-image: var(--icon-info); + mask-image: var(--icon-info); +} +.admonition.admonition-todo { + border-left-color: var(--color-admonition-title--admonition-todo); +} +.admonition.admonition-todo > .admonition-title { + background-color: var(--color-admonition-title-background--admonition-todo); +} +.admonition.admonition-todo > .admonition-title::before { + background-color: var(--color-admonition-title--admonition-todo); + -webkit-mask-image: var(--icon-pencil); + mask-image: var(--icon-pencil); +} + +.admonition-todo > .admonition-title { + text-transform: uppercase; +} + +dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) dd { + margin-left: 2rem; +} +dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) dd > :first-child { + margin-top: 0.125rem; +} +dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) dd > :last-child { + margin-bottom: 0.75rem; +} +dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) .field-list { + margin-bottom: 0.75rem; +} +dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) .field-list > dt { + text-transform: uppercase; + font-size: var(--font-size--small); +} +dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) .field-list dd:empty { + margin-bottom: 0.5rem; +} +dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) .field-list dd > ul { + margin-left: -1.2rem; +} +dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) .field-list dd > ul > li > p:nth-child(2) { + margin-top: 0; +} +dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) .field-list dd > ul > li > p + p:last-child:empty { + margin-top: 0; + margin-bottom: 0; +} +dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) > dt { + color: var(--color-api-overall); +} + +.sig:not(.sig-inline) { + font-weight: bold; + font-size: var(--api-font-size); + font-family: var(--font-stack--monospace); + margin-left: -0.5rem; + margin-right: -0.5rem; + padding-top: 0.5rem; + padding-bottom: 0.5rem; + padding-right: 0.5rem; + padding-left: 3em; + text-indent: -2.5em; + border-radius: 0.25rem; + border-top: 5px solid var(--color-brand-primary); + background: var(--color-api-background); + transition: background 100ms ease-out; +} +.sig:not(.sig-inline):hover { + background: var(--color-api-background-hover); +} +.sig:not(.sig-inline) a.reference .viewcode-link { + font-weight: normal; + width: 3.5rem; +} + +em.property { + font-style: normal; +} +em.property:first-child { + color: var(--color-api-keyword); +} + +.sig-name { + color: var(--color-api-name); +} + +.sig-prename { + font-weight: normal; + color: var(--color-api-pre-name); +} + +.sig-paren { + color: var(--color-api-paren); +} + +.sig-param { + font-style: normal; +} + +.versionmodified { + font-style: italic; +} + +div.versionadded p, div.versionchanged p, div.deprecated p { + margin-top: 0.125rem; + margin-bottom: 0.125rem; +} + +.viewcode-link, .viewcode-back { + float: right; + text-align: right; +} + +.line-block { + margin-top: 0.5rem; + margin-bottom: 0.75rem; +} +.line-block .line-block { + margin-top: 0rem; + margin-bottom: 0rem; + padding-left: 1rem; +} + +article p.caption, +table > caption, +.code-block-caption { + font-size: var(--font-size--small); + text-align: center; +} + +.toctree-wrapper.compound .caption, .toctree-wrapper.compound :not(.caption) > .caption-text { + font-size: var(--font-size--small); + text-transform: uppercase; + text-align: initial; + margin-bottom: 0; +} +.toctree-wrapper.compound > ul { + margin-top: 0; + margin-bottom: 0; +} + +code.literal, .sig-inline { + background: var(--color-inline-code-background); + border-radius: 0.2em; + font-size: var(--font-size--small--2); + padding: 0.1em 0.2em; +} +pre.literal-block code.literal, pre.literal-block .sig-inline { + font-size: inherit; + padding: 0; +} +p code.literal, p .sig-inline { + border: 1px solid var(--color-background-border); +} + +.sig-inline { + font-family: var(--font-stack--monospace); +} + +div[class*=" highlight-"], +div[class^=highlight-] { + margin: 1em 0; + display: flex; +} +div[class*=" highlight-"] .table-wrapper, +div[class^=highlight-] .table-wrapper { + margin: 0; + padding: 0; +} + +pre { + margin: 0; + padding: 0; + overflow: auto; +} +article[role=main] .highlight pre { + line-height: 1.5; +} +pre.literal-block, .highlight pre { + font-size: var(--code-font-size); + padding: 0.625rem 0.875rem; +} +pre.literal-block { + margin-top: 1rem; + margin-bottom: 1rem; + border-radius: 0.2rem; + background-color: var(--color-code-background); + color: var(--color-code-foreground); +} + +.highlight { + width: 100%; + border-radius: 0.2rem; +} +.highlight .gp, .highlight span.linenos { + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + pointer-events: none; +} +.highlight .hll { + display: block; + margin-left: -0.875rem; + margin-right: -0.875rem; + padding-left: 0.875rem; + padding-right: 0.875rem; +} + +/* Make code block captions be nicely integrated */ +.code-block-caption { + display: flex; + padding: 0.625rem 0.875rem; + border-radius: 0.25rem; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + font-weight: 300; + border-bottom: 1px solid; + background-color: var(--color-code-background); + color: var(--color-code-foreground); + border-color: var(--color-background-border); +} +.code-block-caption + div[class] { + margin-top: 0; +} +.code-block-caption + div[class] pre { + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.highlighttable { + width: 100%; + display: block; +} +.highlighttable tbody { + display: block; +} +.highlighttable tr { + display: flex; +} +.highlighttable td.linenos { + background-color: var(--color-code-background); + color: var(--color-code-foreground); + padding: 0.625rem 0.875rem; + padding-right: 0; + border-top-left-radius: 0.2rem; + border-bottom-left-radius: 0.2rem; +} +.highlighttable .linenodiv { + padding-right: 0.875rem; + font-size: var(--code-font-size); + box-shadow: -0.0625rem 0 var(--color-foreground-border) inset; +} +.highlighttable td.code { + padding: 0; + display: block; + flex: 1; + overflow: hidden; +} +.highlighttable td.code .highlight { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.highlight span.linenos { + display: inline-block; + padding-left: 0; + padding-right: 0.875rem; + margin-right: 0.875rem; + box-shadow: -0.0625rem 0 var(--color-foreground-border) inset; +} + +.footnote-reference { + font-size: var(--font-size--small--4); + vertical-align: super; +} + +dl.footnote.brackets { + font-size: var(--font-size--small); + color: var(--color-foreground-secondary); + display: grid; + grid-template-columns: max-content auto; +} +dl.footnote.brackets dt { + margin: 0; +} +dl.footnote.brackets dt > .fn-backref { + margin-left: 0.25rem; +} +dl.footnote.brackets dt:after { + content: ":"; +} +dl.footnote.brackets dt .brackets:before { + content: "["; +} +dl.footnote.brackets dt .brackets:after { + content: "]"; +} +dl.footnote.brackets dd { + margin: 0; + padding: 0 1rem; +} + +aside.footnote { + font-size: var(--font-size--small); + color: var(--color-foreground-secondary); +} + +aside.footnote > span, +div.citation > span { + float: left; + font-weight: 500; + padding-right: 0.25rem; +} + +aside.footnote > p, +div.citation > p { + margin-left: 2rem; +} + +img { + box-sizing: border-box; + max-width: 100%; + height: auto; +} + +article figure, article .figure { + border-radius: 0.2rem; + margin: 0; +} +article figure :last-child, article .figure :last-child { + margin-bottom: 0; +} +article .align-left { + float: left; + clear: left; + margin: 0 1rem 1rem; +} +article .align-right { + float: right; + clear: right; + margin: 0 1rem 1rem; +} +article .align-default, +article .align-center { + display: block; + text-align: center; + margin-left: auto; + margin-right: auto; +} +article table.align-default { + display: table; + text-align: initial; +} + +.genindex-jumpbox, .domainindex-jumpbox { + border-top: 1px solid var(--color-background-border); + border-bottom: 1px solid var(--color-background-border); + padding: 0.25rem; +} + +.genindex-section h2, .domainindex-section h2 { + margin-top: 0.75rem; + margin-bottom: 0.5rem; +} +.genindex-section ul, .domainindex-section ul { + margin-top: 0; + margin-bottom: 0; +} + +ul, +ol { + padding-left: 1.2rem; + margin-top: 1rem; + margin-bottom: 1rem; +} +ul li > p:first-child, +ol li > p:first-child { + margin-top: 0.25rem; + margin-bottom: 0.25rem; +} +ul li > p:last-child, +ol li > p:last-child { + margin-top: 0.25rem; +} +ul li > ul, +ul li > ol, +ol li > ul, +ol li > ol { + margin-top: 0.5rem; + margin-bottom: 0.5rem; +} + +ol.arabic { + list-style: decimal; +} +ol.loweralpha { + list-style: lower-alpha; +} +ol.upperalpha { + list-style: upper-alpha; +} +ol.lowerroman { + list-style: lower-roman; +} +ol.upperroman { + list-style: upper-roman; +} + +.simple li > ul, +.simple li > ol, +.toctree-wrapper li > ul, +.toctree-wrapper li > ol { + margin-top: 0; + margin-bottom: 0; +} + +.field-list dt, +.option-list dt, +dl:not([class]) dt, +dl.simple dt, +dl.footnote dt, +dl.glossary dt { + font-weight: 500; + margin-top: 0.25rem; +} +.field-list dt + dt, +.option-list dt + dt, +dl:not([class]) dt + dt, +dl.simple dt + dt, +dl.footnote dt + dt, +dl.glossary dt + dt { + margin-top: 0; +} +.field-list dt .classifier::before, +.option-list dt .classifier::before, +dl:not([class]) dt .classifier::before, +dl.simple dt .classifier::before, +dl.footnote dt .classifier::before, +dl.glossary dt .classifier::before { + content: ":"; + margin-left: 0.2rem; + margin-right: 0.2rem; +} +.field-list dd > p:first-child, +.field-list dd ul, +.option-list dd > p:first-child, +.option-list dd ul, +dl:not([class]) dd > p:first-child, +dl:not([class]) dd ul, +dl.simple dd > p:first-child, +dl.simple dd ul, +dl.footnote dd > p:first-child, +dl.footnote dd ul, +dl.glossary dd > p:first-child, +dl.glossary dd ul { + margin-top: 0.125rem; +} +.field-list dd ul, +.option-list dd ul, +dl:not([class]) dd ul, +dl.simple dd ul, +dl.footnote dd ul, +dl.glossary dd ul { + margin-bottom: 0.125rem; +} + +.math-wrapper { + width: 100%; + overflow-x: auto; +} + +div.math { + position: relative; + text-align: center; +} +div.math .headerlink, div.math:focus .headerlink { + display: none; +} +div.math:hover .headerlink { + display: inline-block; +} +div.math span.eqno { + position: absolute; + right: 0.5rem; + top: 50%; + transform: translate(0, -50%); + z-index: 1; +} + +abbr[title] { + cursor: help; +} + +.problematic { + color: var(--color-problematic); +} + +kbd:not(.compound) { + margin: 0 0.2rem; + padding: 0 0.2rem; + border-radius: 0.2rem; + border: 1px solid var(--color-foreground-border); + color: var(--color-foreground-primary); + vertical-align: text-bottom; + font-size: var(--font-size--small--3); + display: inline-block; + box-shadow: 0 0.0625rem 0 rgba(0, 0, 0, 0.2), inset 0 0 0 0.125rem var(--color-background-primary); + background-color: var(--color-background-secondary); +} + +blockquote { + border-left: 4px solid var(--color-background-border); + background: var(--color-background-secondary); + margin-left: 0; + margin-right: 0; + padding: 0.5rem 1rem; +} +blockquote .attribution { + font-weight: 600; + text-align: right; +} +blockquote.pull-quote, blockquote.highlights { + font-size: 1.25em; +} +blockquote.epigraph, blockquote.pull-quote { + border-left-width: 0; + border-radius: 0.5rem; +} +blockquote.highlights { + border-left-width: 0; + background: transparent; +} + +p .reference img { + vertical-align: middle; +} + +p.rubric { + line-height: 1.25; + font-weight: bold; + font-size: 1.125em; +} +dd p.rubric { + line-height: inherit; + font-weight: inherit; + font-size: var(--font-size--small); + text-transform: uppercase; +} + +article .sidebar { + float: right; + clear: right; + width: 30%; + margin-left: 1rem; + margin-right: 0; + border-radius: 0.2rem; + background-color: var(--color-background-secondary); + border: var(--color-background-border) 1px solid; +} +article .sidebar > * { + padding-left: 1rem; + padding-right: 1rem; +} +article .sidebar > ul, article .sidebar > ol { + padding-left: 2.2rem; +} +article .sidebar .sidebar-title { + margin: 0; + padding: 0.5rem 1rem; + border-bottom: var(--color-background-border) 1px solid; + font-weight: 500; +} + +.table-wrapper { + width: 100%; + overflow-x: auto; + margin-top: 1rem; + margin-bottom: 0.5rem; + padding: 0.2rem 0.2rem 0.75rem; +} + +table.docutils { + border-radius: 0.2rem; + border-spacing: 0; + border-collapse: collapse; + box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05), 0 0 0.0625rem rgba(0, 0, 0, 0.1); +} +table.docutils th { + background: var(--color-table-header-background); +} +table.docutils td, +table.docutils th { + padding: 0 0.25rem; + border-left: 1px solid var(--color-table-border); + border-right: 1px solid var(--color-table-border); + border-bottom: 1px solid var(--color-table-border); +} +table.docutils td p, +table.docutils th p { + margin: 0.25rem; +} +table.docutils td:first-child, +table.docutils th:first-child { + border-left: none; +} +table.docutils td:last-child, +table.docutils th:last-child { + border-right: none; +} +table.docutils td.text-left, +table.docutils th.text-left { + text-align: left; +} +table.docutils td.text-right, +table.docutils th.text-right { + text-align: right; +} +table.docutils td.text-center, +table.docutils th.text-center { + text-align: center; +} + +:target { + scroll-margin-top: 0.5rem; +} + +@media (max-width: 67em) { + :target { + scroll-margin-top: calc(0.5rem + var(--header-height)); + } + section > span:target { + scroll-margin-top: calc(0.8rem + var(--header-height)); + } +} +.headerlink { + font-weight: 100; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} + +h1 > .headerlink, +h2 > .headerlink, +h3 > .headerlink, +h4 > .headerlink, +h5 > .headerlink, +h6 > .headerlink, +dl dt > .headerlink, +p.caption > .headerlink, +figcaption p > .headerlink, +table > caption > .headerlink, +.code-block-caption > .headerlink { + margin-left: 0.5rem; + visibility: hidden; +} +h1:hover > .headerlink, +h2:hover > .headerlink, +h3:hover > .headerlink, +h4:hover > .headerlink, +h5:hover > .headerlink, +h6:hover > .headerlink, +dl dt:hover > .headerlink, +p.caption:hover > .headerlink, +figcaption p:hover > .headerlink, +table > caption:hover > .headerlink, +.code-block-caption:hover > .headerlink { + visibility: visible; +} +h1 > .toc-backref, +h2 > .toc-backref, +h3 > .toc-backref, +h4 > .toc-backref, +h5 > .toc-backref, +h6 > .toc-backref, +dl dt > .toc-backref, +p.caption > .toc-backref, +figcaption p > .toc-backref, +table > caption > .toc-backref, +.code-block-caption > .toc-backref { + color: inherit; + text-decoration-line: none; +} + +figure:hover > figcaption > p > .headerlink, +table:hover > caption > .headerlink { + visibility: visible; +} + +:target > h1:nth-of-type(1), +:target > h2:nth-of-type(1), +:target > h3:nth-of-type(1), +:target > h4:nth-of-type(1), +:target > h5:nth-of-type(1), +:target > h6:nth-of-type(1), +span:target ~ h1:nth-of-type(1), +span:target ~ h2:nth-of-type(1), +span:target ~ h3:nth-of-type(1), +span:target ~ h4:nth-of-type(1), +span:target ~ h5:nth-of-type(1), +span:target ~ h6:nth-of-type(1) { + background-color: var(--color-highlight-on-target); +} +:target > h1:nth-of-type(1) code.literal, +:target > h2:nth-of-type(1) code.literal, +:target > h3:nth-of-type(1) code.literal, +:target > h4:nth-of-type(1) code.literal, +:target > h5:nth-of-type(1) code.literal, +:target > h6:nth-of-type(1) code.literal, +span:target ~ h1:nth-of-type(1) code.literal, +span:target ~ h2:nth-of-type(1) code.literal, +span:target ~ h3:nth-of-type(1) code.literal, +span:target ~ h4:nth-of-type(1) code.literal, +span:target ~ h5:nth-of-type(1) code.literal, +span:target ~ h6:nth-of-type(1) code.literal { + background-color: transparent; +} + +table:target > caption, +figure:target { + background-color: var(--color-highlight-on-target); +} + +.this-will-duplicate-information-and-it-is-still-useful-here li :target { + background-color: var(--color-highlight-on-target); +} + +.literal-block-wrapper:target .code-block-caption { + background-color: var(--color-highlight-on-target); +} + +dt:target { + background-color: var(--color-highlight-on-target) !important; +} + +.footnote > dt:target + dd, +.footnote-reference:target { + background-color: var(--color-highlight-on-target); +} + +.guilabel { + background-color: var(--color-guilabel-background); + border: 1px solid var(--color-guilabel-border); + color: var(--color-guilabel-text); + padding: 0 0.3em; + border-radius: 0.5em; + font-size: 0.9em; +} + +footer { + font-size: var(--font-size--small); + display: flex; + flex-direction: column; + margin-top: 2rem; +} + +.bottom-of-page { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: 1rem; + padding-top: 1rem; + padding-bottom: 1rem; + color: var(--color-foreground-secondary); + border-top: 1px solid var(--color-background-border); + line-height: 1.5; +} +@media (max-width: 46em) { + .bottom-of-page { + text-align: center; + flex-direction: column-reverse; + gap: 0.25rem; + } +} +.bottom-of-page .left-details { + font-size: var(--font-size--small); +} +.bottom-of-page .right-details { + display: flex; + flex-direction: column; + gap: 0.25rem; + text-align: right; +} +.bottom-of-page .icons { + display: flex; + justify-content: flex-end; + gap: 0.25rem; + font-size: 1rem; +} +.bottom-of-page .icons a { + text-decoration: none; +} +.bottom-of-page .icons svg, +.bottom-of-page .icons img { + font-size: 1.5rem; + height: 1em; + width: 1em; +} + +.related-pages a { + display: flex; + align-items: center; + text-decoration: none; +} +.related-pages a:hover .page-info .title { + text-decoration: underline; + color: var(--color-link); + text-decoration-color: var(--color-link-underline); +} +.related-pages a svg.furo-related-icon, +.related-pages a svg.furo-related-icon > use { + flex-shrink: 0; + color: var(--color-foreground-border); + width: 1.25rem; + height: 1.25rem; + margin: 0 0.5rem; +} +.related-pages a.next-page { + max-width: 50%; + float: right; + clear: right; + text-align: right; +} +.related-pages a.prev-page { + max-width: 50%; + float: left; + clear: left; +} +.related-pages a.prev-page svg { + transform: rotate(180deg); +} + +.page-info { + display: flex; + flex-direction: column; + overflow-wrap: anywhere; +} +.next-page .page-info { + align-items: flex-end; +} +.page-info .context { + display: flex; + align-items: center; + padding-bottom: 0.1rem; + color: var(--color-foreground-muted); + font-size: var(--font-size--small); + text-decoration: none; +} + +ul.search { + padding-left: 0; + list-style: none; +} +ul.search li { + padding: 1rem 0; + border-bottom: 1px solid var(--color-background-border); +} + +[role=main] .highlighted { + background-color: var(--color-highlighted-background); + color: var(--color-highlighted-text); +} + +.sidebar-brand { + display: flex; + flex-direction: column; + flex-shrink: 0; + padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal); + text-decoration: none; +} + +.sidebar-brand-text { + color: var(--color-sidebar-brand-text); + overflow-wrap: break-word; + margin: var(--sidebar-item-spacing-vertical) 0; + font-size: 1.5rem; +} + +.sidebar-logo-container { + margin: var(--sidebar-item-spacing-vertical) 0; +} + +.sidebar-logo { + margin: 0 auto; + display: block; + max-width: 100%; +} + +.sidebar-search-container { + display: flex; + align-items: center; + margin: var(--sidebar-search-space-above) var(--sidebar-search-space-lateral) 0 var(--sidebar-search-space-lateral); + position: relative; + background: var(--color-sidebar-search-background); + transition: 0.2s background ease; +} +.sidebar-search-container:hover, .sidebar-search-container:focus-within { + background: var(--color-sidebar-search-background--focus); +} +.sidebar-search-container::before { + content: ""; + position: absolute; + left: var(--sidebar-item-spacing-horizontal); + width: var(--sidebar-search-icon-size); + height: var(--sidebar-search-icon-size); + background-color: var(--color-sidebar-search-icon); + -webkit-mask-image: var(--icon-search); + mask-image: var(--icon-search); +} + +.sidebar-search-container { + border-radius: var(--sidebar-search-border-radius); +} + +.sidebar-search { + box-sizing: border-box; + border: none; + border: 1px solid var(--color-sidebar-search-border); + border-radius: var(--sidebar-search-border-radius); + padding-top: var(--sidebar-search-input-spacing-vertical); + padding-bottom: var(--sidebar-search-input-spacing-vertical); + padding-right: var(--sidebar-search-input-spacing-horizontal); + padding-left: calc(var(--sidebar-item-spacing-horizontal) + var(--sidebar-search-input-spacing-horizontal) + var(--sidebar-search-icon-size)); + width: 100%; + color: var(--color-sidebar-search-foreground); + background: transparent; + z-index: 10; +} +.sidebar-search:focus { + outline: none; +} +.sidebar-search::-moz-placeholder { + font-size: var(--sidebar-search-input-font-size); +} +.sidebar-search::placeholder { + font-size: var(--sidebar-search-input-font-size); +} + +#searchbox .highlight-link { + padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal) 0; + margin: 0; + text-align: center; +} +#searchbox .highlight-link a { + color: var(--color-sidebar-search-icon); + font-size: var(--font-size--small--2); +} + +.sidebar-tree { + font-size: var(--sidebar-item-font-size); + margin-top: var(--sidebar-tree-space-above); + margin-bottom: var(--sidebar-item-spacing-vertical); + margin-left: var(--sidebar-tree-space-horizontal); + margin-right: var(--sidebar-tree-space-horizontal); +} +.sidebar-tree ul { + padding: 0; + margin-top: 0; + margin-bottom: 0; + display: flex; + flex-direction: column; + list-style: none; +} +.sidebar-tree li { + position: relative; + margin: 0; +} +.sidebar-tree li > ul { + margin-left: var(--sidebar-item-spacing-horizontal); +} +.sidebar-tree .icon { + color: var(--color-sidebar-link-text); +} +.sidebar-tree .reference { + box-sizing: border-box; + color: var(--color-sidebar-link-text); + border-radius: var(--sidebar-item-border-radius); + display: inline-block; + line-height: var(--sidebar-item-line-height); + text-decoration: none; + overflow-wrap: anywhere; + height: 100%; + width: 100%; + padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal); + transition: 0.2s background ease, 0.2s color ease; +} +.sidebar-tree .reference:hover { + background: var(--color-sidebar-item-background--hover); +} +.sidebar-tree .reference.external::after { + content: url("data:image/svg+xml,"); + margin: 0 0.25rem; + vertical-align: middle; + color: var(--color-sidebar-link-text); +} +.sidebar-tree .current-page > .reference { + font-weight: bold; +} +.sidebar-tree label { + position: absolute; + top: 0; + right: 0; + height: var(--sidebar-item-height); + width: var(--sidebar-expander-width); + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + display: flex; + justify-content: center; + align-items: center; + border-top-right-radius: var(--sidebar-item-border-radius); + border-bottom-right-radius: var(--sidebar-item-border-radius); +} +.sidebar-tree .caption, .sidebar-tree :not(.caption) > .caption-text { + font-size: var(--sidebar-caption-font-size); + color: var(--color-sidebar-caption-text); + font-weight: bold; + text-transform: uppercase; + letter-spacing: 0.08em; + margin: var(--sidebar-caption-space-above) 0 0 0; + padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal); +} +.sidebar-tree li.has-children > .reference { + padding-right: var(--sidebar-expander-width); +} +.sidebar-tree .toctree-l1 > .reference, .sidebar-tree .toctree-l1 > label .icon { + color: var(--color-sidebar-link-text--top-level); +} +.sidebar-tree label { + background: var(--color-sidebar-item-expander-background); + transition: 0.2s background ease; +} +.sidebar-tree label:hover { + background: var(--color-sidebar-item-expander-background--hover); +} +.sidebar-tree a.current.reference { + background: var(--color-sidebar-item-background--current); +} +.sidebar-tree .reference:hover { + background: var(--color-sidebar-item-background--hover); + color: var(--color-sidebar-item-current--hover); +} + +.toctree-checkbox { + position: absolute; + display: none; +} + +.toctree-checkbox ~ ul { + display: none; +} +.toctree-checkbox ~ label .icon svg { + transform: rotate(90deg); +} + +.toctree-checkbox:checked ~ ul { + display: block; +} +.toctree-checkbox:checked ~ label .icon svg { + transform: rotate(-90deg); +} + +.toc-title-container { + padding: var(--toc-title-padding); + padding-top: var(--toc-spacing-vertical); +} + +.toc-title { + color: var(--color-toc-title-text); + font-size: var(--toc-title-font-size); + padding-left: var(--toc-spacing-horizontal); + text-transform: uppercase; +} + +.no-toc { + display: none; +} + +.toc-tree-container { + padding-bottom: var(--toc-spacing-vertical); +} + +.toc-tree { + font-size: var(--toc-font-size); + line-height: 1.3; + border-left: 1px solid var(--color-background-border); + padding-left: calc(var(--toc-spacing-horizontal) - var(--toc-item-spacing-horizontal)); +} +.toc-tree > ul > li:first-child { + padding-top: 0; +} +.toc-tree > ul > li:first-child > ul { + padding-left: 0; +} +.toc-tree > ul > li:first-child > a { + display: none; +} +.toc-tree ul { + list-style-type: none; + margin-top: 0; + margin-bottom: 0; + padding-left: var(--toc-item-spacing-horizontal); +} +.toc-tree li { + padding-top: var(--toc-item-spacing-vertical); +} +.toc-tree li.scroll-current > .reference { + color: var(--color-toc-item-text--active); + font-weight: bold; +} +.toc-tree li code.literal { + font-size: var(--font-size--small); + border: 1px solid var(--color-background-border); +} +.toc-tree .reference { + color: var(--color-toc-item-text); + text-decoration: none; + overflow-wrap: anywhere; +} + +.toc-scroll { + max-height: 100vh; + overflow-y: scroll; +} + +.contents:not(.this-will-duplicate-information-and-it-is-still-useful-here) { + color: var(--color-problematic); + background: rgba(255, 0, 0, 0.25); +} +.contents:not(.this-will-duplicate-information-and-it-is-still-useful-here)::before { + content: "ERROR: Adding a table of contents in Furo-based documentation is unnecessary, and does not work well with existing styling.Add a 'this-will-duplicate-information-and-it-is-still-useful-here' class, if you want an escape hatch."; +} + +.text-align\:left > p { + text-align: left; +} + +.text-align\:center > p { + text-align: center; +} + +.text-align\:right > p { + text-align: right; +} + +/*# sourceMappingURL=furo.css.map*/ diff --git a/docs/_builddir/_static/styles/furo.css.map b/docs/_builddir/_static/styles/furo.css.map new file mode 100644 index 000000000..e2ffb1f6d --- /dev/null +++ b/docs/_builddir/_static/styles/furo.css.map @@ -0,0 +1 @@ +{"version":3,"file":"styles/furo.css","mappings":";;;AAAA,2EAA2E;;AAE3E;+EAC+E;;AAE/E;;;EAGE;;AAEF;EACE,iBAAiB,EAAE,MAAM;EACzB,8BAA8B,EAAE,MAAM;AACxC;;AAEA;+EAC+E;;AAE/E;;EAEE;;AAEF;EACE,SAAS;AACX;;AAEA;;EAEE;;AAEF;EACE,cAAc;AAChB;;AAEA;;;EAGE;;AAEF;EACE,cAAc;EACd,gBAAgB;AAClB;;AAEA;+EAC+E;;AAE/E;;;EAGE;;AAEF;EACE,uBAAuB,EAAE,MAAM;EAC/B,SAAS,EAAE,MAAM;EACjB,iBAAiB,EAAE,MAAM;AAC3B;;AAEA;;;EAGE;;AAEF;EACE,iCAAiC,EAAE,MAAM;EACzC,cAAc,EAAE,MAAM;AACxB;;AAEA;+EAC+E;;AAE/E;;EAEE;;AAEF;EACE,6BAA6B;AAC/B;;AAEA;;;EAGE;;AAEF;EACE,mBAAmB,EAAE,MAAM;EAC3B,0BAA0B,EAAE,MAAM;EAClC,iCAAiC,EAAE,MAAM;AAC3C;;AAEA;;EAEE;;AAEF;;EAEE,mBAAmB;AACrB;;AAEA;;;EAGE;;AAEF;;;EAGE,iCAAiC,EAAE,MAAM;EACzC,cAAc,EAAE,MAAM;AACxB;;AAEA;;EAEE;;AAEF;EACE,cAAc;AAChB;;AAEA;;;EAGE;;AAEF;;EAEE,cAAc;EACd,cAAc;EACd,kBAAkB;EAClB,wBAAwB;AAC1B;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,WAAW;AACb;;AAEA;+EAC+E;;AAE/E;;EAEE;;AAEF;EACE,kBAAkB;AACpB;;AAEA;+EAC+E;;AAE/E;;;EAGE;;AAEF;;;;;EAKE,oBAAoB,EAAE,MAAM;EAC5B,eAAe,EAAE,MAAM;EACvB,iBAAiB,EAAE,MAAM;EACzB,SAAS,EAAE,MAAM;AACnB;;AAEA;;;EAGE;;AAEF;QACQ,MAAM;EACZ,iBAAiB;AACnB;;AAEA;;;EAGE;;AAEF;SACS,MAAM;EACb,oBAAoB;AACtB;;AAEA;;EAEE;;AAEF;;;;EAIE,0BAA0B;AAC5B;;AAEA;;EAEE;;AAEF;;;;EAIE,kBAAkB;EAClB,UAAU;AACZ;;AAEA;;EAEE;;AAEF;;;;EAIE,8BAA8B;AAChC;;AAEA;;EAEE;;AAEF;EACE,8BAA8B;AAChC;;AAEA;;;;;EAKE;;AAEF;EACE,sBAAsB,EAAE,MAAM;EAC9B,cAAc,EAAE,MAAM;EACtB,cAAc,EAAE,MAAM;EACtB,eAAe,EAAE,MAAM;EACvB,UAAU,EAAE,MAAM;EAClB,mBAAmB,EAAE,MAAM;AAC7B;;AAEA;;EAEE;;AAEF;EACE,wBAAwB;AAC1B;;AAEA;;EAEE;;AAEF;EACE,cAAc;AAChB;;AAEA;;;EAGE;;AAEF;;EAEE,sBAAsB,EAAE,MAAM;EAC9B,UAAU,EAAE,MAAM;AACpB;;AAEA;;EAEE;;AAEF;;EAEE,YAAY;AACd;;AAEA;;;EAGE;;AAEF;EACE,6BAA6B,EAAE,MAAM;EACrC,oBAAoB,EAAE,MAAM;AAC9B;;AAEA;;EAEE;;AAEF;EACE,wBAAwB;AAC1B;;AAEA;;;EAGE;;AAEF;EACE,0BAA0B,EAAE,MAAM;EAClC,aAAa,EAAE,MAAM;AACvB;;AAEA;+EAC+E;;AAE/E;;EAEE;;AAEF;EACE,cAAc;AAChB;;AAEA;;EAEE;;AAEF;EACE,kBAAkB;AACpB;;AAEA;+EAC+E;;AAE/E;;EAEE;;AAEF;EACE,aAAa;AACf;;AAEA;;EAEE;;AAEF;EACE,aAAa;AACf;;;;;ACvVA;EAEE;IACE;ECJF;EDOA;IACE;ECLF;EDQA;IACE;ECNF;EDSA;IACE;ECPF;AACF;ADWA;EAEE;IACE;ECVF;AACF;ADcA;EACE;IACE;ECZF;EDcA;IACE;IACA;ECZF;EDcA;IACE;ECZF;AACF;AC/BA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ADiCF;;AC/BA;EACE;ADkCF;;AEzCA;ECGE;iDAAA;EAEA;8CAAA;EAGA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA;EACA;EAKA;EACA;EAGA;EAGA;EChCA;;GAAA;EAGA;EAGA;EACA;EACA;EAEA;EACA;EACA;EACA;;GAAA;EAIA;EAEA;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EAEA;EACA;ECZE;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;ECYA;EACA;EADA;EACA;EADA;EACA;EADA;EACA;EADA;EACA;EADA;EACA;EADA;EACA;EADA;EACA;EADA;EACA;EADA;EACA;EADA;EACA;EAhBF;EACA;EAEA;EAIA;EACA;EAEA;EC3BA;EAGA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;EAGA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAGA;EAGA;EACA;EAGA;EACA;EACA;EAGA;EAUA;EACA;EAGA;EACA;EACA;EAGA;EACA;EACA;EAGA;EACA;EACA;6DAAA;EAEA;EACA;EACA;EAEA;EACA;EAQA;EAEA;EACA;;GAAA;EAIA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EAGA;EACA;EAGA;EACA;EACA;EACA;EAGA;EAEA;EACA;APyEF;;AE9LA;EACE;AFiMF;;AEhMA;EACE;AFmMF;;AEhMA;EAEE;IKkHA;IAGA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IAGA;IACA;IAGA;IACA;IACA;IAGA;IAGA;IACA;IAGA;IACA;IAGA;IAGA;IACA;IACA;IAGA;IAGA;IAEA;IACA;EP2DA;EE5NE;IACE;EF8NJ;EE7NE;IACE;EF+NJ;EE5NA;IACE;MKwGF;MAGA;MACA;MACA;MACA;MAEA;MACA;MACA;MACA;MACA;MACA;MAGA;MACA;MAGA;MACA;MACA;MAGA;MAGA;MACA;MAGA;MACA;MAGA;MAGA;MACA;MACA;MAGA;MAGA;MAEA;MACA;IPiGE;IExPE;MACE;IF0PJ;IEzPE;MACE;IF2PJ;EACF;AACF;AEvPE;EACE;AFyPJ;;AEtPE;EACE;AFyPJ;;AEtPE;EACE;AFyPJ;;AQ5SA;EACE;AR+SF;;AQ9SA;;;;EAIE;ARiTF;;AQ9SA;EACE;EACA;ARiTF;;AQ9SA;EACE;ARiTF;;AQ5SA;;;;;;EAME;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;AR8SF;AQ5SE;;;;;;EACE;ARmTJ;;AQjTA;EACE;EACA;ARoTF;;AQnTA;EACE;EACA;ARsTF;;AQrTA;EACE;ARwTF;;AQvTA;EACE;AR0TF;;AQzTA;EACE;AR4TF;;AQ3TA;EACE;AR8TF;;AQ5TA;EACE;EACA;AR+TF;;AQ5TA;EACE;EACA;AR+TF;;AQ5TA;EACE;EACA;EACA;EACA;EACA;AR+TF;;AQ7TA;EACE;ARgUF;;AQ7TA;EACE;EAEA;EACA;AR+TF;AQ7TE;EACE;EACA;AR+TJ;AQ9TE;EACE;ARgUJ;AQ/TI;EACE;EACA;ARiUN;;AS1YA;EACE;EACA;EACA;AT6YF;;AS3YA;EAEE;EACA;AT6YF;AS1YE;EACE;EACA;AT4YJ;AS3YE;EACE;EACA;AT6YJ;;ASxYA;;EAEE;EACA;EACA;AT2YF;;ASzYA;EACE;EACA;EACA;AT4YF;;AS1YA;EACE;AT6YF;;AS3YA;EACE;EAEA;EACA;AT6YF;;AS3YA;EACE;EACA;EACA;EACA;EACA;EAIA;EAGA;ATyYF;AStYE;EACE;EACA;ATwYJ;ASrYI;EACE;EACA;ATuYN;;ASrYA;EACE;EACA;EACA;EACA;ATwYF;;AStYA;EACE;EACA;ATyYF;;AStYA;EACE;EAEA;EACA;EAEA;EACA;EAEA;EACA,eClGc;AVwehB;;ASnYA;;EAEE;EACA,WCxGc;AV8ehB;;ASpYA;EACE;EAEA;ATsYF;;ASpYA;;EAEE;EACA;EACA;EACA;EACA;EACA;ATuYF;;ASrYA;;EAEE;EACA;EAEA;EACA;ATuYF;;ASpYA;EACE;EACA,WCpIc;EDsId;EACA;EACA;ATsYF;;ASpYA;EACE;EACA;EACA;ATuYF;AStYE;EACE;EACA;ATwYJ;;ASnYA;EACE;EACA;EAEA;EACA;EACA;EACA;ATqYF;ASpYE;EACE;ATsYJ;;ASpYA;EACE;EACA;EACA;EACA;EACA;ATuYF;ASrYE;EACE;EACA;ATuYJ;ASrYI;EACE;EACA;ATuYN;;ASlYA;EACE;ATqYF;;ASnYA;EACE;ATsYF;;ASpYA;EACE;EACA;EACA;EACA;ATuYF;;ASrYA;EACE;EACA;EACA;EACA;EACA;ATwYF;AStYE;EACE;ATwYJ;;AStYA;EACE;EACA;ATyYF;;ASpYA;EACE;EACA;ATuYF;ASrYE;EACE;EACA;EACA;ATuYJ;ASrYI;EACE;ATuYN;;ASrYA;EAEE;EACA;ATuYF;;ASrYA;EACE;EACA;ATwYF;;AStYA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;ATyYF;ASvYE;EACE;EACA;EACA;ATyYJ;;ASvYA;EACE;EACA;AT0YF;;ASxYA;EACE;AT2YF;;AS1YA;EACE;AT6YF;;AS1YA;EACE;EACA;EACA;EACA;EAEA;EAEA;EACA;AT2YF;;AS1YA;EACE;AT6YF;;AS5YA;EACE;AT+YF;;AS5YA;EACE;EACA;AT+YF;;AS9YA;EACE;EACA;ATiZF;;AS7YE;EACE;EACA;EACA;ATgZJ;AS9YI;EACE;EACA;ATgZN;;AS7YE;EACE;EACA;EACA;ATgZJ;AS9YI;EACE;EACA;ATgZN;;AS3YA;EACE;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EAEA;EAEA;EACA;AT0YF;ASzYE;EACE;EACA;EACA;EACA;AT2YJ;ASzYE;EACE;AT2YJ;ASzYE;EACE;EACA;AT2YJ;;ASrYA;EACE;IACE;ETwYF;AACF;ASvYA;EAEE;IACE;ETwYF;ESvYA;IACE;IACA;IACA;IACA;IACA;ETyYF;ESxYA;IACE;IACA;ET0YF;ESvYA;IACE;ETyYF;AACF;ASxYA;EACE;IACE;IACA;ET0YF;ESxYA;IACE;IACA;ET0YF;ESxYA;IACE;IACA;IACA;IACA;IACA;IACA;ET0YF;ESxYA;IACE;ET0YF;ESvYA;IACE;ETyYF;ESxYA;IACE;IACA;IACA,WC9XY;IDgYZ;IACA;ETyYF;EStYA;IACE;ETwYF;ESvYA;IACE;ETyYF;EStYA;IACE;IACA;IACA;IACA;IACA;ETwYF;EStYE;;IAEE;IACA;IACA;ETwYJ;ESvYI;;IACE;IACA;IACA;OAAA;YAAA;ET0YN;ESxYA;;IAEE;IACA;ET0YF;ESvYA;IACE;ETyYF;EStYA;IACE;ETwYF;ESrYA;IACE;IACA;ETuYF;EStYA;IACE;IACA;ETwYF;EStYA;IACE;IACA;ETwYF;AACF;ASvYA;EAEE;IACE;IACA;ETwYF;AACF;ASvYA;EACE;IACE;ETyYF;ESvYA;IACE;ETyYF;ESvYA;IACE;IACA;IACA;ETyYF;AACF;AWn1BA;EACE;EACA;EAEA;EAEA;EACA;EAEA;EAEA;EACA;AXi1BF;AW90BE;EACE;AXg1BJ;AW70BE;EACE;AX+0BJ;;AW70BA;;EAEE;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;AX+0BF;AW50BE;;EACE;EACA;EACA;EACA;EACA;AX+0BJ;;AW50BA;EACE;AX+0BF;AW90BE;EACE;EACA;UAAA;EACA;UAAA;AXg1BJ;;AW90BA;EACE;AXi1BF;AWh1BE;EACE;EACA;UAAA;EACA;UAAA;AXk1BJ;;AW70BA;EACE;AXg1BF;AW70BI;EACE;AX+0BN;AW90BM;EACE;AXg1BR;AW/0BQ;EACE;EACA;UAAA;AXi1BV;AWv1BI;EACE;AXy1BN;AWx1BM;EACE;AX01BR;AWz1BQ;EACE;EACA;UAAA;AX21BV;AWj2BI;EACE;AXm2BN;AWl2BM;EACE;AXo2BR;AWn2BQ;EACE;EACA;UAAA;AXq2BV;AW32BI;EACE;AX62BN;AW52BM;EACE;AX82BR;AW72BQ;EACE;EACA;UAAA;AX+2BV;AWr3BI;EACE;AXu3BN;AWt3BM;EACE;AXw3BR;AWv3BQ;EACE;EACA;UAAA;AXy3BV;AW/3BI;EACE;AXi4BN;AWh4BM;EACE;AXk4BR;AWj4BQ;EACE;EACA;UAAA;AXm4BV;AWz4BI;EACE;AX24BN;AW14BM;EACE;AX44BR;AW34BQ;EACE;EACA;UAAA;AX64BV;AWn5BI;EACE;AXq5BN;AWp5BM;EACE;AXs5BR;AWr5BQ;EACE;EACA;UAAA;AXu5BV;AW75BI;EACE;AX+5BN;AW95BM;EACE;AXg6BR;AW/5BQ;EACE;EACA;UAAA;AXi6BV;AWv6BI;EACE;AXy6BN;AWx6BM;EACE;AX06BR;AWz6BQ;EACE;EACA;UAAA;AX26BV;AWj7BI;EACE;AXm7BN;AWl7BM;EACE;AXo7BR;AWn7BQ;EACE;EACA;UAAA;AXq7BV;;AWn7BA;EACE;AXs7BF;;AY3/BE;EACE;AZ8/BJ;AY7/BI;EACE;AZ+/BN;AY9/BI;EACE;AZggCN;AY7/BE;EACE;AZ+/BJ;AY5/BI;EACE;EACA;AZ8/BN;AY5/BI;EACE;AZ8/BN;AY7/BI;EACE;AZ+/BN;AY7/BQ;EACE;AZ+/BV;AY5/BQ;EACE;EACA;AZ8/BV;AY3/BE;EACE;AZ6/BJ;;AY3/BA;EACE;EAEA;EACA;EAEA;EACA;EACA;EACA;EACA;EAGA;EACA;EAEA;EACA;EAEA;EACA;AZw/BF;AYt/BE;EACE;AZw/BJ;AYp/BI;EACE;EACA;AZs/BN;;AYp/BA;EACE;AZu/BF;AYt/BE;EACE;AZw/BJ;;AYv/BA;EACE;AZ0/BF;;AYz/BA;EACE;EACA;AZ4/BF;;AY3/BA;EACE;AZ8/BF;;AY7/BA;EACE;AZggCF;;AY9/BA;EACE;AZigCF;;AY//BE;EACE;EACA;AZkgCJ;;AY//BA;EACE;EACA;AZkgCF;;AajmCA;EACE;EACA;AbomCF;AanmCE;EACE;EACA;EACA;AbqmCJ;;Ac1mCA;;;EAGE;EACA;Ad6mCF;;AczmCE;EACE;EACA;EAEA;EACA;Ad2mCJ;AczmCE;EACE;EACA;Ad2mCJ;;Ae5nCA;EACE;EACA;EAEA;EACA;Af8nCF;Ae5nCE;EACE;EACA;Af8nCJ;Ae5nCE;EACE;Af8nCJ;;Ae5nCA;EACE;Af+nCF;;AexnCA;;EAEE;EACA;Af2nCF;AeznCE;;EACE;EACA;Af4nCJ;;Ae1nCA;EACE;EACA;EACA;Af6nCF;Ae1nCE;EACE;Af4nCJ;Ae1nCE;EAEE;EACA;Af2nCJ;AexnCE;EACE;EACA;EAEA;EACA;EACA;AfynCJ;;AetnCA;EACE;EACA;AfynCF;AetnCE;EACE;KAAA;UAAA;EACA;AfwnCJ;AernCE;EACE;EACA;EACA;EACA,sBAlDsB;EAmDtB,uBAnDsB;Af0qC1B;;AernCA;AACA;EACE;EACA;EAEA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;AfsnCF;AepnCE;EACE;AfsnCJ;AernCI;EACE;EACA;AfunCN;;AepnCA;EACE;EACA;AfunCF;AetnCE;EACE;AfwnCJ;AetnCE;EACE;AfwnCJ;AernCE;EACE;EACA;EACA;EACA;EACA;EACA;AfunCJ;AernCE;EACE,uBA9FsB;EA+FtB;EACA;AfunCJ;AepnCE;EACE;EACA;EACA;EACA;AfsnCJ;AepnCI;EACE;EACA;AfsnCN;;AelnCE;EACE;EACA;EACA,uBAlHsB;EAmHtB,sBAnHsB;EAoHtB;AfqnCJ;;AgB5vCA;EACE;EACA;AhB+vCF;;AgB3vCA;EACE;EACA;EAEA;EACA;AhB6vCF;AgB5vCE;EACE;AhB8vCJ;AgB7vCI;EACE;AhB+vCN;AgB7vCI;EACE;AhB+vCN;AgB5vCM;EACE;AhB8vCR;AgB7vCM;EACE;AhB+vCR;AgB7vCE;EACE;EACA;AhB+vCJ;;AgB5vCA;EACE;EACA;AhB+vCF;;AgB7vCA;;EAEE;EACA;EACA;AhBgwCF;;AgB9vCA;;EAEE;AhBiwCF;;AiB1yCA;EACE;EACA;EACA;AjB6yCF;;AiB1yCE;EACE;EAEA;AjB4yCJ;AiB3yCI;EACE;AjB6yCN;AiB3yCE;EACE;EACA;EACA;AjB6yCJ;AiB3yCE;EACE;EACA;EACA;AjB6yCJ;AiB3yCE;;EAEE;EACA;EACA;EACA;AjB6yCJ;AiB1yCE;EACE;EACA;AjB4yCJ;;AkBh1CA;EACE;EACA;EACA;AlBm1CF;;AkBh1CE;EACE;EACA;AlBm1CJ;AkBl1CE;EACE;EACA;AlBo1CJ;;AmB/1CA;;EAEE;EAGA;EACA;AnBg2CF;AmB71CI;;EACE;EACA;AnBg2CN;AmB91CI;;EACE;AnBi2CN;AmB/1CI;;;;EAEE;EACA;AnBm2CN;;AmBh2CE;EACE;AnBm2CJ;AmBl2CE;EACE;AnBo2CJ;AmBn2CE;EACE;AnBq2CJ;AmBp2CE;EACE;AnBs2CJ;AmBr2CE;EACE;AnBu2CJ;;AmBj2CI;;;;EAEE;EACA;AnBs2CN;;AmB71CE;;;;;;EACE;EACA;AnBq2CJ;AmBp2CI;;;;;;EACE;AnB22CN;AmBz2CI;;;;;;EACE;EACA;EACA;AnBg3CN;AmB72CI;;;;;;;;;;;;EAEE;AnBy3CN;AmBv3CI;;;;;;EACE;AnB83CN;;AoBh8CA;EACE;EACA;ApBm8CF;;AoBj8CA;EACE;EACA;ApBo8CF;AoBl8CE;EAEE;ApBm8CJ;AoBj8CE;EACE;ApBm8CJ;AoBj8CE;EACE;EACA;EACA;EACA;EACA;ApBm8CJ;;AqBt9CA;EACE;ArBy9CF;;AqBt9CA;EACE;ArBy9CF;;AqBt9CA;EACE;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EAEA;EAEA;ArBs9CF;;AqBn9CA;EACE;EACA;EAEA;EACA;EACA;ArBq9CF;AqBn9CE;EACE;EACA;ArBq9CJ;AqBn9CE;EAEE;ArBo9CJ;AqBl9CE;EAEE;EACA;ArBm9CJ;AqBj9CE;EACE;EACA;ArBm9CJ;;AqBh9CA;EACE;ArBm9CF;;AsBvgDA;EACE;EACA;EACA;AtB0gDF;AsBtgDE;EACE;EACA;EAEA;EACA;AtBugDJ;;AuBnhDA;EACE;EACA;EACA;EAEA;EACA;EAEA;EACA;EACA;AvBohDF;AuBlhDE;EACE;EACA;AvBohDJ;AuBlhDE;EACE;AvBohDJ;AuBlhDE;EACE;EACA;EACA;EAEA;AvBmhDJ;;AwB3iDA;EACE;EACA;EACA;EACA;EACA;AxB8iDF;;AwB5iDA;EACE;EACA;EACA;EAEA;AxB8iDF;AwB5iDE;EACE;AxB8iDJ;AwB5iDE;;EAGE;EAGA;EACA;EACA;AxB2iDJ;AwBziDI;;EACE;AxB4iDN;AwB1iDI;;EACE;AxB6iDN;AwB5iDI;;EACE;AxB+iDN;AwB5iDI;;EACE;AxB+iDN;AwB9iDI;;EACE;AxBijDN;AwBhjDI;;EACE;AxBmjDN;;AyB5lDA;EACE;AzB+lDF;;AyB7lDA;EACE;IACE;EzBgmDF;EyB7lDA;IACE;EzB+lDF;AACF;AyB7lDA;EACE;EACA;KAAA;UAAA;AzB+lDF;;AyBllDE;;;;;;;;;;;EACE;EACA;AzB+lDJ;AyB9lDE;;;;;;;;;;;EACE;AzB0mDJ;AyBvmDE;;;;;;;;;;;EACE;EACA;AzBmnDJ;;AyBhnDA;;EAEE;AzBmnDF;;AyBzmDI;;;;;;;;;;;;EACE;AzBunDN;AyBpnDM;;;;;;;;;;;;EACE;AzBioDR;;AyB/nDA;;EAEE;AzBkoDF;;AyB/nDA;EACE;AzBkoDF;;AyB/nDA;EACE;AzBkoDF;;AyB5nDA;EACE;AzB+nDF;;AyB5nDA;;EAEE;AzB+nDF;;A0B/sDA;EACE;EACA;EACA;EAEA;EACA;EACA;A1BitDF;;A2BrtDA;EACE;EACA;EACA;EAEA;A3ButDF;;A2BptDA;EACE;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EAEA;A3BotDF;A2BltDE;EAdF;IAeI;IACA;IACA;E3BqtDF;AACF;A2BptDE;EACE;A3BstDJ;A2BptDE;EACE;EACA;EACA;EACA;A3BstDJ;A2BptDE;EACE;EACA;EACA;EACA;A3BstDJ;A2BptDI;EACE;A3BstDN;A2BptDI;;EAEE;EACA;EACA;A3BstDN;;A2BltDE;EACE;EACA;EAEA;A3BotDJ;A2BntDI;EACE;EACA;EACA;A3BqtDN;A2BntDI;;EAEE;EAEA;EAEA;EACA;EACA;A3BmtDN;A2BjtDI;EACE;EAEA;EACA;EACA;A3BktDN;A2BhtDI;EACE;EAEA;EACA;A3BitDN;A2B/sDM;EACE;A3BitDR;;A2B/sDA;EACE;EACA;EACA;A3BktDF;A2BhtDE;EACE;A3BktDJ;A2BhtDE;EACE;EACA;EAEA;EAEA;EACA;EACA;A3BgtDJ;;A4BzzDA;EACE;EACA;A5B4zDF;A4B1zDE;EACE;EACA;A5B4zDJ;;A4BvzDA;EACE;EACA;A5B0zDF;;A6Bp0DA;EACE;EACA;EACA;EAEA;EACA;A7Bs0DF;;A6Bp0DA;EACE;EACA;EACA;EACA;A7Bu0DF;;A6Br0DA;EACE;A7Bw0DF;;A6Bt0DA;EACE;EACA;EACA;A7By0DF;;A6Bp0DA;EACE;EACA;EACA;EACA;EACA;EACA;A7Bu0DF;A6Br0DE;EAEE;A7Bs0DJ;A6Bp0DE;EACE;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;A7Bq0DJ;;A6Bn0DA;EACE;A7Bs0DF;;A6Bp0DA;EACE;EAEA;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EAEA;EACA;EACA;A7Bm0DF;A6Bj0DE;EACE;A7Bm0DJ;A6Bj0DE;EACE;A7Bm0DJ;A6Bp0DE;EACE;A7Bm0DJ;;A6B9zDA;EACE;EACA;EACA;A7Bi0DF;A6B/zDE;EACE;EACA;A7Bi0DJ;;A6B5zDA;EACE;EACA;EACA;EACA;EACA;A7B+zDF;A6B7zDE;EACE;EACA;EACA;EAEA;EACA;EAEA;A7B6zDJ;A6B3zDE;EACE;EACA;A7B6zDJ;A6B3zDI;EACE;A7B6zDN;A6B3zDE;EACE;A7B6zDJ;A6B3zDE;EACE;EACA;EACA;EAGA;EACA;EACA;EAGA;EAEA;EACA;EAEA;EAEA;A7BszDJ;A6BpzDI;EACE;A7BszDN;A6BnzDI;EACE;EACA;EACA;EACA;A7BqzDN;A6BlzDE;EACE;A7BozDJ;A6BlzDE;EACE;EACA;EACA;EACA;EACA;EAEA;EACA;KAAA;UAAA;EAEA;EACA;EACA;EAEA;EACA;A7BizDJ;A6B/yDE;EACE;EACA;EAEA;EACA;EACA;EAEA;EACA;A7B+yDJ;A6B1yDI;EACE;A7B4yDN;A6BxyDI;EAEE;A7ByyDN;A6BtyDE;EACE;EACA;A7BwyDJ;A6BvyDI;EACE;A7ByyDN;A6BvyDE;EACE;A7ByyDJ;A6BvyDE;EACE;EACA;A7ByyDJ;;A6BvyDA;EACE;EACA;A7B0yDF;;A6BpyDE;EACE;A7BuyDJ;A6BryDE;EACE;A7BuyDJ;;A6BpyDE;EACE;A7BuyDJ;A6BryDE;EACE;A7BuyDJ;;A8B3gEA;EACE;EACA;A9B8gEF;;A8B5gEA;EACE;EACA;EACA;EACA;A9B+gEF;;A8B5gEA;EACE;A9B+gEF;;A8B7gEA;EACE;A9BghEF;;A8B9gEA;EACE;EACA;EACA;EAEA;A9BghEF;A8B7gEE;EACE;A9B+gEJ;A8B9gEI;EACE;A9BghEN;A8B/gEI;EACE;A9BihEN;A8B/gEE;EACE;EACA;EACA;EACA;A9BihEJ;A8BhhEE;EACE;A9BkhEJ;A8BhhEI;EACE;EACA;A9BkhEN;A8BhhEI;EACE;EACA;A9BkhEN;A8BhhEE;EACE;EACA;EACA;A9BkhEJ;;A8BhhEA;EACE;EACA;A9BmhEF;;A8BhhEA;EACE;EACA;A9BmhEF;A8BlhEE;EACE;A9BohEJ;;A+BhlEA;EACE;A/BmlEF;;A+BjlEA;EACE;A/BolEF;;A+BllEA;EACE;A/BqlEF,C","sources":["webpack:///./node_modules/normalize.css/normalize.css","webpack:///./src/furo/assets/styles/base/_print.sass","webpack:///./src/furo/assets/styles/furo.sass","webpack:///./src/furo/assets/styles/base/_screen-readers.sass","webpack:///./src/furo/assets/styles/base/_theme.sass","webpack:///./src/furo/assets/styles/variables/_fonts.scss","webpack:///./src/furo/assets/styles/variables/_spacing.scss","webpack:///./src/furo/assets/styles/variables/_icons.scss","webpack:///./src/furo/assets/styles/variables/_admonitions.scss","webpack:///./src/furo/assets/styles/variables/_colors.scss","webpack:///./src/furo/assets/styles/base/_typography.sass","webpack:///./src/furo/assets/styles/_scaffold.sass","webpack:///./src/furo/assets/styles/variables/_layout.scss","webpack:///./src/furo/assets/styles/content/_admonitions.sass","webpack:///./src/furo/assets/styles/content/_api.sass","webpack:///./src/furo/assets/styles/content/_blocks.sass","webpack:///./src/furo/assets/styles/content/_captions.sass","webpack:///./src/furo/assets/styles/content/_code.sass","webpack:///./src/furo/assets/styles/content/_footnotes.sass","webpack:///./src/furo/assets/styles/content/_images.sass","webpack:///./src/furo/assets/styles/content/_indexes.sass","webpack:///./src/furo/assets/styles/content/_lists.sass","webpack:///./src/furo/assets/styles/content/_math.sass","webpack:///./src/furo/assets/styles/content/_misc.sass","webpack:///./src/furo/assets/styles/content/_rubrics.sass","webpack:///./src/furo/assets/styles/content/_sidebar.sass","webpack:///./src/furo/assets/styles/content/_tables.sass","webpack:///./src/furo/assets/styles/content/_target.sass","webpack:///./src/furo/assets/styles/content/_gui-labels.sass","webpack:///./src/furo/assets/styles/components/_footer.sass","webpack:///./src/furo/assets/styles/components/_search.sass","webpack:///./src/furo/assets/styles/components/_sidebar.sass","webpack:///./src/furo/assets/styles/components/_table_of_contents.sass","webpack:///./src/furo/assets/styles/_shame.sass"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput { /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n","// This file contains styles for managing print media.\n\n////////////////////////////////////////////////////////////////////////////////\n// Hide elements not relevant to print media.\n////////////////////////////////////////////////////////////////////////////////\n@media print\n // Hide icon container.\n .content-icon-container\n display: none !important\n\n // Hide showing header links if hovering over when printing.\n .headerlink\n display: none !important\n\n // Hide mobile header.\n .mobile-header\n display: none !important\n\n // Hide navigation links.\n .related-pages\n display: none !important\n\n////////////////////////////////////////////////////////////////////////////////\n// Tweaks related to decolorization.\n////////////////////////////////////////////////////////////////////////////////\n@media print\n // Apply a border around code which no longer have a color background.\n .highlight\n border: 0.1pt solid var(--color-foreground-border)\n\n////////////////////////////////////////////////////////////////////////////////\n// Avoid page break in some relevant cases.\n////////////////////////////////////////////////////////////////////////////////\n@media print\n ul, ol, dl, a, table, pre, blockquote\n page-break-inside: avoid\n\n h1, h2, h3, h4, h5, h6, img, figure, caption\n page-break-inside: avoid\n page-break-after: avoid\n\n ul, ol, dl\n page-break-before: avoid\n","@import \"~normalize.css\"\n\n@import \"variables\"\n@import \"base\"\n@import \"scaffold\"\n@import \"content\"\n@import \"components\"\n\n@import \"shame\"\n",".visually-hidden\n position: absolute !important\n width: 1px !important\n height: 1px !important\n padding: 0 !important\n margin: -1px !important\n overflow: hidden !important\n clip: rect(0,0,0,0) !important\n white-space: nowrap !important\n border: 0 !important\n\n:-moz-focusring\n outline: auto\n","// This file serves as the \"skeleton\" of the theming logic.\n//\n// This contains the bulk of the logic for handling dark mode, color scheme\n// toggling and the handling of color-scheme-specific hiding of elements.\n\nbody\n @include fonts\n @include spacing\n @include icons\n @include admonitions\n @include default-admonition(#651fff, \"abstract\")\n @include default-topic(#14B8A6, \"pencil\")\n\n @include colors\n\n.only-light\n display: block !important\nhtml body .only-dark\n display: none !important\n\n// Ignore dark-mode hints if print media.\n@media not print\n // Enable dark-mode, if requested.\n body[data-theme=\"dark\"]\n @include colors-dark\n\n html & .only-light\n display: none !important\n .only-dark\n display: block !important\n\n // Enable dark mode, unless explicitly told to avoid.\n @media (prefers-color-scheme: dark)\n body:not([data-theme=\"light\"])\n @include colors-dark\n\n html & .only-light\n display: none !important\n .only-dark\n display: block !important\n\n//\n// Theme toggle presentation\n//\nbody[data-theme=\"auto\"]\n .theme-toggle svg.theme-icon-when-auto\n display: block\n\nbody[data-theme=\"dark\"]\n .theme-toggle svg.theme-icon-when-dark\n display: block\n\nbody[data-theme=\"light\"]\n .theme-toggle svg.theme-icon-when-light\n display: block\n","// Fonts used by this theme.\n//\n// There are basically two things here -- using the system font stack and\n// defining sizes for various elements in %ages. We could have also used `em`\n// but %age is easier to reason about for me.\n\n@mixin fonts {\n // These are adapted from https://systemfontstack.com/\n --font-stack: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial,\n sans-serif, Apple Color Emoji, Segoe UI Emoji;\n --font-stack--monospace: \"SFMono-Regular\", Menlo, Consolas, Monaco,\n Liberation Mono, Lucida Console, monospace;\n\n --font-size--normal: 100%;\n --font-size--small: 87.5%;\n --font-size--small--2: 81.25%;\n --font-size--small--3: 75%;\n --font-size--small--4: 62.5%;\n\n // Sidebar\n --sidebar-caption-font-size: var(--font-size--small);\n --sidebar-item-font-size: var(--font-size--small);\n --sidebar-search-input-font-size: var(--font-size--small);\n\n // Table of Contents\n --toc-font-size: var(--font-size--small--2);\n --toc-font-size--mobile: var(--font-size--normal);\n --toc-title-font-size: var(--font-size--small--4);\n\n // Admonitions\n //\n // These aren't defined in terms of %ages, since nesting these is permitted.\n --admonition-font-size: 0.8125rem;\n --admonition-title-font-size: 0.8125rem;\n\n // Code\n --code-font-size: var(--font-size--small--2);\n\n // API\n --api-font-size: var(--font-size--small);\n}\n","// Spacing for various elements on the page\n//\n// If the user wants to tweak things in a certain way, they are permitted to.\n// They also have to deal with the consequences though!\n\n@mixin spacing {\n // Header!\n --header-height: calc(\n var(--sidebar-item-line-height) + 4 * #{var(--sidebar-item-spacing-vertical)}\n );\n --header-padding: 0.5rem;\n\n // Sidebar\n --sidebar-tree-space-above: 1.2rem;\n --sidebar-tree-space-horizontal: 0.5rem;\n --sidebar-caption-space-above: 1rem;\n\n --sidebar-item-line-height: 1rem;\n --sidebar-item-spacing-vertical: 0.5rem;\n --sidebar-item-spacing-horizontal: 1rem;\n --sidebar-item-height: calc(\n var(--sidebar-item-line-height) + 2 *#{var(--sidebar-item-spacing-vertical)}\n );\n\n --sidebar-expander-width: var(--sidebar-item-height); // be square\n\n --sidebar-search-space-above: 1.2rem;\n --sidebar-search-space-lateral: 0.7rem;\n --sidebar-search-input-spacing-vertical: 0.5rem;\n --sidebar-search-input-spacing-horizontal: 0.5rem;\n --sidebar-search-input-height: 1.2rem;\n --sidebar-search-icon-size: var(--sidebar-search-input-height);\n\n // Table of Contents\n --toc-title-padding: 0.25rem 0;\n --toc-spacing-vertical: 4.5rem;\n --toc-spacing-horizontal: 1.5rem;\n --toc-item-spacing-vertical: 0.4rem;\n --toc-item-spacing-horizontal: 1rem;\n\n --sidebar-item-border-radius: 8px;\n --sidebar-search-border-radius: 8px;\n}\n","// Expose theme icons as CSS variables.\n\n$icons: (\n // Adapted from tabler-icons\n // url: https://tablericons.com/\n \"search\":\n url('data:image/svg+xml;charset=utf-8,'),\n // Factored out from mkdocs-material on 24-Aug-2020.\n // url: https://squidfunk.github.io/mkdocs-material/reference/admonitions/\n \"pencil\":\n url('data:image/svg+xml;charset=utf-8,'),\n \"abstract\":\n url('data:image/svg+xml;charset=utf-8,'),\n \"info\":\n url('data:image/svg+xml;charset=utf-8,'),\n \"flame\":\n url('data:image/svg+xml;charset=utf-8,'),\n \"question\":\n url('data:image/svg+xml;charset=utf-8,'),\n \"warning\":\n url('data:image/svg+xml;charset=utf-8,'),\n \"failure\":\n url('data:image/svg+xml;charset=utf-8,'),\n \"spark\":\n url('data:image/svg+xml;charset=utf-8,')\n);\n\n@mixin icons {\n @each $name, $glyph in $icons {\n --icon-#{$name}: #{$glyph};\n }\n}\n","// Admonitions\n\n// Structure of these is:\n// admonition-class: color \"icon-name\";\n//\n// The colors are translated into CSS variables below. The icons are\n// used directly in the main declarations to set the `mask-image` in\n// the title.\n\n// prettier-ignore\n$admonitions: (\n // Each of these has an reST directives for it.\n \"caution\": #ff9100 \"spark\",\n \"warning\": #ff9100 \"warning\",\n \"danger\": #ff5252 \"spark\",\n \"attention\": #ff5252 \"warning\",\n \"error\": #ff5252 \"failure\",\n \"hint\": #00c852 \"question\",\n \"tip\": #00c852 \"info\",\n \"important\": #00bfa5 \"flame\",\n \"note\": #00b0ff \"pencil\",\n \"seealso\": #448aff \"info\",\n \"admonition-todo\": #808080 \"pencil\"\n);\n\n@mixin default-admonition($color, $icon-name) {\n --color-admonition-title: #{$color};\n --color-admonition-title-background: #{rgba($color, 0.2)};\n\n --icon-admonition-default: var(--icon-#{$icon-name});\n}\n\n@mixin default-topic($color, $icon-name) {\n --color-topic-title: #{$color};\n --color-topic-title-background: #{rgba($color, 0.2)};\n\n --icon-topic-default: var(--icon-#{$icon-name});\n}\n\n@mixin admonitions {\n @each $name, $values in $admonitions {\n --color-admonition-title--#{$name}: #{nth($values, 1)};\n --color-admonition-title-background--#{$name}: #{rgba(\n nth($values, 1),\n 0.2\n )};\n }\n}\n","// Colors used throughout this theme.\n//\n// The aim is to give the user more control. Thus, instead of hard-coding colors\n// in various parts of the stylesheet, the approach taken is to define all\n// colors as CSS variables and reusing them in all the places.\n//\n// `colors-dark` depends on `colors` being included at a lower specificity.\n\n@mixin colors {\n --color-problematic: #b30000;\n\n // Base Colors\n --color-foreground-primary: #202123; // for main text and headings\n --color-foreground-secondary: #5a5c63; // for secondary text\n --color-foreground-muted: #646776; // for muted text\n --color-foreground-border: #878787; // for content borders\n\n --color-background-primary: white; // for content\n --color-background-secondary: #f8f9fb; // for navigation + ToC\n --color-background-hover: #efeff4ff; // for navigation-item hover\n --color-background-hover--transparent: #efeff400;\n --color-background-border: #eeebee; // for UI borders\n --color-background-item: #ccc; // for \"background\" items (eg: copybutton)\n\n // Announcements\n --color-announcement-background: #000000dd;\n --color-announcement-text: #eeebee;\n\n // Brand colors\n --color-brand-primary: #0f4a65;\n --color-brand-content: #2a6cdf;\n --color-brand-secondary: #624d2e;\n --color-brand-secondary-transparent: rgba(217, 180, 129, 0.2);\n\n // API documentation\n --color-api-background: #f8f8fb;\n --color-api-background-hover: var(--color-api-background);\n --color-api-overall: var(--color-foreground-secondary);\n --color-api-name: var(--color-brand-secondary);\n --color-api-pre-name: var(--color-brand-secondary);\n --color-api-paren: var(--color-foreground-secondary);\n --color-api-keyword: var(--color-foreground-primary);\n --color-highlight-on-target: #ffffcc;\n\n // Inline code background\n --color-inline-code-background: var(--color-background-secondary);\n\n // Highlighted text (search)\n --color-highlighted-background: #ddeeff;\n --color-highlighted-text: var(--color-foreground-primary);\n\n // GUI Labels\n --color-guilabel-background: #ddeeff80;\n --color-guilabel-border: #bedaf580;\n --color-guilabel-text: var(--color-foreground-primary);\n\n // Admonitions!\n --color-admonition-background: transparent;\n\n //////////////////////////////////////////////////////////////////////////////\n // Everything below this should be one of:\n // - var(...)\n // - *-gradient(...)\n // - special literal values (eg: transparent, none)\n //////////////////////////////////////////////////////////////////////////////\n\n // Tables\n --color-table-header-background: var(--color-background-secondary);\n --color-table-border: var(--color-background-border);\n\n // Cards\n --color-card-border: var(--color-background-secondary);\n --color-card-background: transparent;\n --color-card-marginals-background: var(--color-background-secondary);\n\n // Header\n --color-header-background: var(--color-background-primary);\n --color-header-border: var(--color-background-border);\n --color-header-text: var(--color-foreground-primary);\n\n // Sidebar (left)\n --color-sidebar-background: var(--color-background-secondary);\n --color-sidebar-background-border: var(--color-background-border);\n --color-sidebar-item-current--hover: var(--color-brand-secondary)\n --color-sidebar-brand-text: var(--color-foreground-primary);\n --color-sidebar-caption-text: var(--color-foreground-primary);\n --color-sidebar-link-text: var(--color-foreground-secondary);\n --color-sidebar-link-text--top-level: var(--color-foreground-primary);\n\n --color-sidebar-item-background: var(--color-sidebar-background);\n --color-sidebar-item-background--current: var(--color-background-hover);\n // --color-sidebar-item-background--hover: linear-gradient(\n // 90deg,\n // var(--color-background-hover--transparent) 0%,\n // var(--color-background-hover) var(--sidebar-item-spacing-horizontal),\n // var(--color-background-hover) 100%\n // );\n // --color-sidebar-item-background--hover: var(--color-background-hover);\n --color-sidebar-item-background--hover: var(--color-brand-secondary-transparent);\n\n --color-sidebar-item-expander-background: transparent;\n --color-sidebar-item-expander-background--hover: var(\n --color-sidebar-item-background--hover\n );\n\n --color-sidebar-search-text: var(--color-foreground-primary);\n --color-sidebar-search-background: var(--color-background-border);\n --color-sidebar-search-background--focus: var(--color-background-hover--transparent);\n --color-sidebar-search-border: var(--color-background-border);\n --color-sidebar-search-icon: var(--color-foreground-muted);\n\n // Table of Contents (right)\n --color-toc-background: var(--color-background-primary);\n --color-toc-title-text: var(--color-foreground-muted);\n --color-toc-item-text: var(--color-foreground-secondary);\n --color-toc-item-text--hover: var(--color-foreground-primary);\n --color-toc-item-text--active: var(--color-brand-primary);\n\n // Actual page contents\n --color-content-foreground: var(--color-foreground-primary);\n --color-content-background: transparent;\n\n // Links\n --color-link: var(--color-brand-content);\n --color-link--hover: var(--color-brand-content);\n --color-link-underline: var(--color-background-border);\n --color-link-underline--hover: var(--color-foreground-border);\n\n // Farama\n --color-farama-header-background-hover: rgba(0, 0, 0, 0.05);\n\n --color-farama-button-background: rgb(0 0 0 / 10%);\n --color-farama-button-background-hover: rgb(0 0 0 / 20%);\n\n}\n\n@mixin colors-dark {\n --color-problematic: #ee5151;\n\n // Base Colors\n --color-foreground-primary: #ffffffcc; // for main text and headings\n --color-foreground-secondary: #9ca0a5; // for secondary text\n --color-foreground-muted: #81868d; // for muted text\n --color-foreground-border: #666666; // for content borders\n\n --color-background-primary: #131416; // for content\n --color-background-secondary: #1a1c1e; // for navigation + ToC\n --color-background-hover: #1e2124ff; // for navigation-item hover\n --color-background-hover--transparent: #1e212400;\n --color-background-border: #303335; // for UI borders\n --color-background-item: #444; // for \"background\" items (eg: copybutton)\n\n // Announcements\n --color-announcement-background: #000000dd;\n --color-announcement-text: #eeebee;\n\n // Brand colors\n --color-brand-primary: #0f4a65;\n --color-brand-content: #419fe2;\n --color-brand-secondary: #d3aa71;\n\n // Highlighted text (search)\n --color-highlighted-background: #083563;\n\n // GUI Labels\n --color-guilabel-background: #08356380;\n --color-guilabel-border: #13395f80;\n\n // API documentation\n --color-api-keyword: var(--color-foreground-secondary);\n --color-highlight-on-target: #333300;\n\n // Admonitions\n --color-admonition-background: #18181a;\n\n // Cards\n --color-card-border: var(--color-background-secondary);\n --color-card-background: #18181a;\n --color-card-marginals-background: var(--color-background-hover);\n\n // API\n --color-api-background: #202020;\n\n // Farama\n --color-farama-header-background-hover: rgba(255, 255, 255, 0.1);\n\n --color-farama-button-background: rgb(255 255 255 / 10%);\n --color-farama-button-background-hover: rgb(255 255 255 / 20%);\n}\n","// This file contains the styling for making the content throughout the page,\n// including fonts, paragraphs, headings and spacing among these elements.\n\nbody\n font-family: var(--font-stack)\npre,\ncode,\nkbd,\nsamp\n font-family: var(--font-stack--monospace)\n\n// Make fonts look slightly nicer.\nbody\n -webkit-font-smoothing: antialiased\n -moz-osx-font-smoothing: grayscale\n\n// Line height from Bootstrap 4.1\narticle\n line-height: 1.5\n\n//\n// Headings\n//\nh1,\nh2,\nh3,\nh4,\nh5,\nh6\n line-height: 1.25\n font-weight: bold\n\n border-radius: 0.5rem\n margin-top: 0.5rem\n margin-bottom: 1.0rem\n margin-left: -0.5rem\n margin-right: -0.5rem\n padding-left: 0.5rem\n padding-right: 0.5rem\n\n + p\n margin-top: 0\n\nh1\n font-size: 2.5em\n margin-top: 1.85rem\nh2\n font-size: 2em\n margin-top: 1.85rem\nh3\n font-size: 1.5em\nh4\n font-size: 1.25em\nh5\n font-size: 1.125em\nh6\n font-size: 1em\n\nsmall\n opacity: 75%\n font-size: 80%\n\n// Paragraph\np\n margin-top: 0.5rem\n margin-bottom: 0.75rem\n\n// Horizontal rules\nhr.docutils\n height: 1px\n padding: 0\n margin: 2rem 0\n background-color: var(--color-background-border)\n border: 0\n\n.centered\n text-align: center\n\n// Links\na\n text-decoration: underline\n\n color: var(--color-link)\n text-decoration-color: var(--color-link-underline)\n\n &:hover\n color: var(--color-link--hover)\n text-decoration-color: var(--color-link-underline--hover)\n &.muted-link\n color: inherit\n &:hover\n color: var(--color-brand-secondary)\n text-decoration-color: var(--color-link-underline--hover)\n","// This file contains the styles for the overall layouting of the documentation\n// skeleton, including the responsive changes as well as sidebar toggles.\n//\n// This is implemented as a mobile-last design, which isn't ideal, but it is\n// reasonably good-enough and I got pretty tired by the time I'd finished this\n// to move the rules around to fix this. Shouldn't take more than 3-4 hours,\n// if you know what you're doing tho.\n\n// HACK: Not all browsers account for the scrollbar width in media queries.\n// This results in horizontal scrollbars in the breakpoint where we go\n// from displaying everything to hiding the ToC. We accomodate for this by\n// adding a bit of padding to the TOC drawer, disabling the horizontal\n// scrollbar and allowing the scrollbars to cover the padding.\n// https://www.456bereastreet.com/archive/201301/media_query_width_and_vertical_scrollbars/\n\n// HACK: Always having the scrollbar visible, prevents certain browsers from\n// causing the content to stutter horizontally between taller-than-viewport and\n// not-taller-than-viewport pages.\n\nhtml\n overflow-x: hidden\n overflow-y: scroll\n scroll-behavior: smooth\n\n.sidebar-scroll, .toc-scroll, article[role=main] *\n // Override Firefox scrollbar style\n scrollbar-width: thin\n scrollbar-color: var(--color-foreground-border) transparent\n\n // Override Chrome scrollbar styles\n &::-webkit-scrollbar\n width: 0.25rem\n height: 0.25rem\n &::-webkit-scrollbar-thumb\n background-color: var(--color-foreground-border)\n border-radius: 0.125rem\n\n//\n// Overalls\n//\nhtml,\nbody\n height: 100%\n color: var(--color-foreground-primary)\n background: var(--color-background-primary)\n\narticle\n color: var(--color-content-foreground)\n background: var(--color-content-background)\n overflow-wrap: break-word\n\n.article-container\n position: relative\n\n.page\n display: flex\n // fill the viewport for pages with little content.\n min-height: 100%\n box-sizing: border-box\n\n.mobile-header\n width: 100%\n height: var(--header-height)\n background-color: var(--color-header-background)\n color: var(--color-header-text)\n border-bottom: 1px solid var(--color-header-border)\n\n // Looks like sub-script/super-script have this, and we need this to\n // be \"on top\" of those.\n z-index: 10\n\n // We don't show the header on large screens.\n display: none\n\n // Add shadow when scrolled\n &.scrolled\n border-bottom: none\n box-shadow: 0 0 0.2rem rgba(0, 0, 0, 0.1), 0 0.2rem 0.4rem rgba(0, 0, 0, 0.2)\n\n .header-center\n a\n color: var(--color-header-text)\n text-decoration: none\n\n.main-container\n padding-top: var(--farama-header-height)\n display: flex\n flex-direction: column\n flex: 1\n\n.main\n display: flex\n flex: 1\n\n// Sidebar (left) also covers the entire left portion of screen.\n.sidebar-drawer\n box-sizing: border-box\n\n border-right: 1px solid var(--color-sidebar-background-border)\n background: var(--color-sidebar-background)\n\n display: flex\n justify-content: flex-end\n // These next two lines took me two days to figure out.\n width: calc((100% - #{$full-width}) / 2 + #{$sidebar-width})\n min-width: $sidebar-width\n\n// Scroll-along sidebars\n.sidebar-container,\n.toc-drawer\n box-sizing: border-box\n width: $sidebar-width\n\n.toc-drawer\n background: var(--color-toc-background)\n // See HACK described on top of this document\n padding-right: 1rem\n\n.sidebar-sticky,\n.toc-sticky\n position: sticky\n top: 0\n height: min(100%, 100vh)\n height: 100vh\n display: flex\n flex-direction: column\n\n.sidebar-scroll,\n.toc-scroll\n flex-grow: 1\n flex-shrink: 1\n\n overflow: auto\n scroll-behavior: smooth\n\n// Central items.\n.content\n padding: 0 $content-padding\n width: $content-width\n\n display: flex\n flex-direction: column\n justify-content: space-between\n\n.icon\n display: inline-block\n height: 1rem\n width: 1rem\n svg\n width: 100%\n height: 100%\n\n//\n// Accommodate announcement banner\n//\n.announcement\n background-color: var(--color-announcement-background)\n color: var(--color-announcement-text)\n\n height: var(--header-height)\n display: flex\n align-items: center\n overflow-x: auto\n & + .page\n min-height: calc(100% - var(--header-height))\n\n.announcement-content\n box-sizing: border-box\n padding: 0.5rem\n min-width: 100%\n white-space: nowrap\n text-align: center\n\n a\n color: var(--color-announcement-text)\n text-decoration-color: var(--color-announcement-text)\n\n &:hover\n color: var(--color-announcement-text)\n text-decoration-color: var(--color-link--hover)\n\n////////////////////////////////////////////////////////////////////////////////\n// Toggles for theme\n////////////////////////////////////////////////////////////////////////////////\n.no-js .theme-toggle-container // don't show theme toggle if there's no JS\n display: none\n\n.theme-toggle-container\n vertical-align: middle\n\n.theme-toggle\n cursor: pointer\n border: none\n padding: 0\n background: transparent\n\n.theme-toggle svg\n vertical-align: middle\n height: 1.2rem\n width: 1.2rem\n color: var(--color-foreground-primary)\n display: none\n\n &:hover\n color: var(--color-brand-secondary)\n\n.theme-toggle-header\n float: left\n padding: 1rem 0.5rem\n\n////////////////////////////////////////////////////////////////////////////////\n// Toggles for elements\n////////////////////////////////////////////////////////////////////////////////\n.toc-overlay-icon, .nav-overlay-icon\n display: none\n cursor: pointer\n\n .icon\n color: var(--color-foreground-primary)\n height: 1.2rem\n width: 1.2rem\n\n &:hover\n color: var(--color-brand-secondary)\n\n.toc-header-icon, .nav-overlay-icon\n // for when we set display: flex\n justify-content: center\n align-items: center\n\n.toc-content-icon\n height: 1.3rem\n width: 1.3rem\n\n.content-icon-container\n position: absolute\n right: 0\n display: flex\n margin-top: 1.5rem\n margin-left: 1rem\n margin-bottom: 1rem\n gap: 0.5rem\n\n .edit-this-page svg\n color: inherit\n height: 1.2rem\n width: 1.2rem\n\n.sidebar-toggle\n position: absolute\n display: none\n// \n.sidebar-toggle[name=\"__toc\"]\n left: 20px\n.sidebar-toggle:checked\n left: 40px\n// \n\n.overlay\n position: fixed\n top: 0\n width: 0\n height: 0\n\n transition: width 0ms, height 0ms, opacity 250ms ease-out\n\n opacity: 0\n background-color: rgba(0, 0, 0, 0.54)\n.sidebar-overlay\n z-index: 20\n.toc-overlay\n z-index: 40\n\n// Keep things on top and smooth.\n.sidebar-drawer\n z-index: 30\n transition: left 250ms ease-in-out\n.toc-drawer\n z-index: 50\n transition: right 250ms ease-in-out\n\n// Show the Sidebar\n#__navigation:checked\n & ~ .sidebar-overlay\n width: 100%\n height: 100%\n opacity: 1\n & ~ .page\n .sidebar-drawer\n top: 0\n left: 0\n // Show the toc sidebar\n#__toc:checked\n & ~ .toc-overlay\n width: 100%\n height: 100%\n opacity: 1\n & ~ .page\n .toc-drawer\n top: 0\n right: 0\n\n////////////////////////////////////////////////////////////////////////////////\n// Back to top\n////////////////////////////////////////////////////////////////////////////////\n.back-to-top\n text-decoration: none\n\n display: none\n position: fixed\n left: 0\n top: 1rem\n padding: 0.5rem\n padding-right: 0.75rem\n border-radius: 1rem\n font-size: 0.8125rem\n\n background: var(--color-background-primary)\n box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05), #6b728080 0px 0px 1px 0px\n\n z-index: 10\n\n margin-left: 50%\n transform: translateX(-50%)\n svg\n height: 1rem\n width: 1rem\n fill: currentColor\n display: inline-block\n\n span\n margin-left: 0.25rem\n\n .show-back-to-top &\n display: flex\n align-items: center\n\n////////////////////////////////////////////////////////////////////////////////\n// Responsive layouting\n////////////////////////////////////////////////////////////////////////////////\n// Make things a bit bigger on bigger screens.\n@media (min-width: $full-width + $sidebar-width)\n html\n font-size: 110%\n\n@media (max-width: $full-width)\n // Collapse \"toc\" into the icon.\n .toc-content-icon\n display: flex\n .toc-drawer\n position: fixed\n height: 100vh\n top: 0\n right: -$sidebar-width\n border-left: 1px solid var(--color-background-muted)\n .toc-tree\n border-left: none\n font-size: var(--toc-font-size--mobile)\n\n // Accomodate for a changed content width.\n .sidebar-drawer\n width: calc((100% - #{$full-width - $sidebar-width}) / 2 + #{$sidebar-width})\n\n@media (max-width: $full-width - $sidebar-width)\n .farama-header\n position: fixed !important\n top: 0\n\n .farama-header__left--mobile\n display: flex !important\n z-index: 2\n\n .farama-header__center--mobile\n position: absolute\n height: 100%\n left: 0\n right: 0\n justify-content: center\n z-index: 1\n\n .toc-title-container\n padding-top: 65px !important\n\n // Collapse \"navigation\".\n .nav-overlay-icon\n display: flex\n .sidebar-drawer\n position: fixed\n height: 100vh\n width: $sidebar-width\n\n top: 0\n left: -$sidebar-width\n\n // Swap which icon is visible.\n .toc-header-icon\n display: flex\n .theme-toggle-header\n display: block\n\n // Show the header.\n .mobile-header\n position: sticky\n top: 0\n display: flex\n justify-content: space-between\n align-items: center\n\n .header-left,\n .header-right\n display: flex\n height: var(--header-height)\n padding: 0 var(--header-padding)\n label\n height: 100%\n width: 100%\n user-select: none\n\n .nav-overlay-icon .icon,\n .theme-toggle svg\n height: 1.25rem\n width: 1.25rem\n\n // Add a scroll margin for the content\n :target\n scroll-margin-top: var(--header-height)\n\n // Show back-to-top below the header\n .back-to-top\n top: calc(var(--header-height) + 0.5rem)\n\n // Center the page, and accommodate for the header.\n .page\n flex-direction: column\n justify-content: center\n .content\n margin-left: auto\n margin-right: auto\n\n .farama-donate-banner\n margin-left: auto\n margin-right: auto\n\n@media (max-width: $content-width + 2* $content-padding)\n // Content should respect window limits.\n .content\n width: 100%\n overflow-x: auto\n\n@media (max-width: $content-width)\n .farama-donate-banner\n padding: $content-padding--small $content-padding--small !important\n\n .content\n padding: 0 $content-padding--small\n // Don't float sidebars to the right.\n article aside.sidebar\n float: none\n width: 100%\n margin: 1rem 0\n","// Overall Layout Variables\n//\n// Because CSS variables can't be used in media queries. The fact that this\n// makes the layout non-user-configurable is a good thing.\n$content-padding: 3em;\n$content-padding--small: 1em;\n$content-width: 46em;\n$sidebar-width: 15em;\n$full-width: $content-width + 2 * ($content-padding + $sidebar-width);\n","//\n// The design here is strongly inspired by mkdocs-material.\n.admonition, .topic\n margin: 1rem auto\n padding: 0 0.5rem 0.5rem 0.5rem\n\n background: var(--color-admonition-background)\n\n border-radius: 0.2rem\n box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05), 0 0 0.0625rem rgba(0, 0, 0, 0.1)\n\n font-size: var(--admonition-font-size)\n\n overflow: hidden\n page-break-inside: avoid\n\n // First element should have no margin, since the title has it.\n > :nth-child(2)\n margin-top: 0\n\n // Last item should have no margin, since we'll control that w/ padding\n > :last-child\n margin-bottom: 0\n\n.admonition p.admonition-title,\np.topic-title\n position: relative\n margin: 0 -0.5rem 0.5rem\n padding-left: 2rem\n padding-right: .5rem\n padding-top: .4rem\n padding-bottom: .4rem\n\n font-weight: 500\n font-size: var(--admonition-title-font-size)\n line-height: 1.3\n\n // Our fancy icon\n &::before\n content: \"\"\n position: absolute\n left: 0.5rem\n width: 1rem\n height: 1rem\n\n// Default styles\np.admonition-title\n background-color: var(--color-admonition-title-background)\n &::before\n background-color: var(--color-admonition-title)\n mask-image: var(--icon-admonition-default)\n mask-repeat: no-repeat\n\np.topic-title\n background-color: var(--color-topic-title-background)\n &::before\n background-color: var(--color-topic-title)\n mask-image: var(--icon-topic-default)\n mask-repeat: no-repeat\n\n//\n// Variants\n//\n.admonition\n border-left: 0.2rem solid var(--color-admonition-title)\n\n @each $type, $value in $admonitions\n &.#{$type}\n border-left-color: var(--color-admonition-title--#{$type})\n > .admonition-title\n background-color: var(--color-admonition-title-background--#{$type})\n &::before\n background-color: var(--color-admonition-title--#{$type})\n mask-image: var(--icon-#{nth($value, 2)})\n\n.admonition-todo > .admonition-title\n text-transform: uppercase\n","// This file stylizes the API documentation (stuff generated by autodoc). It's\n// deeply nested due to how autodoc structures the HTML without enough classes\n// to select the relevant items.\n\n// API docs!\ndl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple)\n // Tweak the spacing of all the things!\n dd\n margin-left: 2rem\n > :first-child\n margin-top: 0.125rem\n > :last-child\n margin-bottom: 0.75rem\n\n // This is used for the arguments\n .field-list\n margin-bottom: 0.75rem\n\n // \"Headings\" (like \"Parameters\" and \"Return\")\n > dt\n text-transform: uppercase\n font-size: var(--font-size--small)\n\n dd:empty\n margin-bottom: 0.5rem\n dd > ul\n margin-left: -1.2rem\n > li\n > p:nth-child(2)\n margin-top: 0\n // When the last-empty-paragraph follows a paragraph, it doesn't need\n // to augument the existing spacing.\n > p + p:last-child:empty\n margin-top: 0\n margin-bottom: 0\n\n // Colorize the elements\n > dt\n color: var(--color-api-overall)\n\n.sig:not(.sig-inline)\n font-weight: bold\n\n font-size: var(--api-font-size)\n font-family: var(--font-stack--monospace)\n\n margin-left: -0.5rem\n margin-right: -0.5rem\n padding-top: 0.5rem\n padding-bottom: 0.5rem\n padding-right: 0.5rem\n\n // These are intentionally em, to properly match the font size.\n padding-left: 3em\n text-indent: -2.5em\n\n border-radius: 0.25rem\n border-top: 5px solid var(--color-brand-primary)\n\n background: var(--color-api-background)\n transition: background 100ms ease-out\n\n &:hover\n background: var(--color-api-background-hover)\n\n // adjust the size of the [source] link on the right.\n a.reference\n .viewcode-link\n font-weight: normal\n width: 3.5rem\n\nem.property\n font-style: normal\n &:first-child\n color: var(--color-api-keyword)\n.sig-name\n color: var(--color-api-name)\n.sig-prename\n font-weight: normal\n color: var(--color-api-pre-name)\n.sig-paren\n color: var(--color-api-paren)\n.sig-param\n font-style: normal\n\n.versionmodified\n font-style: italic\ndiv.versionadded, div.versionchanged, div.deprecated\n p\n margin-top: 0.125rem\n margin-bottom: 0.125rem\n\n// Align the [docs] and [source] to the right.\n.viewcode-link, .viewcode-back\n float: right\n text-align: right\n",".line-block\n margin-top: 0.5rem\n margin-bottom: 0.75rem\n .line-block\n margin-top: 0rem\n margin-bottom: 0rem\n padding-left: 1rem\n","// Captions\narticle p.caption,\ntable > caption,\n.code-block-caption\n font-size: var(--font-size--small)\n text-align: center\n\n// Caption above a TOCTree\n.toctree-wrapper.compound\n .caption, :not(.caption) > .caption-text\n font-size: var(--font-size--small)\n text-transform: uppercase\n\n text-align: initial\n margin-bottom: 0\n\n > ul\n margin-top: 0\n margin-bottom: 0\n","// Inline code\ncode.literal, .sig-inline\n background: var(--color-inline-code-background)\n border-radius: 0.2em\n // Make the font smaller, and use padding to recover.\n font-size: var(--font-size--small--2)\n padding: 0.1em 0.2em\n\n pre.literal-block &\n font-size: inherit\n padding: 0\n\n p &\n border: 1px solid var(--color-background-border)\n\n.sig-inline\n font-family: var(--font-stack--monospace)\n\n// Code and Literal Blocks\n$code-spacing-vertical: 0.625rem\n$code-spacing-horizontal: 0.875rem\n\n// Wraps every literal block + line numbers.\ndiv[class*=\" highlight-\"],\ndiv[class^=\"highlight-\"]\n margin: 1em 0\n display: flex\n\n .table-wrapper\n margin: 0\n padding: 0\n\npre\n margin: 0\n padding: 0\n overflow: auto\n\n // Needed to have more specificity than pygments' \"pre\" selector. :(\n article[role=\"main\"] .highlight &\n line-height: 1.5\n\n &.literal-block,\n .highlight &\n font-size: var(--code-font-size)\n padding: $code-spacing-vertical $code-spacing-horizontal\n\n // Make it look like all the other blocks.\n &.literal-block\n margin-top: 1rem\n margin-bottom: 1rem\n\n border-radius: 0.2rem\n background-color: var(--color-code-background)\n color: var(--color-code-foreground)\n\n// All code is always contained in this.\n.highlight\n width: 100%\n border-radius: 0.2rem\n\n // Make line numbers and prompts un-selectable.\n .gp, span.linenos\n user-select: none\n pointer-events: none\n\n // Expand the line-highlighting.\n .hll\n display: block\n margin-left: -$code-spacing-horizontal\n margin-right: -$code-spacing-horizontal\n padding-left: $code-spacing-horizontal\n padding-right: $code-spacing-horizontal\n\n/* Make code block captions be nicely integrated */\n.code-block-caption\n display: flex\n padding: $code-spacing-vertical $code-spacing-horizontal\n\n border-radius: 0.25rem\n border-bottom-left-radius: 0\n border-bottom-right-radius: 0\n font-weight: 300\n border-bottom: 1px solid\n\n background-color: var(--color-code-background)\n color: var(--color-code-foreground)\n border-color: var(--color-background-border)\n\n + div[class]\n margin-top: 0\n pre\n border-top-left-radius: 0\n border-top-right-radius: 0\n\n// When `html_codeblock_linenos_style` is table.\n.highlighttable\n width: 100%\n display: block\n tbody\n display: block\n\n tr\n display: flex\n\n // Line numbers\n td.linenos\n background-color: var(--color-code-background)\n color: var(--color-code-foreground)\n padding: $code-spacing-vertical $code-spacing-horizontal\n padding-right: 0\n border-top-left-radius: 0.2rem\n border-bottom-left-radius: 0.2rem\n\n .linenodiv\n padding-right: $code-spacing-horizontal\n font-size: var(--code-font-size)\n box-shadow: -0.0625rem 0 var(--color-foreground-border) inset\n\n // Actual code\n td.code\n padding: 0\n display: block\n flex: 1\n overflow: hidden\n\n .highlight\n border-top-left-radius: 0\n border-bottom-left-radius: 0\n\n// When `html_codeblock_linenos_style` is inline.\n.highlight\n span.linenos\n display: inline-block\n padding-left: 0\n padding-right: $code-spacing-horizontal\n margin-right: $code-spacing-horizontal\n box-shadow: -0.0625rem 0 var(--color-foreground-border) inset\n","// Inline Footnote Reference\n.footnote-reference\n font-size: var(--font-size--small--4)\n vertical-align: super\n\n// Definition list, listing the content of each note.\n// docutils <= 0.17\ndl.footnote.brackets\n font-size: var(--font-size--small)\n color: var(--color-foreground-secondary)\n\n display: grid\n grid-template-columns: max-content auto\n dt\n margin: 0\n > .fn-backref\n margin-left: 0.25rem\n\n &:after\n content: \":\"\n\n .brackets\n &:before\n content: \"[\"\n &:after\n content: \"]\"\n\n dd\n margin: 0\n padding: 0 1rem\n\n// docutils >= 0.18\naside.footnote\n font-size: var(--font-size--small)\n color: var(--color-foreground-secondary)\n\naside.footnote > span,\ndiv.citation > span\n float: left\n font-weight: 500\n padding-right: 0.25rem\n\naside.footnote > p,\ndiv.citation > p\n margin-left: 2rem\n","//\n// Figures\n//\nimg\n box-sizing: border-box\n max-width: 100%\n height: auto\n\narticle\n figure, .figure\n border-radius: 0.2rem\n\n margin: 0\n :last-child\n margin-bottom: 0\n\n .align-left\n float: left\n clear: left\n margin: 0 1rem 1rem\n\n .align-right\n float: right\n clear: right\n margin: 0 1rem 1rem\n\n .align-default,\n .align-center\n display: block\n text-align: center\n margin-left: auto\n margin-right: auto\n\n // WELL, table needs to be stylised like a table.\n table.align-default\n display: table\n text-align: initial\n",".genindex-jumpbox, .domainindex-jumpbox\n border-top: 1px solid var(--color-background-border)\n border-bottom: 1px solid var(--color-background-border)\n padding: 0.25rem\n\n.genindex-section, .domainindex-section\n h2\n margin-top: 0.75rem\n margin-bottom: 0.5rem\n ul\n margin-top: 0\n margin-bottom: 0\n","ul,\nol\n padding-left: 1.2rem\n\n // Space lists out like paragraphs\n margin-top: 1rem\n margin-bottom: 1rem\n // reduce margins within li.\n li\n > p:first-child\n margin-top: 0.25rem\n margin-bottom: 0.25rem\n\n > p:last-child\n margin-top: 0.25rem\n\n > ul,\n > ol\n margin-top: 0.5rem\n margin-bottom: 0.5rem\n\nol\n &.arabic\n list-style: decimal\n &.loweralpha\n list-style: lower-alpha\n &.upperalpha\n list-style: upper-alpha\n &.lowerroman\n list-style: lower-roman\n &.upperroman\n list-style: upper-roman\n\n// Don't space lists out when they're \"simple\" or in a `.. toctree::`\n.simple,\n.toctree-wrapper\n li\n > ul,\n > ol\n margin-top: 0\n margin-bottom: 0\n\n// Definition Lists\n.field-list,\n.option-list,\ndl:not([class]),\ndl.simple,\ndl.footnote,\ndl.glossary\n dt\n font-weight: 500\n margin-top: 0.25rem\n + dt\n margin-top: 0\n\n .classifier::before\n content: \":\"\n margin-left: 0.2rem\n margin-right: 0.2rem\n\n dd\n > p:first-child,\n ul\n margin-top: 0.125rem\n\n ul\n margin-bottom: 0.125rem\n",".math-wrapper\n width: 100%\n overflow-x: auto\n\ndiv.math\n position: relative\n text-align: center\n\n .headerlink,\n &:focus .headerlink\n display: none\n\n &:hover .headerlink\n display: inline-block\n\n span.eqno\n position: absolute\n right: 0.5rem\n top: 50%\n transform: translate(0, -50%)\n z-index: 1\n","// Abbreviations\nabbr[title]\n cursor: help\n\n// \"Problematic\" content, as identified by Sphinx\n.problematic\n color: var(--color-problematic)\n\n// Keyboard / Mouse \"instructions\"\nkbd:not(.compound)\n margin: 0 0.2rem\n padding: 0 0.2rem\n border-radius: 0.2rem\n border: 1px solid var(--color-foreground-border)\n color: var(--color-foreground-primary)\n vertical-align: text-bottom\n\n font-size: var(--font-size--small--3)\n display: inline-block\n\n box-shadow: 0 0.0625rem 0 rgba(0, 0, 0, 0.2), inset 0 0 0 0.125rem var(--color-background-primary)\n\n background-color: var(--color-background-secondary)\n\n// Blockquote\nblockquote\n border-left: 4px solid var(--color-background-border)\n background: var(--color-background-secondary)\n\n margin-left: 0\n margin-right: 0\n padding: 0.5rem 1rem\n\n .attribution\n font-weight: 600\n text-align: right\n\n &.pull-quote,\n &.highlights\n font-size: 1.25em\n\n &.epigraph,\n &.pull-quote\n border-left-width: 0\n border-radius: 0.5rem\n\n &.highlights\n border-left-width: 0\n background: transparent\n\n// Center align embedded-in-text images\np .reference img\n vertical-align: middle\n","p.rubric\n line-height: 1.25\n font-weight: bold\n font-size: 1.125em\n\n // For Numpy-style documentation that's got rubrics within it.\n // https://github.com/pradyunsg/furo/discussions/505\n dd &\n line-height: inherit\n font-weight: inherit\n\n font-size: var(--font-size--small)\n text-transform: uppercase\n","article .sidebar\n float: right\n clear: right\n width: 30%\n\n margin-left: 1rem\n margin-right: 0\n\n border-radius: 0.2rem\n background-color: var(--color-background-secondary)\n border: var(--color-background-border) 1px solid\n\n > *\n padding-left: 1rem\n padding-right: 1rem\n\n > ul, > ol // lists need additional padding, because bullets.\n padding-left: 2.2rem\n\n .sidebar-title\n margin: 0\n padding: 0.5rem 1rem\n border-bottom: var(--color-background-border) 1px solid\n\n font-weight: 500\n\n// TODO: subtitle\n// TODO: dedicated variables?\n",".table-wrapper\n width: 100%\n overflow-x: auto\n margin-top: 1rem\n margin-bottom: 0.5rem\n padding: 0.2rem 0.2rem 0.75rem\n\ntable.docutils\n border-radius: 0.2rem\n border-spacing: 0\n border-collapse: collapse\n\n box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05), 0 0 0.0625rem rgba(0, 0, 0, 0.1)\n\n th\n background: var(--color-table-header-background)\n\n td,\n th\n // Space things out properly\n padding: 0 0.25rem\n\n // Get the borders looking just-right.\n border-left: 1px solid var(--color-table-border)\n border-right: 1px solid var(--color-table-border)\n border-bottom: 1px solid var(--color-table-border)\n\n p\n margin: 0.25rem\n\n &:first-child\n border-left: none\n &:last-child\n border-right: none\n\n // MyST-parser tables set these classes for control of column alignment\n &.text-left\n text-align: left\n &.text-right\n text-align: right\n &.text-center\n text-align: center\n",":target\n scroll-margin-top: 0.5rem\n\n@media (max-width: $full-width - $sidebar-width)\n :target\n scroll-margin-top: calc(0.5rem + var(--header-height))\n\n // When a heading is selected\n section > span:target\n scroll-margin-top: calc(0.8rem + var(--header-height))\n\n// Permalinks\n.headerlink\n font-weight: 100\n user-select: none\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ndl dt,\np.caption,\nfigcaption p,\ntable > caption,\n.code-block-caption\n > .headerlink\n margin-left: 0.5rem\n visibility: hidden\n &:hover > .headerlink\n visibility: visible\n\n // Don't change to link-like, if someone adds the contents directive.\n > .toc-backref\n color: inherit\n text-decoration-line: none\n\n// Figure and table captions are special.\nfigure:hover > figcaption > p > .headerlink,\ntable:hover > caption > .headerlink\n visibility: visible\n\n:target >, // Regular section[id] style anchors\nspan:target ~ // Non-regular span[id] style \"extra\" anchors\n h1,\n h2,\n h3,\n h4,\n h5,\n h6\n &:nth-of-type(1)\n background-color: var(--color-highlight-on-target)\n // .headerlink\n // visibility: visible\n code.literal\n background-color: transparent\n\ntable:target > caption,\nfigure:target\n background-color: var(--color-highlight-on-target)\n\n// Inline page contents\n.this-will-duplicate-information-and-it-is-still-useful-here li :target\n background-color: var(--color-highlight-on-target)\n\n// Code block permalinks\n.literal-block-wrapper:target .code-block-caption\n background-color: var(--color-highlight-on-target)\n\n// When a definition list item is selected\n//\n// There isn't really an alternative to !important here, due to the\n// high-specificity of API documentation's selector.\ndt:target\n background-color: var(--color-highlight-on-target) !important\n\n// When a footnote reference is selected\n.footnote > dt:target + dd,\n.footnote-reference:target\n background-color: var(--color-highlight-on-target)\n",".guilabel\n background-color: var(--color-guilabel-background)\n border: 1px solid var(--color-guilabel-border)\n color: var(--color-guilabel-text)\n\n padding: 0 0.3em\n border-radius: 0.5em\n font-size: 0.9em\n","// This file contains the styles used for stylizing the footer that's shown\n// below the content.\n\nfooter\n font-size: var(--font-size--small)\n display: flex\n flex-direction: column\n\n margin-top: 2rem\n\n// Bottom of page information\n.bottom-of-page\n display: flex\n align-items: center\n justify-content: space-between\n\n margin-top: 1rem\n padding-top: 1rem\n padding-bottom: 1rem\n\n color: var(--color-foreground-secondary)\n border-top: 1px solid var(--color-background-border)\n\n line-height: 1.5\n\n @media (max-width: $content-width)\n text-align: center\n flex-direction: column-reverse\n gap: 0.25rem\n\n .left-details\n font-size: var(--font-size--small)\n\n .right-details\n display: flex\n flex-direction: column\n gap: 0.25rem\n text-align: right\n\n .icons\n display: flex\n justify-content: flex-end\n gap: 0.25rem\n font-size: 1rem\n\n a\n text-decoration: none\n\n svg,\n img\n font-size: 1.5rem\n height: 1em\n width: 1em\n\n// Next/Prev page information\n.related-pages\n a\n display: flex\n align-items: center\n\n text-decoration: none\n &:hover .page-info .title\n text-decoration: underline\n color: var(--color-link)\n text-decoration-color: var(--color-link-underline)\n\n svg.furo-related-icon,\n svg.furo-related-icon > use\n flex-shrink: 0\n\n color: var(--color-foreground-border)\n\n width: 1.25rem\n height: 1.25rem\n margin: 0 0.5rem\n\n &.next-page\n max-width: 50%\n\n float: right\n clear: right\n text-align: right\n\n &.prev-page\n max-width: 50%\n\n float: left\n clear: left\n\n svg\n transform: rotate(180deg)\n\n.page-info\n display: flex\n flex-direction: column\n overflow-wrap: anywhere\n\n .next-page &\n align-items: flex-end\n\n .context\n display: flex\n align-items: center\n\n padding-bottom: 0.1rem\n\n color: var(--color-foreground-muted)\n font-size: var(--font-size--small)\n text-decoration: none\n","//\n// Search Page Listing\n//\nul.search\n padding-left: 0\n list-style: none\n\n li\n padding: 1rem 0\n border-bottom: 1px solid var(--color-background-border)\n\n//\n// Highlighted by links in search page\n//\n[role=main] .highlighted\n background-color: var(--color-highlighted-background)\n color: var(--color-highlighted-text)\n","// This file contains the styles for the contents of the left sidebar, which\n// contains the navigation tree, logo, search etc.\n\n////////////////////////////////////////////////////////////////////////////////\n// Brand on top of the scrollable tree.\n////////////////////////////////////////////////////////////////////////////////\n.sidebar-brand\n display: flex\n flex-direction: column\n flex-shrink: 0\n\n padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal)\n text-decoration: none\n\n.sidebar-brand-text\n color: var(--color-sidebar-brand-text)\n overflow-wrap: break-word\n margin: var(--sidebar-item-spacing-vertical) 0\n font-size: 1.5rem\n\n.sidebar-logo-container\n margin: var(--sidebar-item-spacing-vertical) 0\n\n.sidebar-logo\n margin: 0 auto\n display: block\n max-width: 100%\n\n////////////////////////////////////////////////////////////////////////////////\n// Search\n////////////////////////////////////////////////////////////////////////////////\n.sidebar-search-container\n display: flex\n align-items: center\n margin: var(--sidebar-search-space-above) var(--sidebar-search-space-lateral) 0 var(--sidebar-search-space-lateral)\n position: relative\n background: var(--color-sidebar-search-background)\n transition: 0.2s background ease\n\n &:hover,\n &:focus-within\n background: var(--color-sidebar-search-background--focus)\n\n &::before\n content: \"\"\n position: absolute\n left: var(--sidebar-item-spacing-horizontal)\n width: var(--sidebar-search-icon-size)\n height: var(--sidebar-search-icon-size)\n\n background-color: var(--color-sidebar-search-icon)\n -webkit-mask-image: var(--icon-search)\n mask-image: var(--icon-search)\n\n.sidebar-search-container\n border-radius: var(--sidebar-search-border-radius)\n\n.sidebar-search\n box-sizing: border-box\n\n border: none\n border: 1px solid var(--color-sidebar-search-border)\n border-radius: var(--sidebar-search-border-radius)\n\n padding-top: var(--sidebar-search-input-spacing-vertical)\n padding-bottom: var(--sidebar-search-input-spacing-vertical)\n padding-right: var(--sidebar-search-input-spacing-horizontal)\n padding-left: calc(var(--sidebar-item-spacing-horizontal) + var(--sidebar-search-input-spacing-horizontal) + var(--sidebar-search-icon-size))\n\n width: 100%\n\n color: var(--color-sidebar-search-foreground)\n background: transparent\n z-index: 10\n\n &:focus\n outline: none\n\n &::placeholder\n font-size: var(--sidebar-search-input-font-size)\n\n//\n// Hide Search Matches link\n//\n#searchbox .highlight-link\n padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal) 0\n margin: 0\n text-align: center\n\n a\n color: var(--color-sidebar-search-icon)\n font-size: var(--font-size--small--2)\n\n////////////////////////////////////////////////////////////////////////////////\n// Structure/Skeleton of the navigation tree (left)\n////////////////////////////////////////////////////////////////////////////////\n.sidebar-tree\n font-size: var(--sidebar-item-font-size)\n margin-top: var(--sidebar-tree-space-above)\n margin-bottom: var(--sidebar-item-spacing-vertical)\n margin-left: var(--sidebar-tree-space-horizontal)\n margin-right: var(--sidebar-tree-space-horizontal)\n\n ul\n padding: 0\n margin-top: 0\n margin-bottom: 0\n\n display: flex\n flex-direction: column\n\n list-style: none\n\n li\n position: relative\n margin: 0\n\n > ul\n margin-left: var(--sidebar-item-spacing-horizontal)\n\n .icon\n color: var(--color-sidebar-link-text)\n\n .reference\n box-sizing: border-box\n color: var(--color-sidebar-link-text)\n border-radius: var(--sidebar-item-border-radius)\n\n // Fill the parent.\n display: inline-block\n line-height: var(--sidebar-item-line-height)\n text-decoration: none\n\n // Don't allow long words to cause wrapping.\n overflow-wrap: anywhere\n\n height: 100%\n width: 100%\n\n padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal)\n\n transition: 0.2s background ease, 0.2s color ease\n\n &:hover\n background: var(--color-sidebar-item-background--hover)\n\n // Add a nice little \"external-link\" arrow here.\n &.external::after\n content: url('data:image/svg+xml,')\n margin: 0 0.25rem\n vertical-align: middle\n color: var(--color-sidebar-link-text)\n\n // Make the current page reference bold.\n .current-page > .reference\n font-weight: bold\n\n label\n position: absolute\n top: 0\n right: 0\n height: var(--sidebar-item-height)\n width: var(--sidebar-expander-width)\n\n cursor: pointer\n user-select: none\n\n display: flex\n justify-content: center\n align-items: center\n\n border-top-right-radius: var(--sidebar-item-border-radius)\n border-bottom-right-radius: var(--sidebar-item-border-radius)\n\n .caption, :not(.caption) > .caption-text\n font-size: var(--sidebar-caption-font-size)\n color: var(--color-sidebar-caption-text)\n\n font-weight: bold\n text-transform: uppercase\n letter-spacing: .08em\n\n margin: var(--sidebar-caption-space-above) 0 0 0\n padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal)\n\n // If it has children, add a bit more padding to wrap the content to avoid\n // overlapping with the