From 489e943c01c7cf3e62c8c1e4989319da3278e77d Mon Sep 17 00:00:00 2001
From: Phil Chen <92065453+phil-scale@users.noreply.github.com>
Date: Fri, 3 Mar 2023 11:17:39 -0800
Subject: [PATCH] New documentation site (#81)
* Use mkdocs and write docs for launch
* updates
* add site_url
* add overview of concepts
* fix
* some more fixes
* Update CLI help string to 118 instead of 78 chars wide
* test python code in docs and docstrings
* update team tags to infra
* update literal to typing_extensions
* add some reqs
* fix
* add sleep to callbacks
* updates
* update deps
* address comments
* fix pylint
---
.circleci/config.yml | 4 +-
.../_sphinx_javascript_frameworks_compat.js | 134 -
docs/_static/basic.css | 930 --
docs/_static/css/custom.css | 5 -
docs/_static/debug.css | 69 -
docs/_static/doctools.js | 264 -
docs/_static/documentation_options.js | 14 -
docs/_static/graphviz.css | 19 -
docs/_static/jquery-3.5.1.js | 10872 ---------------
docs/_static/jquery-3.6.0.js | 10881 ----------------
docs/_static/jquery.js | 2 -
docs/_static/language_data.js | 199 -
docs/_static/pygments.css | 252 -
docs/_static/scripts/furo-extensions.js | 0
docs/_static/scripts/furo.js | 3 -
docs/_static/scripts/furo.js.LICENSE.txt | 7 -
docs/_static/scripts/furo.js.map | 1 -
docs/_static/searchtools.js | 531 -
docs/_static/skeleton.css | 296 -
docs/_static/styles/furo-extensions.css | 2 -
docs/_static/styles/furo-extensions.css.map | 1 -
docs/_static/styles/furo.css | 2 -
docs/_static/styles/furo.css.map | 1 -
docs/_static/underscore-1.13.1.js | 2042 ---
docs/_static/underscore.js | 6 -
docs/api/client.md | 3 +
docs/api/endpoint_predictions.md | 5 +
docs/api/hooks.md | 2 +
docs/api/launch/cli/bin/index.html | 308 -
docs/api/launch/cli/bundles/index.html | 356 -
docs/api/launch/cli/client/index.html | 254 -
docs/api/launch/cli/endpoints/index.html | 356 -
docs/api/launch/cli/index.html | 450 -
docs/api/launch/client/index.html | 927 --
.../batching/implementation/index.html | 294 -
docs/api/launch/clientlib/batching/index.html | 254 -
.../batching/named_arrays/index.html | 304 -
.../batching/single_array/index.html | 304 -
.../clientlib/batching/types/index.html | 333 -
docs/api/launch/clientlib/core/index.html | 330 -
.../launch/clientlib/demonstration/index.html | 254 -
.../launch/clientlib/deployment/index.html | 301 -
docs/api/launch/clientlib/exe/index.html | 254 -
.../clientlib/exe/run_service/index.html | 254 -
.../launch/clientlib/full_service/index.html | 371 -
docs/api/launch/clientlib/http/index.html | 254 -
docs/api/launch/clientlib/index.html | 515 -
docs/api/launch/clientlib/loader/index.html | 357 -
docs/api/launch/clientlib/model/index.html | 310 -
.../model_service/implementation/index.html | 294 -
.../launch/clientlib/model_service/index.html | 254 -
.../model_service/named_arrays/index.html | 304 -
.../model_service/single_array/index.html | 304 -
.../clientlib/model_service/types/index.html | 328 -
.../object_conf_from_std_ml_serve/index.html | 358 -
docs/api/launch/clientlib/pipeline/index.html | 254 -
docs/api/launch/clientlib/service/index.html | 335 -
docs/api/launch/clientlib/triton/index.html | 304 -
docs/api/launch/clientlib/types/index.html | 276 -
docs/api/launch/clientlib/utils/index.html | 291 -
docs/api/launch/connection/index.html | 333 -
docs/api/launch/constants/index.html | 254 -
docs/api/launch/errors/index.html | 296 -
docs/api/launch/find_packages/index.html | 325 -
docs/api/launch/hooks/index.html | 784 --
docs/api/launch/index.html | 1399 --
docs/api/launch/logger/index.html | 254 -
docs/api/launch/make_batch_file/index.html | 254 -
docs/api/launch/model_bundle/index.html | 353 -
docs/api/launch/model_endpoint/index.html | 746 --
.../api/launch/pipeline/deployment/index.html | 300 -
docs/api/launch/pipeline/index.html | 413 -
docs/api/launch/pipeline/runtime/index.html | 317 -
docs/api/launch/pipeline/service/index.html | 335 -
docs/api/launch/pipeline/utils/index.html | 331 -
docs/api/launch/request_validation/index.html | 273 -
docs/api/launch/retry_strategy/index.html | 254 -
docs/api/launch/utils/index.html | 305 -
docs/api/model_bundles.md | 3 +
docs/api/model_endpoints.md | 8 +
docs/cli.md | 12 +
docs/cli_help.txt | 21 +
docs/concepts/batch_jobs.md | 40 +
docs/concepts/callbacks.md | 69 +
docs/concepts/endpoint_predictions.md | 32 +
docs/concepts/model_bundles.md | 244 +
docs/concepts/model_endpoints.md | 127 +
docs/concepts/overview.md | 14 +
docs/genindex.html | 1627 ---
docs/guides/deploying_your_code.html | 273 -
docs/guides/getting_started.html | 371 -
docs/guides/index.html | 298 -
docs/guides/integrations.html | 305 -
docs/guides/registering_your_code.html | 273 -
docs/guides/troubleshooting.html | 297 -
docs/index.html | 359 -
docs/index.md | 125 +
docs/objects.inv | Bin 3364 -> 0 bytes
docs/plugins.py | 58 +
docs/py-modindex.html | 562 -
docs/search.html | 261 -
docs/searchindex.js | 1 -
launch/__init__.py | 2 +
launch/cli/bin.py | 20 +-
launch/cli/config.py | 2 +-
launch/client.py | 143 +-
launch/hooks.py | 11 +-
launch/model_endpoint.py | 13 +-
mkdocs.yml | 88 +
poetry.lock | 1003 +-
pyproject.toml | 11 +-
tests/conftest.py | 17 +
tests/test_docs.py | 136 +
113 files changed, 1653 insertions(+), 49888 deletions(-)
delete mode 100644 docs/_static/_sphinx_javascript_frameworks_compat.js
delete mode 100644 docs/_static/basic.css
delete mode 100644 docs/_static/css/custom.css
delete mode 100644 docs/_static/debug.css
delete mode 100644 docs/_static/doctools.js
delete mode 100644 docs/_static/documentation_options.js
delete mode 100644 docs/_static/graphviz.css
delete mode 100644 docs/_static/jquery-3.5.1.js
delete mode 100644 docs/_static/jquery-3.6.0.js
delete mode 100644 docs/_static/jquery.js
delete mode 100644 docs/_static/language_data.js
delete mode 100644 docs/_static/pygments.css
delete mode 100644 docs/_static/scripts/furo-extensions.js
delete mode 100644 docs/_static/scripts/furo.js
delete mode 100644 docs/_static/scripts/furo.js.LICENSE.txt
delete mode 100644 docs/_static/scripts/furo.js.map
delete mode 100644 docs/_static/searchtools.js
delete mode 100644 docs/_static/skeleton.css
delete mode 100644 docs/_static/styles/furo-extensions.css
delete mode 100644 docs/_static/styles/furo-extensions.css.map
delete mode 100644 docs/_static/styles/furo.css
delete mode 100644 docs/_static/styles/furo.css.map
delete mode 100644 docs/_static/underscore-1.13.1.js
delete mode 100644 docs/_static/underscore.js
create mode 100644 docs/api/client.md
create mode 100644 docs/api/endpoint_predictions.md
create mode 100644 docs/api/hooks.md
delete mode 100644 docs/api/launch/cli/bin/index.html
delete mode 100644 docs/api/launch/cli/bundles/index.html
delete mode 100644 docs/api/launch/cli/client/index.html
delete mode 100644 docs/api/launch/cli/endpoints/index.html
delete mode 100644 docs/api/launch/cli/index.html
delete mode 100644 docs/api/launch/client/index.html
delete mode 100644 docs/api/launch/clientlib/batching/implementation/index.html
delete mode 100644 docs/api/launch/clientlib/batching/index.html
delete mode 100644 docs/api/launch/clientlib/batching/named_arrays/index.html
delete mode 100644 docs/api/launch/clientlib/batching/single_array/index.html
delete mode 100644 docs/api/launch/clientlib/batching/types/index.html
delete mode 100644 docs/api/launch/clientlib/core/index.html
delete mode 100644 docs/api/launch/clientlib/demonstration/index.html
delete mode 100644 docs/api/launch/clientlib/deployment/index.html
delete mode 100644 docs/api/launch/clientlib/exe/index.html
delete mode 100644 docs/api/launch/clientlib/exe/run_service/index.html
delete mode 100644 docs/api/launch/clientlib/full_service/index.html
delete mode 100644 docs/api/launch/clientlib/http/index.html
delete mode 100644 docs/api/launch/clientlib/index.html
delete mode 100644 docs/api/launch/clientlib/loader/index.html
delete mode 100644 docs/api/launch/clientlib/model/index.html
delete mode 100644 docs/api/launch/clientlib/model_service/implementation/index.html
delete mode 100644 docs/api/launch/clientlib/model_service/index.html
delete mode 100644 docs/api/launch/clientlib/model_service/named_arrays/index.html
delete mode 100644 docs/api/launch/clientlib/model_service/single_array/index.html
delete mode 100644 docs/api/launch/clientlib/model_service/types/index.html
delete mode 100644 docs/api/launch/clientlib/object_conf_from_std_ml_serve/index.html
delete mode 100644 docs/api/launch/clientlib/pipeline/index.html
delete mode 100644 docs/api/launch/clientlib/service/index.html
delete mode 100644 docs/api/launch/clientlib/triton/index.html
delete mode 100644 docs/api/launch/clientlib/types/index.html
delete mode 100644 docs/api/launch/clientlib/utils/index.html
delete mode 100644 docs/api/launch/connection/index.html
delete mode 100644 docs/api/launch/constants/index.html
delete mode 100644 docs/api/launch/errors/index.html
delete mode 100644 docs/api/launch/find_packages/index.html
delete mode 100644 docs/api/launch/hooks/index.html
delete mode 100644 docs/api/launch/index.html
delete mode 100644 docs/api/launch/logger/index.html
delete mode 100644 docs/api/launch/make_batch_file/index.html
delete mode 100644 docs/api/launch/model_bundle/index.html
delete mode 100644 docs/api/launch/model_endpoint/index.html
delete mode 100644 docs/api/launch/pipeline/deployment/index.html
delete mode 100644 docs/api/launch/pipeline/index.html
delete mode 100644 docs/api/launch/pipeline/runtime/index.html
delete mode 100644 docs/api/launch/pipeline/service/index.html
delete mode 100644 docs/api/launch/pipeline/utils/index.html
delete mode 100644 docs/api/launch/request_validation/index.html
delete mode 100644 docs/api/launch/retry_strategy/index.html
delete mode 100644 docs/api/launch/utils/index.html
create mode 100644 docs/api/model_bundles.md
create mode 100644 docs/api/model_endpoints.md
create mode 100644 docs/cli.md
create mode 100644 docs/cli_help.txt
create mode 100644 docs/concepts/batch_jobs.md
create mode 100644 docs/concepts/callbacks.md
create mode 100644 docs/concepts/endpoint_predictions.md
create mode 100644 docs/concepts/model_bundles.md
create mode 100644 docs/concepts/model_endpoints.md
create mode 100644 docs/concepts/overview.md
delete mode 100644 docs/genindex.html
delete mode 100644 docs/guides/deploying_your_code.html
delete mode 100644 docs/guides/getting_started.html
delete mode 100644 docs/guides/index.html
delete mode 100644 docs/guides/integrations.html
delete mode 100644 docs/guides/registering_your_code.html
delete mode 100644 docs/guides/troubleshooting.html
delete mode 100644 docs/index.html
create mode 100644 docs/index.md
delete mode 100644 docs/objects.inv
create mode 100644 docs/plugins.py
delete mode 100644 docs/py-modindex.html
delete mode 100644 docs/search.html
delete mode 100644 docs/searchindex.js
create mode 100644 mkdocs.yml
create mode 100644 tests/conftest.py
create mode 100644 tests/test_docs.py
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 09394fca..01f6f3df 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -46,11 +46,11 @@ jobs:
- run:
name: Pylint Lint Check # Uses .pylintrc for configuration
command: |
- poetry run pylint launch --ignore=api_client
+ poetry run pylint launch --ignore=api_client,openapi_client
- run:
name: MyPy typing check
command: |
- poetry run mypy --ignore-missing-imports launch --exclude launch/api_client
+ poetry run mypy --ignore-missing-imports launch --exclude launch/api_client --exclude launch/openapi_client
- run:
name: Isort Import Formatting Check # Only validation, without re-formatting
command: |
diff --git a/docs/_static/_sphinx_javascript_frameworks_compat.js b/docs/_static/_sphinx_javascript_frameworks_compat.js
deleted file mode 100644
index 8549469d..00000000
--- a/docs/_static/_sphinx_javascript_frameworks_compat.js
+++ /dev/null
@@ -1,134 +0,0 @@
-/*
- * _sphinx_javascript_frameworks_compat.js
- * ~~~~~~~~~~
- *
- * Compatability shim for jQuery and underscores.js.
- *
- * WILL BE REMOVED IN Sphinx 6.0
- * xref RemovedInSphinx60Warning
- *
- */
-
-/**
- * select a different prefix for underscore
- */
-$u = _.noConflict();
-
-
-/**
- * small helper function to urldecode strings
- *
- * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL
- */
-jQuery.urldecode = function(x) {
- if (!x) {
- return x
- }
- return decodeURIComponent(x.replace(/\+/g, ' '));
-};
-
-/**
- * small helper function to urlencode strings
- */
-jQuery.urlencode = encodeURIComponent;
-
-/**
- * This function returns the parsed url parameters of the
- * current request. Multiple values per key are supported,
- * it will always return arrays of strings for the value parts.
- */
-jQuery.getQueryParameters = function(s) {
- if (typeof s === 'undefined')
- s = document.location.search;
- var parts = s.substr(s.indexOf('?') + 1).split('&');
- var result = {};
- for (var i = 0; i < parts.length; i++) {
- var tmp = parts[i].split('=', 2);
- var key = jQuery.urldecode(tmp[0]);
- var value = jQuery.urldecode(tmp[1]);
- if (key in result)
- result[key].push(value);
- else
- result[key] = [value];
- }
- return result;
-};
-
-/**
- * highlight a given string on a jquery object by wrapping it in
- * span elements with the given class name.
- */
-jQuery.fn.highlightText = function(text, className) {
- function highlight(node, addItems) {
- if (node.nodeType === 3) {
- var val = node.nodeValue;
- var pos = val.toLowerCase().indexOf(text);
- if (pos >= 0 &&
- !jQuery(node.parentNode).hasClass(className) &&
- !jQuery(node.parentNode).hasClass("nohighlight")) {
- var span;
- var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg");
- if (isInSVG) {
- span = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
- } else {
- span = document.createElement("span");
- span.className = className;
- }
- span.appendChild(document.createTextNode(val.substr(pos, text.length)));
- node.parentNode.insertBefore(span, node.parentNode.insertBefore(
- document.createTextNode(val.substr(pos + text.length)),
- node.nextSibling));
- node.nodeValue = val.substr(0, pos);
- if (isInSVG) {
- var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect");
- var bbox = node.parentElement.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": node.parentNode,
- "target": rect});
- }
- }
- }
- else if (!jQuery(node).is("button, select, textarea")) {
- jQuery.each(node.childNodes, function() {
- highlight(this, addItems);
- });
- }
- }
- var addItems = [];
- var result = this.each(function() {
- highlight(this, addItems);
- });
- for (var i = 0; i < addItems.length; ++i) {
- jQuery(addItems[i].parent).before(addItems[i].target);
- }
- return result;
-};
-
-/*
- * backward compatibility for jQuery.browser
- * This will be supported until firefox bug is fixed.
- */
-if (!jQuery.browser) {
- jQuery.uaMatch = function(ua) {
- ua = ua.toLowerCase();
-
- var match = /(chrome)[ \/]([\w.]+)/.exec(ua) ||
- /(webkit)[ \/]([\w.]+)/.exec(ua) ||
- /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
- /(msie) ([\w.]+)/.exec(ua) ||
- ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) ||
- [];
-
- return {
- browser: match[ 1 ] || "",
- version: match[ 2 ] || "0"
- };
- };
- jQuery.browser = {};
- jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true;
-}
diff --git a/docs/_static/basic.css b/docs/_static/basic.css
deleted file mode 100644
index 08896771..00000000
--- a/docs/_static/basic.css
+++ /dev/null
@@ -1,930 +0,0 @@
-/*
- * basic.css
- * ~~~~~~~~~
- *
- * Sphinx stylesheet -- basic theme.
- *
- * :copyright: Copyright 2007-2022 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;
-}
-
-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;
-}
-
-/* Docutils 0.17 and older (footnotes & citations) */
-dl.footnote > dt,
-dl.citation > dt {
- float: left;
- margin-right: 0.5em;
-}
-
-dl.footnote > dd,
-dl.citation > dd {
- margin-bottom: 0em;
-}
-
-dl.footnote > dd:after,
-dl.citation > dd:after {
- content: "";
- clear: both;
-}
-
-/* Docutils 0.18+ (footnotes & citations) */
-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;
-}
-
-/* Footnotes & citations ends */
-
-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 > dt:after {
- content: ":";
-}
-
-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;
-}
-
-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;
-}
-
-/* -- 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;
- }
-}
\ No newline at end of file
diff --git a/docs/_static/css/custom.css b/docs/_static/css/custom.css
deleted file mode 100644
index 1c0083c6..00000000
--- a/docs/_static/css/custom.css
+++ /dev/null
@@ -1,5 +0,0 @@
-@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;700&display=swap');
-
-body {
- font-family: 'IBM Plex Sans', sans-serif;
-}
diff --git a/docs/_static/debug.css b/docs/_static/debug.css
deleted file mode 100644
index 74d4aec3..00000000
--- a/docs/_static/debug.css
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- 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/_static/doctools.js b/docs/_static/doctools.js
deleted file mode 100644
index c3db08d1..00000000
--- a/docs/_static/doctools.js
+++ /dev/null
@@ -1,264 +0,0 @@
-/*
- * doctools.js
- * ~~~~~~~~~~~
- *
- * Base JavaScript utilities for all Sphinx HTML documentation.
- *
- * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
- * :license: BSD, see LICENSE for details.
- *
- */
-"use strict";
-
-const _ready = (callback) => {
- if (document.readyState !== "loading") {
- callback();
- } else {
- document.addEventListener("DOMContentLoaded", callback);
- }
-};
-
-/**
- * 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)));
- parent.insertBefore(
- span,
- parent.insertBefore(
- document.createTextNode(val.substr(pos + text.length)),
- node.nextSibling
- )
- );
- node.nodeValue = val.substr(0, pos);
-
- 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 Documentation = {
- init: () => {
- Documentation.highlightSearchWords();
- 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;
- },
-
- /**
- * highlight the search words provided in the url in the text
- */
- highlightSearchWords: () => {
- const highlight =
- new URLSearchParams(window.location.search).get("highlight") || "";
- 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(
- '
' +
- '' +
- Documentation.gettext("Hide Search Matches") +
- "
"
- )
- );
- },
-
- /**
- * 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"));
- const url = new URL(window.location);
- url.searchParams.delete("highlight");
- window.history.replaceState({}, "", url);
- },
-
- /**
- * 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;
-
- const blacklistedElements = new Set([
- "TEXTAREA",
- "INPUT",
- "SELECT",
- "BUTTON",
- ]);
- document.addEventListener("keydown", (event) => {
- if (blacklistedElements.has(document.activeElement.tagName)) return; // bail for input elements
- if (event.altKey || event.ctrlKey || event.metaKey) return; // bail with special keys
-
- 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;
- case "Escape":
- if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) break;
- Documentation.hideSearchWords();
- event.preventDefault();
- }
- }
-
- // 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/_static/documentation_options.js b/docs/_static/documentation_options.js
deleted file mode 100644
index 8b3b96c4..00000000
--- a/docs/_static/documentation_options.js
+++ /dev/null
@@ -1,14 +0,0 @@
-var DOCUMENTATION_OPTIONS = {
- URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
- VERSION: 'v0.3.3',
- LANGUAGE: 'en',
- COLLAPSE_INDEX: false,
- BUILDER: 'html',
- FILE_SUFFIX: '.html',
- LINK_SUFFIX: '.html',
- HAS_SOURCE: true,
- SOURCELINK_SUFFIX: '.txt',
- NAVIGATION_WITH_KEYS: false,
- SHOW_SEARCH_SUMMARY: true,
- ENABLE_SEARCH_SHORTCUTS: false,
-};
\ No newline at end of file
diff --git a/docs/_static/graphviz.css b/docs/_static/graphviz.css
deleted file mode 100644
index 19e7afd3..00000000
--- a/docs/_static/graphviz.css
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * graphviz.css
- * ~~~~~~~~~~~~
- *
- * Sphinx stylesheet -- graphviz extension.
- *
- * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
- * :license: BSD, see LICENSE for details.
- *
- */
-
-img.graphviz {
- border: 0;
- max-width: 100%;
-}
-
-object.graphviz {
- max-width: 100%;
-}
diff --git a/docs/_static/jquery-3.5.1.js b/docs/_static/jquery-3.5.1.js
deleted file mode 100644
index 50937333..00000000
--- a/docs/_static/jquery-3.5.1.js
+++ /dev/null
@@ -1,10872 +0,0 @@
-/*!
- * jQuery JavaScript Library v3.5.1
- * https://jquery.com/
- *
- * Includes Sizzle.js
- * https://sizzlejs.com/
- *
- * Copyright JS Foundation and other contributors
- * Released under the MIT license
- * https://jquery.org/license
- *
- * Date: 2020-05-04T22:49Z
- */
-( function( global, factory ) {
-
- "use strict";
-
- if ( typeof module === "object" && typeof module.exports === "object" ) {
-
- // For CommonJS and CommonJS-like environments where a proper `window`
- // is present, execute the factory and get jQuery.
- // For environments that do not have a `window` with a `document`
- // (such as Node.js), expose a factory as module.exports.
- // This accentuates the need for the creation of a real `window`.
- // e.g. var jQuery = require("jquery")(window);
- // See ticket #14549 for more info.
- module.exports = global.document ?
- factory( global, true ) :
- function( w ) {
- if ( !w.document ) {
- throw new Error( "jQuery requires a window with a document" );
- }
- return factory( w );
- };
- } else {
- factory( global );
- }
-
-// Pass this if window is not defined yet
-} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
-
-// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1
-// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode
-// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common
-// enough that all such attempts are guarded in a try block.
-"use strict";
-
-var arr = [];
-
-var getProto = Object.getPrototypeOf;
-
-var slice = arr.slice;
-
-var flat = arr.flat ? function( array ) {
- return arr.flat.call( array );
-} : function( array ) {
- return arr.concat.apply( [], array );
-};
-
-
-var push = arr.push;
-
-var indexOf = arr.indexOf;
-
-var class2type = {};
-
-var toString = class2type.toString;
-
-var hasOwn = class2type.hasOwnProperty;
-
-var fnToString = hasOwn.toString;
-
-var ObjectFunctionString = fnToString.call( Object );
-
-var support = {};
-
-var isFunction = function isFunction( obj ) {
-
- // Support: Chrome <=57, Firefox <=52
- // In some browsers, typeof returns "function" for HTML