drf-spectacular-nested-tags 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- drf_spectacular_nested_tags-1.0.0/LICENSE +25 -0
- drf_spectacular_nested_tags-1.0.0/MANIFEST.in +9 -0
- drf_spectacular_nested_tags-1.0.0/PKG-INFO +143 -0
- drf_spectacular_nested_tags-1.0.0/README.md +86 -0
- drf_spectacular_nested_tags-1.0.0/drf_spectacular_nested_tags/__init__.py +3 -0
- drf_spectacular_nested_tags-1.0.0/drf_spectacular_nested_tags/apps.py +6 -0
- drf_spectacular_nested_tags-1.0.0/drf_spectacular_nested_tags/hooks.py +82 -0
- drf_spectacular_nested_tags-1.0.0/drf_spectacular_nested_tags/static/drf_spectacular_nested_tags/nested-tags.js +14 -0
- drf_spectacular_nested_tags-1.0.0/drf_spectacular_nested_tags/templates/drf_spectacular_nested_tags/swagger_ui.html +41 -0
- drf_spectacular_nested_tags-1.0.0/drf_spectacular_nested_tags/views.py +36 -0
- drf_spectacular_nested_tags-1.0.0/drf_spectacular_nested_tags.egg-info/PKG-INFO +143 -0
- drf_spectacular_nested_tags-1.0.0/drf_spectacular_nested_tags.egg-info/SOURCES.txt +24 -0
- drf_spectacular_nested_tags-1.0.0/drf_spectacular_nested_tags.egg-info/dependency_links.txt +1 -0
- drf_spectacular_nested_tags-1.0.0/drf_spectacular_nested_tags.egg-info/requires.txt +2 -0
- drf_spectacular_nested_tags-1.0.0/drf_spectacular_nested_tags.egg-info/top_level.txt +1 -0
- drf_spectacular_nested_tags-1.0.0/js/.babelrc +13 -0
- drf_spectacular_nested_tags-1.0.0/js/babel.config.js +31 -0
- drf_spectacular_nested_tags-1.0.0/js/package.json +59 -0
- drf_spectacular_nested_tags-1.0.0/js/scripts/build.sh +27 -0
- drf_spectacular_nested_tags-1.0.0/js/src/HierarchicalOperationTag.jsx +223 -0
- drf_spectacular_nested_tags-1.0.0/js/src/HierarchicalOperations.jsx +168 -0
- drf_spectacular_nested_tags-1.0.0/js/src/Utils.js +52 -0
- drf_spectacular_nested_tags-1.0.0/js/src/index.jsx +52 -0
- drf_spectacular_nested_tags-1.0.0/js/webpack.config.js +30 -0
- drf_spectacular_nested_tags-1.0.0/pyproject.toml +40 -0
- drf_spectacular_nested_tags-1.0.0/setup.cfg +4 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020-2023 Kael Shipman
|
|
4
|
+
Copyright (c) 2026 Youssef Tarek
|
|
5
|
+
|
|
6
|
+
This project is a fork of swagger-ui-plugin-hierarchical-tags, adding support for
|
|
7
|
+
the OpenAPI 3.2 tag `parent` and `summary` fields.
|
|
8
|
+
|
|
9
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
11
|
+
in the Software without restriction, including without limitation the rights
|
|
12
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
14
|
+
furnished to do so, subject to the following conditions:
|
|
15
|
+
|
|
16
|
+
The above copyright notice and this permission notice shall be included in all
|
|
17
|
+
copies or substantial portions of the Software.
|
|
18
|
+
|
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
22
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
23
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
24
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
25
|
+
SOFTWARE.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
include LICENSE
|
|
2
|
+
include README.md
|
|
3
|
+
recursive-include drf_spectacular_nested_tags/static *
|
|
4
|
+
recursive-include drf_spectacular_nested_tags/templates *
|
|
5
|
+
recursive-include js/src *
|
|
6
|
+
include js/package.json js/webpack.config.js js/babel.config.js js/.babelrc
|
|
7
|
+
include js/scripts/build.sh
|
|
8
|
+
prune js/node_modules
|
|
9
|
+
prune js/build
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: drf-spectacular-nested-tags
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Nested tag groups for drf-spectacular's Swagger UI, driven by OpenAPI 3.2 tag parents.
|
|
5
|
+
Author: Youssef Tarek
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2020-2023 Kael Shipman
|
|
9
|
+
Copyright (c) 2026 Youssef Tarek
|
|
10
|
+
|
|
11
|
+
This project is a fork of swagger-ui-plugin-hierarchical-tags, adding support for
|
|
12
|
+
the OpenAPI 3.2 tag `parent` and `summary` fields.
|
|
13
|
+
|
|
14
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
15
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
16
|
+
in the Software without restriction, including without limitation the rights
|
|
17
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
18
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
19
|
+
furnished to do so, subject to the following conditions:
|
|
20
|
+
|
|
21
|
+
The above copyright notice and this permission notice shall be included in all
|
|
22
|
+
copies or substantial portions of the Software.
|
|
23
|
+
|
|
24
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
25
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
26
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
27
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
28
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
29
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
30
|
+
SOFTWARE.
|
|
31
|
+
|
|
32
|
+
Keywords: django,drf-spectacular,openapi,swagger-ui,nested-tags
|
|
33
|
+
Classifier: Development Status :: 4 - Beta
|
|
34
|
+
Classifier: Environment :: Web Environment
|
|
35
|
+
Classifier: Framework :: Django
|
|
36
|
+
Classifier: Framework :: Django :: 4.2
|
|
37
|
+
Classifier: Framework :: Django :: 5.0
|
|
38
|
+
Classifier: Framework :: Django :: 5.1
|
|
39
|
+
Classifier: Framework :: Django :: 5.2
|
|
40
|
+
Classifier: Intended Audience :: Developers
|
|
41
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
42
|
+
Classifier: Operating System :: OS Independent
|
|
43
|
+
Classifier: Programming Language :: Python :: 3
|
|
44
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
45
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
46
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
47
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
48
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
49
|
+
Classifier: Topic :: Documentation
|
|
50
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
51
|
+
Requires-Python: >=3.9
|
|
52
|
+
Description-Content-Type: text/markdown
|
|
53
|
+
License-File: LICENSE
|
|
54
|
+
Requires-Dist: django>=4.2
|
|
55
|
+
Requires-Dist: drf-spectacular>=0.27
|
|
56
|
+
Dynamic: license-file
|
|
57
|
+
|
|
58
|
+
# drf-spectacular-nested-tags
|
|
59
|
+
|
|
60
|
+
Nested tag groups for drf-spectacular's Swagger UI.
|
|
61
|
+
|
|
62
|
+
Swagger UI renders tags as a flat list and has never implemented hierarchy — the
|
|
63
|
+
request was closed and the pull request was never merged. OpenAPI 3.2 added a
|
|
64
|
+
`parent` field to the Tag Object, but Swagger UI does not read it.
|
|
65
|
+
|
|
66
|
+
This package fills that gap. It emits proper 3.2 nested tags from your schema and
|
|
67
|
+
ships a Swagger UI plugin that renders them, so one app collapses to a single row
|
|
68
|
+
instead of a dozen.
|
|
69
|
+
|
|
70
|
+
## Install
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
pip install drf-spectacular-nested-tags
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
```python
|
|
77
|
+
INSTALLED_APPS = [
|
|
78
|
+
...,
|
|
79
|
+
"drf_spectacular_nested_tags",
|
|
80
|
+
]
|
|
81
|
+
|
|
82
|
+
SPECTACULAR_SETTINGS = {
|
|
83
|
+
...,
|
|
84
|
+
"POSTPROCESSING_HOOKS": [
|
|
85
|
+
...,
|
|
86
|
+
"drf_spectacular_nested_tags.hooks.nest_tags",
|
|
87
|
+
],
|
|
88
|
+
}
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Serve the bundled view instead of `SpectacularSwaggerView`:
|
|
92
|
+
|
|
93
|
+
```python
|
|
94
|
+
from drf_spectacular_nested_tags.views import NestedTagsSwaggerView
|
|
95
|
+
|
|
96
|
+
urlpatterns = [
|
|
97
|
+
path("", NestedTagsSwaggerView.as_view(url_name="schema")),
|
|
98
|
+
]
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## Usage
|
|
102
|
+
|
|
103
|
+
Tag operations with a separator and the hook does the rest:
|
|
104
|
+
|
|
105
|
+
```python
|
|
106
|
+
@extend_schema(tags=["Document Analyzer|Projects"])
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
That becomes:
|
|
110
|
+
|
|
111
|
+
```yaml
|
|
112
|
+
tags:
|
|
113
|
+
- name: document-analyzer
|
|
114
|
+
summary: Document Analyzer
|
|
115
|
+
- name: document-analyzer-projects
|
|
116
|
+
summary: Projects
|
|
117
|
+
parent: document-analyzer
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
`name` stays globally unique as OpenAPI requires, `summary` carries the label the
|
|
121
|
+
UI shows, and `parent` expresses the nesting.
|
|
122
|
+
|
|
123
|
+
## Settings
|
|
124
|
+
|
|
125
|
+
```python
|
|
126
|
+
NESTED_TAGS = {
|
|
127
|
+
"SEPARATOR": "|", # separator in tag names
|
|
128
|
+
"SLUGIFY_NAMES": False, # rewrite names to slugs (recommended)
|
|
129
|
+
}
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
## Notes
|
|
133
|
+
|
|
134
|
+
Requires a Swagger UI build that accepts OpenAPI 3.2 if you set `OAS_VERSION` to
|
|
135
|
+
`3.2.0`; older builds reject the version outright. The nesting itself works on any
|
|
136
|
+
`OAS_VERSION`, since the plugin reads the tags rather than the version.
|
|
137
|
+
|
|
138
|
+
If the plugin fails to load, Swagger UI falls back to its normal flat rendering.
|
|
139
|
+
|
|
140
|
+
## Credits
|
|
141
|
+
|
|
142
|
+
The renderer is a fork of [swagger-ui-plugin-hierarchical-tags](https://github.com/kael-shipman/swagger-ui-plugins)
|
|
143
|
+
by Kael Shipman (MIT), extended to read OpenAPI 3.2 `parent` and `summary`.
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# drf-spectacular-nested-tags
|
|
2
|
+
|
|
3
|
+
Nested tag groups for drf-spectacular's Swagger UI.
|
|
4
|
+
|
|
5
|
+
Swagger UI renders tags as a flat list and has never implemented hierarchy — the
|
|
6
|
+
request was closed and the pull request was never merged. OpenAPI 3.2 added a
|
|
7
|
+
`parent` field to the Tag Object, but Swagger UI does not read it.
|
|
8
|
+
|
|
9
|
+
This package fills that gap. It emits proper 3.2 nested tags from your schema and
|
|
10
|
+
ships a Swagger UI plugin that renders them, so one app collapses to a single row
|
|
11
|
+
instead of a dozen.
|
|
12
|
+
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pip install drf-spectacular-nested-tags
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
```python
|
|
20
|
+
INSTALLED_APPS = [
|
|
21
|
+
...,
|
|
22
|
+
"drf_spectacular_nested_tags",
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
SPECTACULAR_SETTINGS = {
|
|
26
|
+
...,
|
|
27
|
+
"POSTPROCESSING_HOOKS": [
|
|
28
|
+
...,
|
|
29
|
+
"drf_spectacular_nested_tags.hooks.nest_tags",
|
|
30
|
+
],
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Serve the bundled view instead of `SpectacularSwaggerView`:
|
|
35
|
+
|
|
36
|
+
```python
|
|
37
|
+
from drf_spectacular_nested_tags.views import NestedTagsSwaggerView
|
|
38
|
+
|
|
39
|
+
urlpatterns = [
|
|
40
|
+
path("", NestedTagsSwaggerView.as_view(url_name="schema")),
|
|
41
|
+
]
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Usage
|
|
45
|
+
|
|
46
|
+
Tag operations with a separator and the hook does the rest:
|
|
47
|
+
|
|
48
|
+
```python
|
|
49
|
+
@extend_schema(tags=["Document Analyzer|Projects"])
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
That becomes:
|
|
53
|
+
|
|
54
|
+
```yaml
|
|
55
|
+
tags:
|
|
56
|
+
- name: document-analyzer
|
|
57
|
+
summary: Document Analyzer
|
|
58
|
+
- name: document-analyzer-projects
|
|
59
|
+
summary: Projects
|
|
60
|
+
parent: document-analyzer
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
`name` stays globally unique as OpenAPI requires, `summary` carries the label the
|
|
64
|
+
UI shows, and `parent` expresses the nesting.
|
|
65
|
+
|
|
66
|
+
## Settings
|
|
67
|
+
|
|
68
|
+
```python
|
|
69
|
+
NESTED_TAGS = {
|
|
70
|
+
"SEPARATOR": "|", # separator in tag names
|
|
71
|
+
"SLUGIFY_NAMES": False, # rewrite names to slugs (recommended)
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Notes
|
|
76
|
+
|
|
77
|
+
Requires a Swagger UI build that accepts OpenAPI 3.2 if you set `OAS_VERSION` to
|
|
78
|
+
`3.2.0`; older builds reject the version outright. The nesting itself works on any
|
|
79
|
+
`OAS_VERSION`, since the plugin reads the tags rather than the version.
|
|
80
|
+
|
|
81
|
+
If the plugin fails to load, Swagger UI falls back to its normal flat rendering.
|
|
82
|
+
|
|
83
|
+
## Credits
|
|
84
|
+
|
|
85
|
+
The renderer is a fork of [swagger-ui-plugin-hierarchical-tags](https://github.com/kael-shipman/swagger-ui-plugins)
|
|
86
|
+
by Kael Shipman (MIT), extended to read OpenAPI 3.2 `parent` and `summary`.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import re
|
|
2
|
+
|
|
3
|
+
from django.conf import settings
|
|
4
|
+
|
|
5
|
+
DEFAULTS = {
|
|
6
|
+
"SEPARATOR": "|",
|
|
7
|
+
"SLUGIFY_NAMES": False,
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def _config():
|
|
12
|
+
merged = dict(DEFAULTS)
|
|
13
|
+
merged.update(getattr(settings, "NESTED_TAGS", None) or {})
|
|
14
|
+
return merged
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def _slugify(value):
|
|
18
|
+
return re.sub(r"-+", "-", re.sub(r"[^a-z0-9]+", "-", value.lower())).strip("-")
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def _split(tag, separator):
|
|
22
|
+
return [part.strip() for part in tag.split(separator) if part.strip()]
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def nest_tags(result, generator, request, public):
|
|
26
|
+
config = _config()
|
|
27
|
+
separator = config["SEPARATOR"]
|
|
28
|
+
slugify_names = config["SLUGIFY_NAMES"]
|
|
29
|
+
|
|
30
|
+
declared = {}
|
|
31
|
+
for tag in result.get("tags") or []:
|
|
32
|
+
if isinstance(tag, dict) and tag.get("name"):
|
|
33
|
+
declared[tag["name"]] = tag
|
|
34
|
+
|
|
35
|
+
used = []
|
|
36
|
+
for path_item in (result.get("paths") or {}).values():
|
|
37
|
+
for operation in path_item.values():
|
|
38
|
+
if not isinstance(operation, dict):
|
|
39
|
+
continue
|
|
40
|
+
for tag in operation.get("tags") or []:
|
|
41
|
+
if tag not in used:
|
|
42
|
+
used.append(tag)
|
|
43
|
+
|
|
44
|
+
ordered_names = [name for name in declared if name in used]
|
|
45
|
+
ordered_names += [name for name in used if name not in ordered_names]
|
|
46
|
+
|
|
47
|
+
renames = {}
|
|
48
|
+
tags = []
|
|
49
|
+
seen = set()
|
|
50
|
+
|
|
51
|
+
for name in ordered_names:
|
|
52
|
+
parts = _split(name, separator)
|
|
53
|
+
if not parts:
|
|
54
|
+
continue
|
|
55
|
+
for index, part in enumerate(parts):
|
|
56
|
+
path = separator.join(parts[: index + 1])
|
|
57
|
+
identifier = _slugify(path.replace(separator, "-")) if slugify_names else path
|
|
58
|
+
if path != identifier:
|
|
59
|
+
renames[path] = identifier
|
|
60
|
+
if identifier in seen:
|
|
61
|
+
continue
|
|
62
|
+
seen.add(identifier)
|
|
63
|
+
|
|
64
|
+
tag = dict(declared.get(path) or {})
|
|
65
|
+
tag["name"] = identifier
|
|
66
|
+
if len(parts) > 1 or slugify_names:
|
|
67
|
+
tag.setdefault("summary", part)
|
|
68
|
+
if index:
|
|
69
|
+
parent = separator.join(parts[:index])
|
|
70
|
+
tag["parent"] = _slugify(parent.replace(separator, "-")) if slugify_names else parent
|
|
71
|
+
tags.append(tag)
|
|
72
|
+
|
|
73
|
+
if renames:
|
|
74
|
+
for path_item in (result.get("paths") or {}).values():
|
|
75
|
+
for operation in path_item.values():
|
|
76
|
+
if not isinstance(operation, dict) or "tags" not in operation:
|
|
77
|
+
continue
|
|
78
|
+
operation["tags"] = [renames.get(t, t) for t in operation["tags"]]
|
|
79
|
+
|
|
80
|
+
if tags:
|
|
81
|
+
result["tags"] = tags
|
|
82
|
+
return result
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
!function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=31)}([function(t,e,r){t.exports=r(54)()},function(t,e,r){"use strict";t.exports=r(34)},function(t,e,r){"use strict";r.d(e,"a",(function(){return s})),r.d(e,"d",(function(){return c})),r.d(e,"b",(function(){return f})),r.d(e,"c",(function(){return p})),r.d(e,"e",(function(){return l}));var n=r(26),i=r(27),o=r.n(i);function u(t){return t.match(/^(?:[a-z]+:)?\/\//i)}function a(t,e){return t?u(t)?(r=t).match(/^\/\//i)?"".concat(window.location.protocol).concat(r):r:new URL(t,e).href:e;var r}function s(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.selectedServer,i=void 0===n?"":n;if(t){if(u(t))return t;var o=a(i,e);return u(o)?new URL(t,o).href:new URL(t,window.location.href).href}}function c(t){return"function"==typeof t}var f=function(t){return"string"==typeof t||t instanceof String?t.trim().replace(/\s/g,"%20"):""},p=function(t){return o()(f(t).replace(/%20/g,"_"))};function l(t){return"string"!=typeof t||""===t?"":Object(n.sanitizeUrl)(t)}},function(t,e,r){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function r(t){return u(t)?t:L(t)}function n(t){return a(t)?t:W(t)}function i(t){return s(t)?t:B(t)}function o(t){return u(t)&&!c(t)?t:Y(t)}function u(t){return!(!t||!t[p])}function a(t){return!(!t||!t[l])}function s(t){return!(!t||!t[h])}function c(t){return a(t)||s(t)}function f(t){return!(!t||!t[d])}e(n,r),e(i,r),e(o,r),r.isIterable=u,r.isKeyed=a,r.isIndexed=s,r.isAssociative=c,r.isOrdered=f,r.Keyed=n,r.Indexed=i,r.Set=o;var p="@@__IMMUTABLE_ITERABLE__@@",l="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",_={},y={value:!1},v={value:!1};function m(t){return t.value=!1,t}function g(t){t&&(t.value=!0)}function b(){}function w(t,e){e=e||0;for(var r=Math.max(0,t.length-e),n=new Array(r),i=0;i<r;i++)n[i]=t[i+e];return n}function S(t){return void 0===t.size&&(t.size=t.__iterate(E)),t.size}function x(t,e){if("number"!=typeof e){var r=e>>>0;if(""+r!==e||4294967295===r)return NaN;e=r}return e<0?S(t)+e:e}function E(){return!0}function I(t,e,r){return(0===t||void 0!==r&&t<=-r)&&(void 0===e||void 0!==r&&e>=r)}function O(t,e){return j(t,e,0)}function M(t,e){return j(t,e,e)}function j(t,e,r){return void 0===t?r:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var z,D,A,k="function"==typeof Symbol&&Symbol.iterator,P=k||"@@iterator";function q(t){this.next=t}function R(t,e,r,n){var i=0===t?e:1===t?r:[e,r];return n?n.value=i:n={value:i,done:!1},n}function T(){return{value:void 0,done:!0}}function C(t){return!!F(t)}function N(t){return t&&"function"==typeof t.next}function U(t){var e=F(t);return e&&e.call(t)}function F(t){var e=t&&(k&&t[k]||t["@@iterator"]);if("function"==typeof e)return e}function K(t){return t&&"number"==typeof t.length}function L(t){return null==t?Q():u(t)?t.toSeq():function(t){var e=tt(t)||"object"==typeof t&&new V(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function W(t){return null==t?Q().toKeyedSeq():u(t)?a(t)?t.toSeq():t.fromEntrySeq():X(t)}function B(t){return null==t?Q():u(t)?a(t)?t.entrySeq():t.toIndexedSeq():Z(t)}function Y(t){return(null==t?Q():u(t)?a(t)?t.entrySeq():t:Z(t)).toSetSeq()}function $(t){this._array=t,this.size=t.length}function V(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function J(t){this._iterable=t,this.size=t.length||t.size}function H(t){this._iterator=t,this._iteratorCache=[]}function G(t){return!(!t||!t["@@__IMMUTABLE_SEQ__@@"])}function Q(){return z||(z=new $([]))}function X(t){var e=Array.isArray(t)?new $(t).fromEntrySeq():N(t)?new H(t).fromEntrySeq():C(t)?new J(t).fromEntrySeq():"object"==typeof t?new V(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function Z(t){var e=tt(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function tt(t){return K(t)?new $(t):N(t)?new H(t):C(t)?new J(t):void 0}function et(t,e,r,n){var i=t._cache;if(i){for(var o=i.length-1,u=0;u<=o;u++){var a=i[r?o-u:u];if(!1===e(a[1],n?a[0]:u,t))return u+1}return u}return t.__iterateUncached(e,r)}function rt(t,e,r,n){var i=t._cache;if(i){var o=i.length-1,u=0;return new q((function(){var t=i[r?o-u:u];return u++>o?{value:void 0,done:!0}:R(e,n?t[0]:u-1,t[1])}))}return t.__iteratorUncached(e,r)}function nt(t,e){return e?function t(e,r,n,i){return Array.isArray(r)?e.call(i,n,B(r).map((function(n,i){return t(e,n,i,r)}))):ot(r)?e.call(i,n,W(r).map((function(n,i){return t(e,n,i,r)}))):r}(e,t,"",{"":t}):it(t)}function it(t){return Array.isArray(t)?B(t).map(it).toList():ot(t)?W(t).map(it).toMap():t}function ot(t){return t&&(t.constructor===Object||void 0===t.constructor)}function ut(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function at(t,e){if(t===e)return!0;if(!u(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||a(t)!==a(e)||s(t)!==s(e)||f(t)!==f(e))return!1;if(0===t.size&&0===e.size)return!0;var r=!c(t);if(f(t)){var n=t.entries();return e.every((function(t,e){var i=n.next().value;return i&&ut(i[1],t)&&(r||ut(i[0],e))}))&&n.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var o=t;t=e,e=o}var p=!0,l=e.__iterate((function(e,n){if(r?!t.has(e):i?!ut(e,t.get(n,_)):!ut(t.get(n,_),e))return p=!1,!1}));return p&&t.size===l}function st(t,e){if(!(this instanceof st))return new st(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(D)return D;D=this}}function ct(t,e){if(!t)throw new Error(e)}function ft(t,e,r){if(!(this instanceof ft))return new ft(t,e,r);if(ct(0!==r,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),r=void 0===r?1:Math.abs(r),e<t&&(r=-r),this._start=t,this._end=e,this._step=r,this.size=Math.max(0,Math.ceil((e-t)/r-1)+1),0===this.size){if(A)return A;A=this}}function pt(){throw TypeError("Abstract")}function lt(){}function ht(){}function dt(){}q.prototype.toString=function(){return"[Iterator]"},q.KEYS=0,q.VALUES=1,q.ENTRIES=2,q.prototype.inspect=q.prototype.toSource=function(){return this.toString()},q.prototype[P]=function(){return this},e(L,r),L.of=function(){return L(arguments)},L.prototype.toSeq=function(){return this},L.prototype.toString=function(){return this.__toString("Seq {","}")},L.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},L.prototype.__iterate=function(t,e){return et(this,t,e,!0)},L.prototype.__iterator=function(t,e){return rt(this,t,e,!0)},e(W,L),W.prototype.toKeyedSeq=function(){return this},e(B,L),B.of=function(){return B(arguments)},B.prototype.toIndexedSeq=function(){return this},B.prototype.toString=function(){return this.__toString("Seq [","]")},B.prototype.__iterate=function(t,e){return et(this,t,e,!1)},B.prototype.__iterator=function(t,e){return rt(this,t,e,!1)},e(Y,L),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},L.isSeq=G,L.Keyed=W,L.Set=Y,L.Indexed=B,L.prototype["@@__IMMUTABLE_SEQ__@@"]=!0,e($,B),$.prototype.get=function(t,e){return this.has(t)?this._array[x(this,t)]:e},$.prototype.__iterate=function(t,e){for(var r=this._array,n=r.length-1,i=0;i<=n;i++)if(!1===t(r[e?n-i:i],i,this))return i+1;return i},$.prototype.__iterator=function(t,e){var r=this._array,n=r.length-1,i=0;return new q((function(){return i>n?{value:void 0,done:!0}:R(t,i,r[e?n-i++:i++])}))},e(V,W),V.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},V.prototype.has=function(t){return this._object.hasOwnProperty(t)},V.prototype.__iterate=function(t,e){for(var r=this._object,n=this._keys,i=n.length-1,o=0;o<=i;o++){var u=n[e?i-o:o];if(!1===t(r[u],u,this))return o+1}return o},V.prototype.__iterator=function(t,e){var r=this._object,n=this._keys,i=n.length-1,o=0;return new q((function(){var u=n[e?i-o:o];return o++>i?{value:void 0,done:!0}:R(t,u,r[u])}))},V.prototype[d]=!0,e(J,B),J.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var r=U(this._iterable),n=0;if(N(r))for(var i;!(i=r.next()).done&&!1!==t(i.value,n++,this););return n},J.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=U(this._iterable);if(!N(r))return new q(T);var n=0;return new q((function(){var e=r.next();return e.done?e:R(t,n++,e.value)}))},e(H,B),H.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var r,n=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===t(i[o],o++,this))return o;for(;!(r=n.next()).done;){var u=r.value;if(i[o]=u,!1===t(u,o++,this))break}return o},H.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=this._iterator,n=this._iteratorCache,i=0;return new q((function(){if(i>=n.length){var e=r.next();if(e.done)return e;n[i]=e.value}return R(t,i,n[i++])}))},e(st,B),st.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},st.prototype.get=function(t,e){return this.has(t)?this._value:e},st.prototype.includes=function(t){return ut(this._value,t)},st.prototype.slice=function(t,e){var r=this.size;return I(t,e,r)?this:new st(this._value,M(e,r)-O(t,r))},st.prototype.reverse=function(){return this},st.prototype.indexOf=function(t){return ut(this._value,t)?0:-1},st.prototype.lastIndexOf=function(t){return ut(this._value,t)?this.size:-1},st.prototype.__iterate=function(t,e){for(var r=0;r<this.size;r++)if(!1===t(this._value,r,this))return r+1;return r},st.prototype.__iterator=function(t,e){var r=this,n=0;return new q((function(){return n<r.size?R(t,n++,r._value):{value:void 0,done:!0}}))},st.prototype.equals=function(t){return t instanceof st?ut(this._value,t._value):at(t)},e(ft,B),ft.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},ft.prototype.get=function(t,e){return this.has(t)?this._start+x(this,t)*this._step:e},ft.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},ft.prototype.slice=function(t,e){return I(t,e,this.size)?this:(t=O(t,this.size),(e=M(e,this.size))<=t?new ft(0,0):new ft(this.get(t,this._end),this.get(e,this._end),this._step))},ft.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var r=e/this._step;if(r>=0&&r<this.size)return r}return-1},ft.prototype.lastIndexOf=function(t){return this.indexOf(t)},ft.prototype.__iterate=function(t,e){for(var r=this.size-1,n=this._step,i=e?this._start+r*n:this._start,o=0;o<=r;o++){if(!1===t(i,o,this))return o+1;i+=e?-n:n}return o},ft.prototype.__iterator=function(t,e){var r=this.size-1,n=this._step,i=e?this._start+r*n:this._start,o=0;return new q((function(){var u=i;return i+=e?-n:n,o>r?{value:void 0,done:!0}:R(t,o++,u)}))},ft.prototype.equals=function(t){return t instanceof ft?this._start===t._start&&this._end===t._end&&this._step===t._step:at(this,t)},e(pt,r),e(lt,pt),e(ht,pt),e(dt,pt),pt.Keyed=lt,pt.Indexed=ht,pt.Set=dt;var _t="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var r=65535&(t|=0),n=65535&(e|=0);return r*n+((t>>>16)*n+r*(e>>>16)<<16>>>0)|0};function yt(t){return t>>>1&1073741824|3221225471&t}function vt(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){if(t!=t||t===1/0)return 0;var r=0|t;for(r!==t&&(r^=4294967295*t);t>4294967295;)r^=t/=4294967295;return yt(r)}if("string"===e)return t.length>It?function(t){var e=jt[t];return void 0===e&&(e=mt(t),Mt===Ot&&(Mt=0,jt={}),Mt++,jt[t]=e),e}(t):mt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(St&&void 0!==(e=gt.get(t)))return e;if(void 0!==(e=t[Et]))return e;if(!wt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Et]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++xt,1073741824&xt&&(xt=0),St)gt.set(t,e);else{if(void 0!==bt&&!1===bt(t))throw new Error("Non-extensible objects are not allowed as keys.");if(wt)Object.defineProperty(t,Et,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Et]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Et]=e}}return e}(t);if("function"==typeof t.toString)return mt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function mt(t){for(var e=0,r=0;r<t.length;r++)e=31*e+t.charCodeAt(r)|0;return yt(e)}var gt,bt=Object.isExtensible,wt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),St="function"==typeof WeakMap;St&&(gt=new WeakMap);var xt=0,Et="__immutablehash__";"function"==typeof Symbol&&(Et=Symbol(Et));var It=16,Ot=255,Mt=0,jt={};function zt(t){ct(t!==1/0,"Cannot perform this action with an infinite size.")}function Dt(t){return null==t?Bt():At(t)&&!f(t)?t:Bt().withMutations((function(e){var r=n(t);zt(r.size),r.forEach((function(t,r){return e.set(r,t)}))}))}function At(t){return!(!t||!t[Pt])}e(Dt,lt),Dt.of=function(){var e=t.call(arguments,0);return Bt().withMutations((function(t){for(var r=0;r<e.length;r+=2){if(r+1>=e.length)throw new Error("Missing value for key: "+e[r]);t.set(e[r],e[r+1])}}))},Dt.prototype.toString=function(){return this.__toString("Map {","}")},Dt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Dt.prototype.set=function(t,e){return Yt(this,t,e)},Dt.prototype.setIn=function(t,e){return this.updateIn(t,_,(function(){return e}))},Dt.prototype.remove=function(t){return Yt(this,t,_)},Dt.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return _}))},Dt.prototype.update=function(t,e,r){return 1===arguments.length?t(this):this.updateIn([t],e,r)},Dt.prototype.updateIn=function(t,e,r){r||(r=e,e=void 0);var n=function t(e,r,n,i){var o=e===_,u=r.next();if(u.done){var a=o?n:e,s=i(a);return s===a?e:s}ct(o||e&&e.set,"invalid keyPath");var c=u.value,f=o?_:e.get(c,_),p=t(f,r,n,i);return p===f?e:p===_?e.remove(c):(o?Bt():e).set(c,p)}(this,He(t),e,r);return n===_?void 0:n},Dt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Bt()},Dt.prototype.merge=function(){return Ht(this,void 0,arguments)},Dt.prototype.mergeWith=function(e){var r=t.call(arguments,1);return Ht(this,e,r)},Dt.prototype.mergeIn=function(e){var r=t.call(arguments,1);return this.updateIn(e,Bt(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,r):r[r.length-1]}))},Dt.prototype.mergeDeep=function(){return Ht(this,Gt,arguments)},Dt.prototype.mergeDeepWith=function(e){var r=t.call(arguments,1);return Ht(this,Qt(e),r)},Dt.prototype.mergeDeepIn=function(e){var r=t.call(arguments,1);return this.updateIn(e,Bt(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,r):r[r.length-1]}))},Dt.prototype.sort=function(t){return we(Ne(this,t))},Dt.prototype.sortBy=function(t,e){return we(Ne(this,e,t))},Dt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Dt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new b)},Dt.prototype.asImmutable=function(){return this.__ensureOwner()},Dt.prototype.wasAltered=function(){return this.__altered},Dt.prototype.__iterator=function(t,e){return new Ft(this,t,e)},Dt.prototype.__iterate=function(t,e){var r=this,n=0;return this._root&&this._root.iterate((function(e){return n++,t(e[1],e[0],r)}),e),n},Dt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Wt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Dt.isMap=At;var kt,Pt="@@__IMMUTABLE_MAP__@@",qt=Dt.prototype;function Rt(t,e){this.ownerID=t,this.entries=e}function Tt(t,e,r){this.ownerID=t,this.bitmap=e,this.nodes=r}function Ct(t,e,r){this.ownerID=t,this.count=e,this.nodes=r}function Nt(t,e,r){this.ownerID=t,this.keyHash=e,this.entries=r}function Ut(t,e,r){this.ownerID=t,this.keyHash=e,this.entry=r}function Ft(t,e,r){this._type=e,this._reverse=r,this._stack=t._root&&Lt(t._root)}function Kt(t,e){return R(t,e[0],e[1])}function Lt(t,e){return{node:t,index:0,__prev:e}}function Wt(t,e,r,n){var i=Object.create(qt);return i.size=t,i._root=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function Bt(){return kt||(kt=Wt(0))}function Yt(t,e,r){var n,i;if(t._root){var o=m(y),u=m(v);if(n=$t(t._root,t.__ownerID,0,void 0,e,r,o,u),!u.value)return t;i=t.size+(o.value?r===_?-1:1:0)}else{if(r===_)return t;i=1,n=new Rt(t.__ownerID,[[e,r]])}return t.__ownerID?(t.size=i,t._root=n,t.__hash=void 0,t.__altered=!0,t):n?Wt(i,n):Bt()}function $t(t,e,r,n,i,o,u,a){return t?t.update(e,r,n,i,o,u,a):o===_?t:(g(a),g(u),new Ut(e,n,[i,o]))}function Vt(t){return t.constructor===Ut||t.constructor===Nt}function Jt(t,e,r,n,i){if(t.keyHash===n)return new Nt(e,n,[t.entry,i]);var o,u=31&(0===r?t.keyHash:t.keyHash>>>r),a=31&(0===r?n:n>>>r);return new Tt(e,1<<u|1<<a,u===a?[Jt(t,e,r+5,n,i)]:(o=new Ut(e,n,i),u<a?[t,o]:[o,t]))}function Ht(t,e,r){for(var i=[],o=0;o<r.length;o++){var a=r[o],s=n(a);u(a)||(s=s.map((function(t){return nt(t)}))),i.push(s)}return Xt(t,e,i)}function Gt(t,e,r){return t&&t.mergeDeep&&u(e)?t.mergeDeep(e):ut(t,e)?t:e}function Qt(t){return function(e,r,n){if(e&&e.mergeDeepWith&&u(r))return e.mergeDeepWith(t,r);var i=t(e,r,n);return ut(e,i)?e:i}}function Xt(t,e,r){return 0===(r=r.filter((function(t){return 0!==t.size}))).length?t:0!==t.size||t.__ownerID||1!==r.length?t.withMutations((function(t){for(var n=e?function(r,n){t.update(n,_,(function(t){return t===_?r:e(t,r,n)}))}:function(e,r){t.set(r,e)},i=0;i<r.length;i++)r[i].forEach(n)})):t.constructor(r[0])}function Zt(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function te(t,e,r,n){var i=n?t:w(t);return i[e]=r,i}qt[Pt]=!0,qt.delete=qt.remove,qt.removeIn=qt.deleteIn,Rt.prototype.get=function(t,e,r,n){for(var i=this.entries,o=0,u=i.length;o<u;o++)if(ut(r,i[o][0]))return i[o][1];return n},Rt.prototype.update=function(t,e,r,n,i,o,u){for(var a=i===_,s=this.entries,c=0,f=s.length;c<f&&!ut(n,s[c][0]);c++);var p=c<f;if(p?s[c][1]===i:a)return this;if(g(u),(a||!p)&&g(o),!a||1!==s.length){if(!p&&!a&&s.length>=ee)return function(t,e,r,n){t||(t=new b);for(var i=new Ut(t,vt(r),[r,n]),o=0;o<e.length;o++){var u=e[o];i=i.update(t,0,void 0,u[0],u[1])}return i}(t,s,n,i);var l=t&&t===this.ownerID,h=l?s:w(s);return p?a?c===f-1?h.pop():h[c]=h.pop():h[c]=[n,i]:h.push([n,i]),l?(this.entries=h,this):new Rt(t,h)}},Tt.prototype.get=function(t,e,r,n){void 0===e&&(e=vt(r));var i=1<<(31&(0===t?e:e>>>t)),o=this.bitmap;return 0==(o&i)?n:this.nodes[Zt(o&i-1)].get(t+5,e,r,n)},Tt.prototype.update=function(t,e,r,n,i,o,u){void 0===r&&(r=vt(n));var a=31&(0===e?r:r>>>e),s=1<<a,c=this.bitmap,f=0!=(c&s);if(!f&&i===_)return this;var p=Zt(c&s-1),l=this.nodes,h=f?l[p]:void 0,d=$t(h,t,e+5,r,n,i,o,u);if(d===h)return this;if(!f&&d&&l.length>=re)return function(t,e,r,n,i){for(var o=0,u=new Array(32),a=0;0!==r;a++,r>>>=1)u[a]=1&r?e[o++]:void 0;return u[n]=i,new Ct(t,o+1,u)}(t,l,c,a,d);if(f&&!d&&2===l.length&&Vt(l[1^p]))return l[1^p];if(f&&d&&1===l.length&&Vt(d))return d;var y=t&&t===this.ownerID,v=f?d?c:c^s:c|s,m=f?d?te(l,p,d,y):function(t,e,r){var n=t.length-1;if(r&&e===n)return t.pop(),t;for(var i=new Array(n),o=0,u=0;u<n;u++)u===e&&(o=1),i[u]=t[u+o];return i}(l,p,y):function(t,e,r,n){var i=t.length+1;if(n&&e+1===i)return t[e]=r,t;for(var o=new Array(i),u=0,a=0;a<i;a++)a===e?(o[a]=r,u=-1):o[a]=t[a+u];return o}(l,p,d,y);return y?(this.bitmap=v,this.nodes=m,this):new Tt(t,v,m)},Ct.prototype.get=function(t,e,r,n){void 0===e&&(e=vt(r));var i=31&(0===t?e:e>>>t),o=this.nodes[i];return o?o.get(t+5,e,r,n):n},Ct.prototype.update=function(t,e,r,n,i,o,u){void 0===r&&(r=vt(n));var a=31&(0===e?r:r>>>e),s=i===_,c=this.nodes,f=c[a];if(s&&!f)return this;var p=$t(f,t,e+5,r,n,i,o,u);if(p===f)return this;var l=this.count;if(f){if(!p&&--l<ne)return function(t,e,r,n){for(var i=0,o=0,u=new Array(r),a=0,s=1,c=e.length;a<c;a++,s<<=1){var f=e[a];void 0!==f&&a!==n&&(i|=s,u[o++]=f)}return new Tt(t,i,u)}(t,c,l,a)}else l++;var h=t&&t===this.ownerID,d=te(c,a,p,h);return h?(this.count=l,this.nodes=d,this):new Ct(t,l,d)},Nt.prototype.get=function(t,e,r,n){for(var i=this.entries,o=0,u=i.length;o<u;o++)if(ut(r,i[o][0]))return i[o][1];return n},Nt.prototype.update=function(t,e,r,n,i,o,u){void 0===r&&(r=vt(n));var a=i===_;if(r!==this.keyHash)return a?this:(g(u),g(o),Jt(this,t,e,r,[n,i]));for(var s=this.entries,c=0,f=s.length;c<f&&!ut(n,s[c][0]);c++);var p=c<f;if(p?s[c][1]===i:a)return this;if(g(u),(a||!p)&&g(o),a&&2===f)return new Ut(t,this.keyHash,s[1^c]);var l=t&&t===this.ownerID,h=l?s:w(s);return p?a?c===f-1?h.pop():h[c]=h.pop():h[c]=[n,i]:h.push([n,i]),l?(this.entries=h,this):new Nt(t,this.keyHash,h)},Ut.prototype.get=function(t,e,r,n){return ut(r,this.entry[0])?this.entry[1]:n},Ut.prototype.update=function(t,e,r,n,i,o,u){var a=i===_,s=ut(n,this.entry[0]);return(s?i===this.entry[1]:a)?this:(g(u),a?void g(o):s?t&&t===this.ownerID?(this.entry[1]=i,this):new Ut(t,this.keyHash,[n,i]):(g(o),Jt(this,t,e,vt(n),[n,i])))},Rt.prototype.iterate=Nt.prototype.iterate=function(t,e){for(var r=this.entries,n=0,i=r.length-1;n<=i;n++)if(!1===t(r[e?i-n:n]))return!1},Tt.prototype.iterate=Ct.prototype.iterate=function(t,e){for(var r=this.nodes,n=0,i=r.length-1;n<=i;n++){var o=r[e?i-n:n];if(o&&!1===o.iterate(t,e))return!1}},Ut.prototype.iterate=function(t,e){return t(this.entry)},e(Ft,q),Ft.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var r,n=e.node,i=e.index++;if(n.entry){if(0===i)return Kt(t,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return Kt(t,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var o=n.nodes[this._reverse?r-i:i];if(o){if(o.entry)return Kt(t,o.entry);e=this._stack=Lt(o,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var ee=8,re=16,ne=8;function ie(t){var e=de();if(null==t)return e;if(oe(t))return t;var r=i(t),n=r.size;return 0===n?e:(zt(n),n>0&&n<32?he(0,n,5,null,new se(r.toArray())):e.withMutations((function(t){t.setSize(n),r.forEach((function(e,r){return t.set(r,e)}))})))}function oe(t){return!(!t||!t[ue])}e(ie,ht),ie.of=function(){return this(arguments)},ie.prototype.toString=function(){return this.__toString("List [","]")},ie.prototype.get=function(t,e){if((t=x(this,t))>=0&&t<this.size){var r=ve(this,t+=this._origin);return r&&r.array[31&t]}return e},ie.prototype.set=function(t,e){return function(t,e,r){if((e=x(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?me(t,e).set(0,r):me(t,0,e+1).set(e,r)}));e+=t._origin;var n=t._tail,i=t._root,o=m(v);return e>=be(t._capacity)?n=_e(n,t.__ownerID,0,e,r,o):i=_e(i,t.__ownerID,t._level,e,r,o),o.value?t.__ownerID?(t._root=i,t._tail=n,t.__hash=void 0,t.__altered=!0,t):he(t._origin,t._capacity,t._level,i,n):t}(this,t,e)},ie.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},ie.prototype.insert=function(t,e){return this.splice(t,0,e)},ie.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):de()},ie.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(r){me(r,0,e+t.length);for(var n=0;n<t.length;n++)r.set(e+n,t[n])}))},ie.prototype.pop=function(){return me(this,0,-1)},ie.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){me(e,-t.length);for(var r=0;r<t.length;r++)e.set(r,t[r])}))},ie.prototype.shift=function(){return me(this,1)},ie.prototype.merge=function(){return ge(this,void 0,arguments)},ie.prototype.mergeWith=function(e){var r=t.call(arguments,1);return ge(this,e,r)},ie.prototype.mergeDeep=function(){return ge(this,Gt,arguments)},ie.prototype.mergeDeepWith=function(e){var r=t.call(arguments,1);return ge(this,Qt(e),r)},ie.prototype.setSize=function(t){return me(this,0,t)},ie.prototype.slice=function(t,e){var r=this.size;return I(t,e,r)?this:me(this,O(t,r),M(e,r))},ie.prototype.__iterator=function(t,e){var r=0,n=le(this,e);return new q((function(){var e=n();return e===pe?{value:void 0,done:!0}:R(t,r++,e)}))},ie.prototype.__iterate=function(t,e){for(var r,n=0,i=le(this,e);(r=i())!==pe&&!1!==t(r,n++,this););return n},ie.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?he(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},ie.isList=oe;var ue="@@__IMMUTABLE_LIST__@@",ae=ie.prototype;function se(t,e){this.array=t,this.ownerID=e}ae[ue]=!0,ae.delete=ae.remove,ae.setIn=qt.setIn,ae.deleteIn=ae.removeIn=qt.removeIn,ae.update=qt.update,ae.updateIn=qt.updateIn,ae.mergeIn=qt.mergeIn,ae.mergeDeepIn=qt.mergeDeepIn,ae.withMutations=qt.withMutations,ae.asMutable=qt.asMutable,ae.asImmutable=qt.asImmutable,ae.wasAltered=qt.wasAltered,se.prototype.removeBefore=function(t,e,r){if(r===e?1<<e:0===this.array.length)return this;var n=r>>>e&31;if(n>=this.array.length)return new se([],t);var i,o=0===n;if(e>0){var u=this.array[n];if((i=u&&u.removeBefore(t,e-5,r))===u&&o)return this}if(o&&!i)return this;var a=ye(this,t);if(!o)for(var s=0;s<n;s++)a.array[s]=void 0;return i&&(a.array[n]=i),a},se.prototype.removeAfter=function(t,e,r){if(r===(e?1<<e:0)||0===this.array.length)return this;var n,i=r-1>>>e&31;if(i>=this.array.length)return this;if(e>0){var o=this.array[i];if((n=o&&o.removeAfter(t,e-5,r))===o&&i===this.array.length-1)return this}var u=ye(this,t);return u.array.splice(i+1),n&&(u.array[i]=n),u};var ce,fe,pe={};function le(t,e){var r=t._origin,n=t._capacity,i=be(n),o=t._tail;return u(t._root,t._level,0);function u(t,a,s){return 0===a?function(t,u){var a=u===i?o&&o.array:t&&t.array,s=u>r?0:r-u,c=n-u;return c>32&&(c=32),function(){if(s===c)return pe;var t=e?--c:s++;return a&&a[t]}}(t,s):function(t,i,o){var a,s=t&&t.array,c=o>r?0:r-o>>i,f=1+(n-o>>i);return f>32&&(f=32),function(){for(;;){if(a){var t=a();if(t!==pe)return t;a=null}if(c===f)return pe;var r=e?--f:c++;a=u(s&&s[r],i-5,o+(r<<i))}}}(t,a,s)}}function he(t,e,r,n,i,o,u){var a=Object.create(ae);return a.size=e-t,a._origin=t,a._capacity=e,a._level=r,a._root=n,a._tail=i,a.__ownerID=o,a.__hash=u,a.__altered=!1,a}function de(){return ce||(ce=he(0,0,5))}function _e(t,e,r,n,i,o){var u,a=n>>>r&31,s=t&&a<t.array.length;if(!s&&void 0===i)return t;if(r>0){var c=t&&t.array[a],f=_e(c,e,r-5,n,i,o);return f===c?t:((u=ye(t,e)).array[a]=f,u)}return s&&t.array[a]===i?t:(g(o),u=ye(t,e),void 0===i&&a===u.array.length-1?u.array.pop():u.array[a]=i,u)}function ye(t,e){return e&&t&&e===t.ownerID?t:new se(t?t.array.slice():[],e)}function ve(t,e){if(e>=be(t._capacity))return t._tail;if(e<1<<t._level+5){for(var r=t._root,n=t._level;r&&n>0;)r=r.array[e>>>n&31],n-=5;return r}}function me(t,e,r){void 0!==e&&(e|=0),void 0!==r&&(r|=0);var n=t.__ownerID||new b,i=t._origin,o=t._capacity,u=i+e,a=void 0===r?o:r<0?o+r:i+r;if(u===i&&a===o)return t;if(u>=a)return t.clear();for(var s=t._level,c=t._root,f=0;u+f<0;)c=new se(c&&c.array.length?[void 0,c]:[],n),f+=1<<(s+=5);f&&(u+=f,i+=f,a+=f,o+=f);for(var p=be(o),l=be(a);l>=1<<s+5;)c=new se(c&&c.array.length?[c]:[],n),s+=5;var h=t._tail,d=l<p?ve(t,a-1):l>p?new se([],n):h;if(h&&l>p&&u<o&&h.array.length){for(var _=c=ye(c,n),y=s;y>5;y-=5){var v=p>>>y&31;_=_.array[v]=ye(_.array[v],n)}_.array[p>>>5&31]=h}if(a<o&&(d=d&&d.removeAfter(n,0,a)),u>=l)u-=l,a-=l,s=5,c=null,d=d&&d.removeBefore(n,0,u);else if(u>i||l<p){for(f=0;c;){var m=u>>>s&31;if(m!==l>>>s&31)break;m&&(f+=(1<<s)*m),s-=5,c=c.array[m]}c&&u>i&&(c=c.removeBefore(n,s,u-f)),c&&l<p&&(c=c.removeAfter(n,s,l-f)),f&&(u-=f,a-=f)}return t.__ownerID?(t.size=a-u,t._origin=u,t._capacity=a,t._level=s,t._root=c,t._tail=d,t.__hash=void 0,t.__altered=!0,t):he(u,a,s,c,d)}function ge(t,e,r){for(var n=[],o=0,a=0;a<r.length;a++){var s=r[a],c=i(s);c.size>o&&(o=c.size),u(s)||(c=c.map((function(t){return nt(t)}))),n.push(c)}return o>t.size&&(t=t.setSize(o)),Xt(t,e,n)}function be(t){return t<32?0:t-1>>>5<<5}function we(t){return null==t?Ee():Se(t)?t:Ee().withMutations((function(e){var r=n(t);zt(r.size),r.forEach((function(t,r){return e.set(r,t)}))}))}function Se(t){return At(t)&&f(t)}function xe(t,e,r,n){var i=Object.create(we.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=r,i.__hash=n,i}function Ee(){return fe||(fe=xe(Bt(),de()))}function Ie(t,e,r){var n,i,o=t._map,u=t._list,a=o.get(e),s=void 0!==a;if(r===_){if(!s)return t;u.size>=32&&u.size>=2*o.size?(n=(i=u.filter((function(t,e){return void 0!==t&&a!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(n.__ownerID=i.__ownerID=t.__ownerID)):(n=o.remove(e),i=a===u.size-1?u.pop():u.set(a,void 0))}else if(s){if(r===u.get(a)[1])return t;n=o,i=u.set(a,[e,r])}else n=o.set(e,u.size),i=u.set(u.size,[e,r]);return t.__ownerID?(t.size=n.size,t._map=n,t._list=i,t.__hash=void 0,t):xe(n,i)}function Oe(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Me(t){this._iter=t,this.size=t.size}function je(t){this._iter=t,this.size=t.size}function ze(t){this._iter=t,this.size=t.size}function De(t){var e=$e(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Ve,e.__iterateUncached=function(e,r){var n=this;return t.__iterate((function(t,r){return!1!==e(r,t,n)}),r)},e.__iteratorUncached=function(e,r){if(2===e){var n=t.__iterator(e,r);return new q((function(){var t=n.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(1===e?0:1,r)},e}function Ae(t,e,r){var n=$e(t);return n.size=t.size,n.has=function(e){return t.has(e)},n.get=function(n,i){var o=t.get(n,_);return o===_?i:e.call(r,o,n,t)},n.__iterateUncached=function(n,i){var o=this;return t.__iterate((function(t,i,u){return!1!==n(e.call(r,t,i,u),i,o)}),i)},n.__iteratorUncached=function(n,i){var o=t.__iterator(2,i);return new q((function(){var i=o.next();if(i.done)return i;var u=i.value,a=u[0];return R(n,a,e.call(r,u[1],a,t),i)}))},n}function ke(t,e){var r=$e(t);return r._iter=t,r.size=t.size,r.reverse=function(){return t},t.flip&&(r.flip=function(){var e=De(t);return e.reverse=function(){return t.flip()},e}),r.get=function(r,n){return t.get(e?r:-1-r,n)},r.has=function(r){return t.has(e?r:-1-r)},r.includes=function(e){return t.includes(e)},r.cacheResult=Ve,r.__iterate=function(e,r){var n=this;return t.__iterate((function(t,r){return e(t,r,n)}),!r)},r.__iterator=function(e,r){return t.__iterator(e,!r)},r}function Pe(t,e,r,n){var i=$e(t);return n&&(i.has=function(n){var i=t.get(n,_);return i!==_&&!!e.call(r,i,n,t)},i.get=function(n,i){var o=t.get(n,_);return o!==_&&e.call(r,o,n,t)?o:i}),i.__iterateUncached=function(i,o){var u=this,a=0;return t.__iterate((function(t,o,s){if(e.call(r,t,o,s))return a++,i(t,n?o:a-1,u)}),o),a},i.__iteratorUncached=function(i,o){var u=t.__iterator(2,o),a=0;return new q((function(){for(;;){var o=u.next();if(o.done)return o;var s=o.value,c=s[0],f=s[1];if(e.call(r,f,c,t))return R(i,n?c:a++,f,o)}}))},i}function qe(t,e,r,n){var i=t.size;if(void 0!==e&&(e|=0),void 0!==r&&(r===1/0?r=i:r|=0),I(e,r,i))return t;var o=O(e,i),u=M(r,i);if(o!=o||u!=u)return qe(t.toSeq().cacheResult(),e,r,n);var a,s=u-o;s==s&&(a=s<0?0:s);var c=$e(t);return c.size=0===a?a:t.size&&a||void 0,!n&&G(t)&&a>=0&&(c.get=function(e,r){return(e=x(this,e))>=0&&e<a?t.get(e+o,r):r}),c.__iterateUncached=function(e,r){var i=this;if(0===a)return 0;if(r)return this.cacheResult().__iterate(e,r);var u=0,s=!0,c=0;return t.__iterate((function(t,r){if(!s||!(s=u++<o))return c++,!1!==e(t,n?r:c-1,i)&&c!==a})),c},c.__iteratorUncached=function(e,r){if(0!==a&&r)return this.cacheResult().__iterator(e,r);var i=0!==a&&t.__iterator(e,r),u=0,s=0;return new q((function(){for(;u++<o;)i.next();if(++s>a)return{value:void 0,done:!0};var t=i.next();return n||1===e?t:R(e,s-1,0===e?void 0:t.value[1],t)}))},c}function Re(t,e,r,n){var i=$e(t);return i.__iterateUncached=function(i,o){var u=this;if(o)return this.cacheResult().__iterate(i,o);var a=!0,s=0;return t.__iterate((function(t,o,c){if(!a||!(a=e.call(r,t,o,c)))return s++,i(t,n?o:s-1,u)})),s},i.__iteratorUncached=function(i,o){var u=this;if(o)return this.cacheResult().__iterator(i,o);var a=t.__iterator(2,o),s=!0,c=0;return new q((function(){var t,o,f;do{if((t=a.next()).done)return n||1===i?t:R(i,c++,0===i?void 0:t.value[1],t);var p=t.value;o=p[0],f=p[1],s&&(s=e.call(r,f,o,u))}while(s);return 2===i?t:R(i,o,f,t)}))},i}function Te(t,e){var r=a(t),i=[t].concat(e).map((function(t){return u(t)?r&&(t=n(t)):t=r?X(t):Z(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===i.length)return t;if(1===i.length){var o=i[0];if(o===t||r&&a(o)||s(t)&&s(o))return o}var c=new $(i);return r?c=c.toKeyedSeq():s(t)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(t,e){if(void 0!==t){var r=e.size;if(void 0!==r)return t+r}}),0),c}function Ce(t,e,r){var n=$e(t);return n.__iterateUncached=function(n,i){var o=0,a=!1;return function t(s,c){var f=this;s.__iterate((function(i,s){return(!e||c<e)&&u(i)?t(i,c+1):!1===n(i,r?s:o++,f)&&(a=!0),!a}),i)}(t,0),o},n.__iteratorUncached=function(n,i){var o=t.__iterator(n,i),a=[],s=0;return new q((function(){for(;o;){var t=o.next();if(!1===t.done){var c=t.value;if(2===n&&(c=c[1]),e&&!(a.length<e)||!u(c))return r?t:R(n,s++,c,t);a.push(o),o=c.__iterator(n,i)}else o=a.pop()}return{value:void 0,done:!0}}))},n}function Ne(t,e,r){e||(e=Je);var n=a(t),i=0,o=t.toSeq().map((function(e,n){return[n,e,i++,r?r(e,n,t):e]})).toArray();return o.sort((function(t,r){return e(t[3],r[3])||t[2]-r[2]})).forEach(n?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),n?W(o):s(t)?B(o):Y(o)}function Ue(t,e,r){if(e||(e=Je),r){var n=t.toSeq().map((function(e,n){return[e,r(e,n,t)]})).reduce((function(t,r){return Fe(e,t[1],r[1])?r:t}));return n&&n[0]}return t.reduce((function(t,r){return Fe(e,t,r)?r:t}))}function Fe(t,e,r){var n=t(r,e);return 0===n&&r!==e&&(null==r||r!=r)||n>0}function Ke(t,e,n){var i=$e(t);return i.size=new $(n).map((function(t){return t.size})).min(),i.__iterate=function(t,e){for(var r,n=this.__iterator(1,e),i=0;!(r=n.next()).done&&!1!==t(r.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=n.map((function(t){return t=r(t),U(i?t.reverse():t)})),u=0,a=!1;return new q((function(){var r;return a||(r=o.map((function(t){return t.next()})),a=r.some((function(t){return t.done}))),a?{value:void 0,done:!0}:R(t,u++,e.apply(null,r.map((function(t){return t.value}))))}))},i}function Le(t,e){return G(t)?e:t.constructor(e)}function We(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Be(t){return zt(t.size),S(t)}function Ye(t){return a(t)?n:s(t)?i:o}function $e(t){return Object.create((a(t)?W:s(t)?B:Y).prototype)}function Ve(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):L.prototype.cacheResult.call(this)}function Je(t,e){return t>e?1:t<e?-1:0}function He(t){var e=U(t);if(!e){if(!K(t))throw new TypeError("Expected iterable or array-like: "+t);e=U(r(t))}return e}function Ge(t,e){var r,n=function(o){if(o instanceof n)return o;if(!(this instanceof n))return new n(o);if(!r){r=!0;var u=Object.keys(t);!function(t,e){try{e.forEach(tr.bind(void 0,t))}catch(t){}}(i,u),i.size=u.length,i._name=e,i._keys=u,i._defaultValues=t}this._map=Dt(o)},i=n.prototype=Object.create(Qe);return i.constructor=n,n}e(we,Dt),we.of=function(){return this(arguments)},we.prototype.toString=function(){return this.__toString("OrderedMap {","}")},we.prototype.get=function(t,e){var r=this._map.get(t);return void 0!==r?this._list.get(r)[1]:e},we.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ee()},we.prototype.set=function(t,e){return Ie(this,t,e)},we.prototype.remove=function(t){return Ie(this,t,_)},we.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},we.prototype.__iterate=function(t,e){var r=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],r)}),e)},we.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},we.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),r=this._list.__ensureOwner(t);return t?xe(e,r,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=r,this)},we.isOrderedMap=Se,we.prototype[d]=!0,we.prototype.delete=we.prototype.remove,e(Oe,W),Oe.prototype.get=function(t,e){return this._iter.get(t,e)},Oe.prototype.has=function(t){return this._iter.has(t)},Oe.prototype.valueSeq=function(){return this._iter.valueSeq()},Oe.prototype.reverse=function(){var t=this,e=ke(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Oe.prototype.map=function(t,e){var r=this,n=Ae(this,t,e);return this._useKeys||(n.valueSeq=function(){return r._iter.toSeq().map(t,e)}),n},Oe.prototype.__iterate=function(t,e){var r,n=this;return this._iter.__iterate(this._useKeys?function(e,r){return t(e,r,n)}:(r=e?Be(this):0,function(i){return t(i,e?--r:r++,n)}),e)},Oe.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var r=this._iter.__iterator(1,e),n=e?Be(this):0;return new q((function(){var i=r.next();return i.done?i:R(t,e?--n:n++,i.value,i)}))},Oe.prototype[d]=!0,e(Me,B),Me.prototype.includes=function(t){return this._iter.includes(t)},Me.prototype.__iterate=function(t,e){var r=this,n=0;return this._iter.__iterate((function(e){return t(e,n++,r)}),e)},Me.prototype.__iterator=function(t,e){var r=this._iter.__iterator(1,e),n=0;return new q((function(){var e=r.next();return e.done?e:R(t,n++,e.value,e)}))},e(je,Y),je.prototype.has=function(t){return this._iter.includes(t)},je.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate((function(e){return t(e,e,r)}),e)},je.prototype.__iterator=function(t,e){var r=this._iter.__iterator(1,e);return new q((function(){var e=r.next();return e.done?e:R(t,e.value,e.value,e)}))},e(ze,W),ze.prototype.entrySeq=function(){return this._iter.toSeq()},ze.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate((function(e){if(e){We(e);var n=u(e);return t(n?e.get(1):e[1],n?e.get(0):e[0],r)}}),e)},ze.prototype.__iterator=function(t,e){var r=this._iter.__iterator(1,e);return new q((function(){for(;;){var e=r.next();if(e.done)return e;var n=e.value;if(n){We(n);var i=u(n);return R(t,i?n.get(0):n[0],i?n.get(1):n[1],e)}}}))},Me.prototype.cacheResult=Oe.prototype.cacheResult=je.prototype.cacheResult=ze.prototype.cacheResult=Ve,e(Ge,lt),Ge.prototype.toString=function(){return this.__toString(Ze(this)+" {","}")},Ge.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Ge.prototype.get=function(t,e){if(!this.has(t))return e;var r=this._defaultValues[t];return this._map?this._map.get(t,r):r},Ge.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Xe(this,Bt()))},Ge.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Ze(this));if(this._map&&!this._map.has(t)&&e===this._defaultValues[t])return this;var r=this._map&&this._map.set(t,e);return this.__ownerID||r===this._map?this:Xe(this,r)},Ge.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:Xe(this,e)},Ge.prototype.wasAltered=function(){return this._map.wasAltered()},Ge.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map((function(t,e){return r.get(e)})).__iterator(t,e)},Ge.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map((function(t,e){return r.get(e)})).__iterate(t,e)},Ge.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Xe(this,e,t):(this.__ownerID=t,this._map=e,this)};var Qe=Ge.prototype;function Xe(t,e,r){var n=Object.create(Object.getPrototypeOf(t));return n._map=e,n.__ownerID=r,n}function Ze(t){return t._name||t.constructor.name||"Record"}function tr(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){ct(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function er(t){return null==t?sr():rr(t)&&!f(t)?t:sr().withMutations((function(e){var r=o(t);zt(r.size),r.forEach((function(t){return e.add(t)}))}))}function rr(t){return!(!t||!t[ir])}Qe.delete=Qe.remove,Qe.deleteIn=Qe.removeIn=qt.removeIn,Qe.merge=qt.merge,Qe.mergeWith=qt.mergeWith,Qe.mergeIn=qt.mergeIn,Qe.mergeDeep=qt.mergeDeep,Qe.mergeDeepWith=qt.mergeDeepWith,Qe.mergeDeepIn=qt.mergeDeepIn,Qe.setIn=qt.setIn,Qe.update=qt.update,Qe.updateIn=qt.updateIn,Qe.withMutations=qt.withMutations,Qe.asMutable=qt.asMutable,Qe.asImmutable=qt.asImmutable,e(er,dt),er.of=function(){return this(arguments)},er.fromKeys=function(t){return this(n(t).keySeq())},er.prototype.toString=function(){return this.__toString("Set {","}")},er.prototype.has=function(t){return this._map.has(t)},er.prototype.add=function(t){return ur(this,this._map.set(t,!0))},er.prototype.remove=function(t){return ur(this,this._map.remove(t))},er.prototype.clear=function(){return ur(this,this._map.clear())},er.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var r=0;r<e.length;r++)o(e[r]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},er.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var r=this;return this.withMutations((function(t){r.forEach((function(r){e.every((function(t){return t.includes(r)}))||t.remove(r)}))}))},er.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var r=this;return this.withMutations((function(t){r.forEach((function(r){e.some((function(t){return t.includes(r)}))&&t.remove(r)}))}))},er.prototype.merge=function(){return this.union.apply(this,arguments)},er.prototype.mergeWith=function(e){var r=t.call(arguments,1);return this.union.apply(this,r)},er.prototype.sort=function(t){return cr(Ne(this,t))},er.prototype.sortBy=function(t,e){return cr(Ne(this,e,t))},er.prototype.wasAltered=function(){return this._map.wasAltered()},er.prototype.__iterate=function(t,e){var r=this;return this._map.__iterate((function(e,n){return t(n,n,r)}),e)},er.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},er.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},er.isSet=rr;var nr,ir="@@__IMMUTABLE_SET__@@",or=er.prototype;function ur(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function ar(t,e){var r=Object.create(or);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function sr(){return nr||(nr=ar(Bt()))}function cr(t){return null==t?dr():fr(t)?t:dr().withMutations((function(e){var r=o(t);zt(r.size),r.forEach((function(t){return e.add(t)}))}))}function fr(t){return rr(t)&&f(t)}or[ir]=!0,or.delete=or.remove,or.mergeDeep=or.merge,or.mergeDeepWith=or.mergeWith,or.withMutations=qt.withMutations,or.asMutable=qt.asMutable,or.asImmutable=qt.asImmutable,or.__empty=sr,or.__make=ar,e(cr,er),cr.of=function(){return this(arguments)},cr.fromKeys=function(t){return this(n(t).keySeq())},cr.prototype.toString=function(){return this.__toString("OrderedSet {","}")},cr.isOrderedSet=fr;var pr,lr=cr.prototype;function hr(t,e){var r=Object.create(lr);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function dr(){return pr||(pr=hr(Ee()))}function _r(t){return null==t?wr():yr(t)?t:wr().unshiftAll(t)}function yr(t){return!(!t||!t[mr])}lr[d]=!0,lr.__empty=dr,lr.__make=hr,e(_r,ht),_r.of=function(){return this(arguments)},_r.prototype.toString=function(){return this.__toString("Stack [","]")},_r.prototype.get=function(t,e){var r=this._head;for(t=x(this,t);r&&t--;)r=r.next;return r?r.value:e},_r.prototype.peek=function(){return this._head&&this._head.value},_r.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,r=arguments.length-1;r>=0;r--)e={value:arguments[r],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):br(t,e)},_r.prototype.pushAll=function(t){if(0===(t=i(t)).size)return this;zt(t.size);var e=this.size,r=this._head;return t.reverse().forEach((function(t){e++,r={value:t,next:r}})),this.__ownerID?(this.size=e,this._head=r,this.__hash=void 0,this.__altered=!0,this):br(e,r)},_r.prototype.pop=function(){return this.slice(1)},_r.prototype.unshift=function(){return this.push.apply(this,arguments)},_r.prototype.unshiftAll=function(t){return this.pushAll(t)},_r.prototype.shift=function(){return this.pop.apply(this,arguments)},_r.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):wr()},_r.prototype.slice=function(t,e){if(I(t,e,this.size))return this;var r=O(t,this.size);if(M(e,this.size)!==this.size)return ht.prototype.slice.call(this,t,e);for(var n=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=n,this._head=i,this.__hash=void 0,this.__altered=!0,this):br(n,i)},_r.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?br(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},_r.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var r=0,n=this._head;n&&!1!==t(n.value,r++,this);)n=n.next;return r},_r.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var r=0,n=this._head;return new q((function(){if(n){var e=n.value;return n=n.next,R(t,r++,e)}return{value:void 0,done:!0}}))},_r.isStack=yr;var vr,mr="@@__IMMUTABLE_STACK__@@",gr=_r.prototype;function br(t,e,r,n){var i=Object.create(gr);return i.size=t,i._head=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function wr(){return vr||(vr=br(0))}function Sr(t,e){var r=function(r){t.prototype[r]=e[r]};return Object.keys(e).forEach(r),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(r),t}gr[mr]=!0,gr.withMutations=qt.withMutations,gr.asMutable=qt.asMutable,gr.asImmutable=qt.asImmutable,gr.wasAltered=qt.wasAltered,r.Iterator=q,Sr(r,{toArray:function(){zt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,r){t[r]=e})),t},toIndexedSeq:function(){return new Me(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Oe(this,!0)},toMap:function(){return Dt(this.toKeyedSeq())},toObject:function(){zt(this.size);var t={};return this.__iterate((function(e,r){t[r]=e})),t},toOrderedMap:function(){return we(this.toKeyedSeq())},toOrderedSet:function(){return cr(a(this)?this.valueSeq():this)},toSet:function(){return er(a(this)?this.valueSeq():this)},toSetSeq:function(){return new je(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return _r(a(this)?this.valueSeq():this)},toList:function(){return ie(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){var e=t.call(arguments,0);return Le(this,Te(this,e))},includes:function(t){return this.some((function(e){return ut(e,t)}))},entries:function(){return this.__iterator(2)},every:function(t,e){zt(this.size);var r=!0;return this.__iterate((function(n,i,o){if(!t.call(e,n,i,o))return r=!1,!1})),r},filter:function(t,e){return Le(this,Pe(this,t,e,!0))},find:function(t,e,r){var n=this.findEntry(t,e);return n?n[1]:r},forEach:function(t,e){return zt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){zt(this.size),t=void 0!==t?""+t:",";var e="",r=!0;return this.__iterate((function(n){r?r=!1:e+=t,e+=null!=n?n.toString():""})),e},keys:function(){return this.__iterator(0)},map:function(t,e){return Le(this,Ae(this,t,e))},reduce:function(t,e,r){var n,i;return zt(this.size),arguments.length<2?i=!0:n=e,this.__iterate((function(e,o,u){i?(i=!1,n=e):n=t.call(r,n,e,o,u)})),n},reduceRight:function(t,e,r){var n=this.toKeyedSeq().reverse();return n.reduce.apply(n,arguments)},reverse:function(){return Le(this,ke(this,!0))},slice:function(t,e){return Le(this,qe(this,t,e,!0))},some:function(t,e){return!this.every(Mr(t),e)},sort:function(t){return Le(this,Ne(this,t))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return S(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,r){var n=Dt().asMutable();return t.__iterate((function(i,o){n.update(e.call(r,i,o,t),0,(function(t){return t+1}))})),n.asImmutable()}(this,t,e)},equals:function(t){return at(this,t)},entrySeq:function(){var t=this;if(t._cache)return new $(t._cache);var e=t.toSeq().map(Or).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Mr(t),e)},findEntry:function(t,e,r){var n=r;return this.__iterate((function(r,i,o){if(t.call(e,r,i,o))return n=[i,r],!1})),n},findKey:function(t,e){var r=this.findEntry(t,e);return r&&r[0]},findLast:function(t,e,r){return this.toKeyedSeq().reverse().find(t,e,r)},findLastEntry:function(t,e,r){return this.toKeyedSeq().reverse().findEntry(t,e,r)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(E)},flatMap:function(t,e){return Le(this,function(t,e,r){var n=Ye(t);return t.toSeq().map((function(i,o){return n(e.call(r,i,o,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Le(this,Ce(this,t,!0))},fromEntrySeq:function(){return new ze(this)},get:function(t,e){return this.find((function(e,r){return ut(r,t)}),void 0,e)},getIn:function(t,e){for(var r,n=this,i=He(t);!(r=i.next()).done;){var o=r.value;if((n=n&&n.get?n.get(o,_):_)===_)return e}return n},groupBy:function(t,e){return function(t,e,r){var n=a(t),i=(f(t)?we():Dt()).asMutable();t.__iterate((function(o,u){i.update(e.call(r,o,u,t),(function(t){return(t=t||[]).push(n?[u,o]:o),t}))}));var o=Ye(t);return i.map((function(e){return Le(t,o(e))}))}(this,t,e)},has:function(t){return this.get(t,_)!==_},hasIn:function(t){return this.getIn(t,_)!==_},isSubset:function(t){return t="function"==typeof t.includes?t:r(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:r(t)).isSubset(this)},keyOf:function(t){return this.findKey((function(e){return ut(e,t)}))},keySeq:function(){return this.toSeq().map(Ir).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return Ue(this,t)},maxBy:function(t,e){return Ue(this,e,t)},min:function(t){return Ue(this,t?jr(t):Ar)},minBy:function(t,e){return Ue(this,e?jr(e):Ar,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Le(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Le(this,Re(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Mr(t),e)},sortBy:function(t,e){return Le(this,Ne(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Le(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Le(this,function(t,e,r){var n=$e(t);return n.__iterateUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterate(n,i);var u=0;return t.__iterate((function(t,i,a){return e.call(r,t,i,a)&&++u&&n(t,i,o)})),u},n.__iteratorUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterator(n,i);var u=t.__iterator(2,i),a=!0;return new q((function(){if(!a)return{value:void 0,done:!0};var t=u.next();if(t.done)return t;var i=t.value,s=i[0],c=i[1];return e.call(r,c,s,o)?2===n?t:R(n,s,c,t):(a=!1,{value:void 0,done:!0})}))},n}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Mr(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=f(t),r=a(t),n=e?1:0;return function(t,e){return e=_t(e,3432918353),e=_t(e<<15|e>>>-15,461845907),e=_t(e<<13|e>>>-13,5),e=_t((e=(e+3864292196|0)^t)^e>>>16,2246822507),e=yt((e=_t(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(r?e?function(t,e){n=31*n+kr(vt(t),vt(e))|0}:function(t,e){n=n+kr(vt(t),vt(e))|0}:e?function(t){n=31*n+vt(t)|0}:function(t){n=n+vt(t)|0}),n)}(this))}});var xr=r.prototype;xr[p]=!0,xr[P]=xr.values,xr.__toJS=xr.toArray,xr.__toStringMapper=zr,xr.inspect=xr.toSource=function(){return this.toString()},xr.chain=xr.flatMap,xr.contains=xr.includes,Sr(n,{flip:function(){return Le(this,De(this))},mapEntries:function(t,e){var r=this,n=0;return Le(this,this.toSeq().map((function(i,o){return t.call(e,[o,i],n++,r)})).fromEntrySeq())},mapKeys:function(t,e){var r=this;return Le(this,this.toSeq().flip().map((function(n,i){return t.call(e,n,i,r)})).flip())}});var Er=n.prototype;function Ir(t,e){return e}function Or(t,e){return[e,t]}function Mr(t){return function(){return!t.apply(this,arguments)}}function jr(t){return function(){return-t.apply(this,arguments)}}function zr(t){return"string"==typeof t?JSON.stringify(t):String(t)}function Dr(){return w(arguments)}function Ar(t,e){return t<e?1:t>e?-1:0}function kr(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return Er[l]=!0,Er[P]=xr.entries,Er.__toJS=xr.toObject,Er.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+zr(t)},Sr(i,{toKeyedSeq:function(){return new Oe(this,!1)},filter:function(t,e){return Le(this,Pe(this,t,e,!1))},findIndex:function(t,e){var r=this.findEntry(t,e);return r?r[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Le(this,ke(this,!1))},slice:function(t,e){return Le(this,qe(this,t,e,!1))},splice:function(t,e){var r=arguments.length;if(e=Math.max(0|e,0),0===r||2===r&&!e)return this;t=O(t,t<0?this.count():this.size);var n=this.slice(0,t);return Le(this,1===r?n:n.concat(w(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var r=this.findLastEntry(t,e);return r?r[0]:-1},first:function(){return this.get(0)},flatten:function(t){return Le(this,Ce(this,t,!1))},get:function(t,e){return(t=x(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,r){return r===t}),void 0,e)},has:function(t){return(t=x(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Le(this,function(t,e){var r=$e(t);return r.size=t.size&&2*t.size-1,r.__iterateUncached=function(r,n){var i=this,o=0;return t.__iterate((function(t,n){return(!o||!1!==r(e,o++,i))&&!1!==r(t,o++,i)}),n),o},r.__iteratorUncached=function(r,n){var i,o=t.__iterator(1,n),u=0;return new q((function(){return(!i||u%2)&&(i=o.next()).done?i:u%2?R(r,u++,e):R(r,u++,i.value,i)}))},r}(this,t))},interleave:function(){var t=[this].concat(w(arguments)),e=Ke(this.toSeq(),B.of,t),r=e.flatten(!0);return e.size&&(r.size=e.size*t.length),Le(this,r)},keySeq:function(){return ft(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Le(this,Re(this,t,e,!1))},zip:function(){var t=[this].concat(w(arguments));return Le(this,Ke(this,Dr,t))},zipWith:function(t){var e=w(arguments);return e[0]=this,Le(this,Ke(this,t,e))}}),i.prototype[h]=!0,i.prototype[d]=!0,Sr(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=xr.includes,o.prototype.contains=o.prototype.includes,Sr(W,n.prototype),Sr(B,i.prototype),Sr(Y,o.prototype),Sr(lt,n.prototype),Sr(ht,i.prototype),Sr(dt,o.prototype),{Iterable:r,Seq:L,Collection:pt,Map:Dt,OrderedMap:we,List:ie,Stack:_r,Set:er,OrderedSet:cr,Record:Ge,Range:ft,Repeat:st,is:ut,fromJS:nt}}()},function(t,e,r){"use strict";var n=r(6),i=r(23),o=(r(15),r(22),Object.prototype.hasOwnProperty),u=r(24),a={key:!0,ref:!0,__self:!0,__source:!0};function s(t){return void 0!==t.ref}function c(t){return void 0!==t.key}var f=function(t,e,r,n,i,o,a){return{$$typeof:u,type:t,key:e,ref:r,props:a,_owner:o}};f.createElement=function(t,e,r){var n,u={},p=null,l=null;if(null!=e)for(n in s(e)&&(l=e.ref),c(e)&&(p=""+e.key),void 0===e.__self?null:e.__self,void 0===e.__source?null:e.__source,e)o.call(e,n)&&!a.hasOwnProperty(n)&&(u[n]=e[n]);var h=arguments.length-2;if(1===h)u.children=r;else if(h>1){for(var d=Array(h),_=0;_<h;_++)d[_]=arguments[_+2];0,u.children=d}if(t&&t.defaultProps){var y=t.defaultProps;for(n in y)void 0===u[n]&&(u[n]=y[n])}return f(t,p,l,0,0,i.current,u)},f.createFactory=function(t){var e=f.createElement.bind(null,t);return e.type=t,e},f.cloneAndReplaceKey=function(t,e){return f(t.type,e,t.ref,t._self,t._source,t._owner,t.props)},f.cloneElement=function(t,e,r){var u,p,l=n({},t.props),h=t.key,d=t.ref,_=(t._self,t._source,t._owner);if(null!=e)for(u in s(e)&&(d=e.ref,_=i.current),c(e)&&(h=""+e.key),t.type&&t.type.defaultProps&&(p=t.type.defaultProps),e)o.call(e,u)&&!a.hasOwnProperty(u)&&(void 0===e[u]&&void 0!==p?l[u]=p[u]:l[u]=e[u]);var y=arguments.length-2;if(1===y)l.children=r;else if(y>1){for(var v=Array(y),m=0;m<y;m++)v[m]=arguments[m+2];l.children=v}return f(t.type,h,d,0,0,_,l)},f.isValidElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===u},t.exports=f},function(t,e){function r(e){return t.exports=r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";
|
|
2
|
+
/*
|
|
3
|
+
object-assign
|
|
4
|
+
(c) Sindre Sorhus
|
|
5
|
+
@license MIT
|
|
6
|
+
*/var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function u(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,a,s=u(t),c=1;c<arguments.length;c++){for(var f in r=Object(arguments[c]))i.call(r,f)&&(s[f]=r[f]);if(n){a=n(r);for(var p=0;p<a.length;p++)o.call(r,a[p])&&(s[a[p]]=r[a[p]])}}return s}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";t.exports=function(t){for(var e=arguments.length-1,r="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,n=0;n<e;n++)r+="&args[]="+encodeURIComponent(arguments[n+1]);r+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var i=new Error(r);throw i.name="Invariant Violation",i.framesToPop=1,i}},function(t,e,r){"use strict";t.exports=function(t,e,r,n,i,o,u,a){if(!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,i,o,u,a],f=0;(s=new Error(e.replace(/%s/g,(function(){return c[f++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){var n=r(33);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&n(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){var n=r(16).default,i=r(14);t.exports=function(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return i(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";var n=r(21);t.exports=n},function(t,e){function r(e){return t.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";r.d(e,"a",(function(){return x}));var n=r(10),i=r.n(n),o=r(11),u=r.n(o),a=r(12),s=r.n(a),c=r(13),f=r.n(c),p=r(5),l=r.n(p),h=r(7),d=r.n(h),_=r(1),y=r.n(_),v=r(0),m=r.n(v),g=r(3),b=r.n(g),w=r(2);function S(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l()(t);if(e){var i=l()(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return f()(this,r)}}var x=function(t){s()(r,t);var e=S(r);function r(){return i()(this,r),e.apply(this,arguments)}return u()(r,[{key:"render",value:function(){var t=this.props,e=t.specSelectors,r=t.getComponent,n=t.oas3Selectors,i=t.layoutSelectors,o=t.layoutActions,u=t.getConfigs,a=t.fn,s=e.taggedOperations(),c=r("HierarchicalOperationTag"),f=u(),p=f.maxDisplayedTags,l=f.hierarchicalTagSeparator;l||(l=/[:|]/);var h=i.currentFilter();h&&!0!==h&&"true"!==h&&"false"!==h&&(s=a.opsFilter(s,h)),p&&!isNaN(p)&&p>=0&&(s=s.slice(0,p));var d=Object(w.d)(e.tags)?e.tags():null,_={},v={};d&&Object(w.d)(d.forEach)&&d.forEach((function(t){if(t&&Object(w.d)(t.get)){var e=t.get("name");if(e){v[e]=t;var r=t.get("parent");r&&r!==e&&(_[e]=r)}}}));var m=Object.keys(_).length>0,g={};return s.map((function(t,e){t.has("canonicalTagName")||(t=t.set("canonicalTagName",e.replace(l,"_")));for(var r=m?function(t){for(var e=[],r={},n=t;n&&!r[n];)r[n]=!0,e.unshift(n),n=_[n];return e}(e):e.split(l),n=g,i=0;i<r.length;i++){var o=r[i];void 0===n[o]&&(n[o]={data:null,childTags:{}}),i===r.length-1?n[o].data=t:null===n[o].data&&v[o]&&(n[o].data=b.a.Map({tagDetails:v[o],operations:b.a.List(),canonicalTagName:o})),n=n[o].childTags}})),0===Object.keys(g).size?y.a.createElement("h3",null," No operations defined in spec!"):y.a.createElement(c,{specSelectors:e,oas3Selectors:n,layoutSelectors:i,layoutActions:o,getConfigs:u,getComponent:r,childTags:g,isRoot:!0})}}]),r}(y.a.Component);d()(x,"propTypes",{specSelectors:m.a.object.isRequired,specActions:m.a.object.isRequired,oas3Actions:m.a.object.isRequired,getComponent:m.a.func.isRequired,oas3Selectors:m.a.object.isRequired,layoutSelectors:m.a.object.isRequired,layoutActions:m.a.object.isRequired,authActions:m.a.object.isRequired,authSelectors:m.a.object.isRequired,getConfigs:m.a.func.isRequired,fn:m.a.object.isRequired})},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";var n=r(8),i=r(6),o=r(20),u=(r(22),r(35));r(9),r(36);function a(t,e,r){this.props=t,this.context=e,this.refs=u,this.updater=r||o}function s(t,e,r){this.props=t,this.context=e,this.refs=u,this.updater=r||o}function c(){}a.prototype.isReactComponent={},a.prototype.setState=function(t,e){"object"!=typeof t&&"function"!=typeof t&&null!=t&&n("85"),this.updater.enqueueSetState(this,t),e&&this.updater.enqueueCallback(this,e,"setState")},a.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this),t&&this.updater.enqueueCallback(this,t,"forceUpdate")},c.prototype=a.prototype,s.prototype=new c,s.prototype.constructor=s,i(s.prototype,a.prototype),s.prototype.isPureReactComponent=!0,t.exports={Component:a,PureComponent:s}},function(t,e,r){"use strict";r(15);var n={isMounted:function(t){return!1},enqueueCallback:function(t,e){},enqueueForceUpdate:function(t){},enqueueReplaceState:function(t,e){},enqueueSetState:function(t,e){}};t.exports=n},function(t,e,r){"use strict";function n(t){return function(){return t}}var i=function(){};i.thatReturns=n,i.thatReturnsFalse=n(!1),i.thatReturnsTrue=n(!0),i.thatReturnsNull=n(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(t){return t},t.exports=i},function(t,e,r){"use strict";t.exports=!1},function(t,e,r){"use strict";t.exports={current:null}},function(t,e,r){"use strict";var n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=n},function(t,e,r){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sanitizeUrl=void 0;var n=/^([^\w]*)(javascript|data|vbscript)/im,i=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,o=/^([^:]+):/gm,u=[".","/"];e.sanitizeUrl=function(t){if(!t)return"about:blank";var e=t.replace(i,"").trim();if(function(t){return u.indexOf(t[0])>-1}(e))return e;var r=e.match(o);if(!r)return e;var a=r[0];return n.test(a)?"about:blank":e}},function(t,e,r){(function(e){var r;r=void 0!==e?e:this,t.exports=function(t){if(t.CSS&&t.CSS.escape)return t.CSS.escape;var e=function(t){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var e,r=String(t),n=r.length,i=-1,o="",u=r.charCodeAt(0);++i<n;)0!=(e=r.charCodeAt(i))?o+=e>=1&&e<=31||127==e||0==i&&e>=48&&e<=57||1==i&&e>=48&&e<=57&&45==u?"\\"+e.toString(16)+" ":0==i&&1==n&&45==e||!(e>=128||45==e||95==e||e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122)?"\\"+r.charAt(i):r.charAt(i):o+="�";return o};return t.CSS||(t.CSS={}),t.CSS.escape=e,e}(r)}).call(this,r(18))},function(t,e,r){"use strict";r.d(e,"a",(function(){return A}));var n=r(29),i=r.n(n),o=r(10),u=r.n(o),a=r(11),s=r.n(a),c=r(14),f=r.n(c),p=r(12),l=r.n(p),h=r(13),d=r.n(h),_=r(5),y=r.n(_),v=r(7),m=r.n(v),g=r(1),b=r.n(g),w=r(0),S=r.n(w),x=r(30),E=r.n(x),I=r(3),O=r.n(I),M=r(2);function j(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=y()(t);if(e){var i=y()(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return d()(this,r)}}var z=["get","put","post","delete","options","head","patch"],D=z.concat(["trace"]),A=function(t){l()(r,t);var e=j(r);function r(t){var n;return u()(this,r),(n=e.call(this,t)).render=n.render.bind(f()(n)),n.renderChildTags=n.renderChildTags.bind(f()(n)),n}return s()(r,[{key:"render",value:function(){if(this.props.isRoot)return this.renderChildTags(this.props.childTags);var t=this.props,e=t.tagObj,r=t.tag,n=t.childTags,i=t.oas3Selectors,o=t.layoutSelectors,u=t.layoutActions,a=t.getConfigs,s=t.getComponent,c=t.specSelectors,f=c.url(),p=a(),l=p.docExpansion,h=p.deepLinking,d=s("OperationContainer",!0),_=s("Collapse"),y=s("Markdown",!0),v=s("DeepLink"),m=s("Link"),g=h&&"false"!==h,w=e?e.getIn(["tagDetails","description"],null):null,S=e?e.getIn(["tagDetails","externalDocs","description"]):null,x=e?e.getIn(["tagDetails","externalDocs","url"]):null,E=Object(M.d)(i)&&Object(M.d)(i.selectedServer)?Object(M.a)(x,f,{selectedServer:i.selectedServer()}):x,I=e?e.get("operations"):O.a.fromJS({}),j=e&&e.get("canonicalTagName")||r,A=(e?e.getIn(["tagDetails","summary"],null):null)||r,k=["operations-tag",j],P=o.isShown(k,"full"===l||"list"===l);return b.a.createElement("div",{className:P?"opblock-tag-section is-open":"opblock-tag-section"},b.a.createElement("h4",{onClick:function(){return u.show(k,!P)},className:w?"opblock-tag":"opblock-tag no-desc",id:k.map((function(t){return Object(M.c)(t)})).join("-"),"data-tag":j,"data-is-open":P},b.a.createElement(v,{enabled:g,isShown:P,path:Object(M.b)(r),text:A}),b.a.createElement("small",null,w?b.a.createElement(y,{source:w}):null),b.a.createElement("div",null,S?b.a.createElement("small",null,S,E?": ":null,E?b.a.createElement(m,{href:Object(M.e)(E),onClick:function(t){return t.stopPropagation()},target:"_blank"},E):null):null),b.a.createElement("button",{className:"expand-operation",title:P?"Collapse operation":"Expand operation",onClick:function(){return u.show(k,!P)}},b.a.createElement("svg",{className:"arrow",width:"20",height:"20"},b.a.createElement("use",{href:P?"#large-arrow-down":"#large-arrow",xlinkHref:P?"#large-arrow-down":"#large-arrow"})))),b.a.createElement(_,{isOpened:P},b.a.createElement("div",{class:"hierarchical-operation-tag-operations"},I.map((function(t){var e=t.get("path"),n=t.get("method"),i=O.a.List(["paths",e,n]);return-1===(c.isOAS3()?D:z).indexOf(n)?null:b.a.createElement(d,{key:"".concat(n,"-").concat(e),specPath:i,op:t,path:e,method:n,tag:r})})).toArray()),this.renderChildTags(n)))}},{key:"renderChildTags",value:function(t){if(!t||0===Object.keys(t).length)return null;var e=this.props,n=e.oas3Selectors,o=e.layoutSelectors,u=e.layoutActions,a=e.getConfigs,s=e.getComponent,c=e.specSelectors,f=e.isRoot;return b.a.createElement("div",{className:"hierarchical-operation-tags",style:f?null:{margin:"0 0 0 1.2rem",paddingLeft:"0.8rem",borderLeft:"1px solid #ccc"}},Object.entries(t).map((function(t){var e=i()(t,2),f=e[0],p=e[1];return b.a.createElement(r,{key:"operation-"+(p.data&&p.data.get("canonicalTagName")||f),tagObj:p.data,tag:f,specSelectors:c,oas3Selectors:n,layoutSelectors:o,layoutActions:u,getConfigs:a,getComponent:s,childTags:p.childTags,isRoot:!1})})))}}]),r}(b.a.Component);m()(A,"defaultProps",{tagObj:O.a.fromJS({}),tag:""}),m()(A,"propTypes",{tagObj:E.a.map,tag:S.a.string,childTags:S.a.object.isRequired,specSelectors:S.a.object.isRequired,oas3Selectors:S.a.object.isRequired,layoutSelectors:S.a.object.isRequired,layoutActions:S.a.object.isRequired,getConfigs:S.a.func.isRequired,getComponent:S.a.func.isRequired,children:S.a.arrayOf(S.a.element),isRoot:S.a.bool})},function(t,e,r){var n=r(55),i=r(56),o=r(57),u=r(59);t.exports=function(t,e){return n(t)||i(t,e)||o(t,e)||u()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";var n,i=r(3),o=function(){invariant(!1,"ImmutablePropTypes type checking code is stripped in production.")};o.isRequired=o;var u=function(){return o};function a(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":t instanceof i.Iterable?"Immutable."+t.toSource().split(" ")[0]:e}function s(t){function e(e,r,n,i,o,u){for(var a=arguments.length,s=Array(a>6?a-6:0),c=6;c<a;c++)s[c-6]=arguments[c];if(u=u||n,i=i||"<<anonymous>>",null!=r[n])return t.apply(void 0,[r,n,i,o,u].concat(s));var f=o;return e?new Error("Required "+f+" `"+u+"` was not specified in `"+i+"`."):void 0}var r=e.bind(null,!1);return r.isRequired=e.bind(null,!0),r}function c(t,e){return r="Iterable."+t,n=function(t){return i.Iterable.isIterable(t)&&e(t)},s((function(t,e,i,o,u){var s=t[e];if(!n(s)){var c=a(s);return new Error("Invalid "+o+" `"+u+"` of type `"+c+"` supplied to `"+i+"`, expected `"+r+"`.")}return null}));var r,n}(n={listOf:u,mapOf:u,orderedMapOf:u,setOf:u,orderedSetOf:u,stackOf:u,iterableOf:u,recordOf:u,shape:u,contains:u,mapContains:u,orderedMapContains:u,list:o,map:o,orderedMap:o,set:o,orderedSet:o,stack:o,seq:o,record:o,iterable:o}).iterable.indexed=c("Indexed",i.Iterable.isIndexed),n.iterable.keyed=c("Keyed",i.Iterable.isKeyed),t.exports=n},function(t,e,r){"use strict";r.r(e),function(t,e){var n=r(16),i=r.n(n),o=r(17),u=r(28);!function(n){var o=[];if("object"===("undefined"==typeof exports?"undefined":i()(exports))&&void 0!==t)t.exports=n.apply(null,o.map((function(t){return r(60)(t)})));else if("function"==typeof define&&r(61))define(o,n);else{var u;(u="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:void 0).HierarchicalTagsPlugin=n.apply(null,o.map((function(t){return u[t]})))}}((function(){return function(){return{components:{HierarchicalOperations:o.a,HierarchicalOperationTag:u.a,operations:o.a}}}}))}.call(this,r(32)(t),r(18))},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e){function r(e,n){return t.exports=r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e,n)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";var n=r(6),i=r(19),o=r(37),u=r(42),a=r(4),s=r(43),c=r(50),f=r(51),p=r(53),l=a.createElement,h=a.createFactory,d=a.cloneElement,_=n,y={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:p},Component:i.Component,PureComponent:i.PureComponent,createElement:l,cloneElement:d,isValidElement:a.isValidElement,PropTypes:s,createClass:f,createFactory:h,createMixin:function(t){return t},DOM:u,version:c,__spread:_};t.exports=y},function(t,e,r){"use strict";t.exports={}},function(t,e,r){"use strict";t.exports=function(){}},function(t,e,r){"use strict";var n=r(38),i=r(4),o=r(21),u=r(39),a=n.twoArgumentPooler,s=n.fourArgumentPooler,c=/\/+/g;function f(t){return(""+t).replace(c,"$&/")}function p(t,e){this.func=t,this.context=e,this.count=0}function l(t,e,r){var n=t.func,i=t.context;n.call(i,e,t.count++)}function h(t,e,r,n){this.result=t,this.keyPrefix=e,this.func=r,this.context=n,this.count=0}function d(t,e,r){var n=t.result,u=t.keyPrefix,a=t.func,s=t.context,c=a.call(s,e,t.count++);Array.isArray(c)?_(c,n,r,o.thatReturnsArgument):null!=c&&(i.isValidElement(c)&&(c=i.cloneAndReplaceKey(c,u+(!c.key||e&&e.key===c.key?"":f(c.key)+"/")+r)),n.push(c))}function _(t,e,r,n,i){var o="";null!=r&&(o=f(r)+"/");var a=h.getPooled(e,o,n,i);u(t,d,a),h.release(a)}function y(t,e,r){return null}p.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},n.addPoolingTo(p,a),h.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},n.addPoolingTo(h,s);var v={forEach:function(t,e,r){if(null==t)return t;var n=p.getPooled(e,r);u(t,l,n),p.release(n)},map:function(t,e,r){if(null==t)return t;var n=[];return _(t,n,null,e,r),n},mapIntoWithKeyPrefixInternal:_,count:function(t,e){return u(t,y,null)},toArray:function(t){var e=[];return _(t,e,null,o.thatReturnsArgument),e}};t.exports=v},function(t,e,r){"use strict";var n=r(8),i=(r(9),function(t){if(this.instancePool.length){var e=this.instancePool.pop();return this.call(e,t),e}return new this(t)}),o=function(t){t instanceof this||n("25"),t.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(t)},u=i,a={addPoolingTo:function(t,e){var r=t;return r.instancePool=[],r.getPooled=e||u,r.poolSize||(r.poolSize=10),r.release=o,r},oneArgumentPooler:i,twoArgumentPooler:function(t,e){if(this.instancePool.length){var r=this.instancePool.pop();return this.call(r,t,e),r}return new this(t,e)},threeArgumentPooler:function(t,e,r){if(this.instancePool.length){var n=this.instancePool.pop();return this.call(n,t,e,r),n}return new this(t,e,r)},fourArgumentPooler:function(t,e,r,n){if(this.instancePool.length){var i=this.instancePool.pop();return this.call(i,t,e,r,n),i}return new this(t,e,r,n)}};t.exports=a},function(t,e,r){"use strict";var n=r(8),i=(r(23),r(24)),o=r(40),u=(r(9),r(41));r(15);function a(t,e){return t&&"object"==typeof t&&null!=t.key?u.escape(t.key):e.toString(36)}t.exports=function(t,e,r){return null==t?0:function t(e,r,s,c){var f,p=typeof e;if("undefined"!==p&&"boolean"!==p||(e=null),null===e||"string"===p||"number"===p||"object"===p&&e.$$typeof===i)return s(c,e,""===r?"."+a(e,0):r),1;var l=0,h=""===r?".":r+":";if(Array.isArray(e))for(var d=0;d<e.length;d++)l+=t(f=e[d],h+a(f,d),s,c);else{var _=o(e);if(_){var y,v=_.call(e);if(_!==e.entries)for(var m=0;!(y=v.next()).done;)l+=t(f=y.value,h+a(f,m++),s,c);else for(;!(y=v.next()).done;){var g=y.value;g&&(l+=t(f=g[1],h+u.escape(g[0])+":"+a(f,0),s,c))}}else if("object"===p){var b=String(e);n("31","[object Object]"===b?"object with keys {"+Object.keys(e).join(", ")+"}":b,"")}}return l}(t,"",e,r)}},function(t,e,r){"use strict";var n="function"==typeof Symbol&&Symbol.iterator;t.exports=function(t){var e=t&&(n&&t[n]||t["@@iterator"]);if("function"==typeof e)return e}},function(t,e,r){"use strict";var n={escape:function(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,(function(t){return e[t]}))},unescape:function(t){var e={"=0":"=","=2":":"};return(""+("."===t[0]&&"$"===t[1]?t.substring(2):t.substring(1))).replace(/(=0|=2)/g,(function(t){return e[t]}))}};t.exports=n},function(t,e,r){"use strict";var n=r(4).createFactory,i={a:n("a"),abbr:n("abbr"),address:n("address"),area:n("area"),article:n("article"),aside:n("aside"),audio:n("audio"),b:n("b"),base:n("base"),bdi:n("bdi"),bdo:n("bdo"),big:n("big"),blockquote:n("blockquote"),body:n("body"),br:n("br"),button:n("button"),canvas:n("canvas"),caption:n("caption"),cite:n("cite"),code:n("code"),col:n("col"),colgroup:n("colgroup"),data:n("data"),datalist:n("datalist"),dd:n("dd"),del:n("del"),details:n("details"),dfn:n("dfn"),dialog:n("dialog"),div:n("div"),dl:n("dl"),dt:n("dt"),em:n("em"),embed:n("embed"),fieldset:n("fieldset"),figcaption:n("figcaption"),figure:n("figure"),footer:n("footer"),form:n("form"),h1:n("h1"),h2:n("h2"),h3:n("h3"),h4:n("h4"),h5:n("h5"),h6:n("h6"),head:n("head"),header:n("header"),hgroup:n("hgroup"),hr:n("hr"),html:n("html"),i:n("i"),iframe:n("iframe"),img:n("img"),input:n("input"),ins:n("ins"),kbd:n("kbd"),keygen:n("keygen"),label:n("label"),legend:n("legend"),li:n("li"),link:n("link"),main:n("main"),map:n("map"),mark:n("mark"),menu:n("menu"),menuitem:n("menuitem"),meta:n("meta"),meter:n("meter"),nav:n("nav"),noscript:n("noscript"),object:n("object"),ol:n("ol"),optgroup:n("optgroup"),option:n("option"),output:n("output"),p:n("p"),param:n("param"),picture:n("picture"),pre:n("pre"),progress:n("progress"),q:n("q"),rp:n("rp"),rt:n("rt"),ruby:n("ruby"),s:n("s"),samp:n("samp"),script:n("script"),section:n("section"),select:n("select"),small:n("small"),source:n("source"),span:n("span"),strong:n("strong"),style:n("style"),sub:n("sub"),summary:n("summary"),sup:n("sup"),table:n("table"),tbody:n("tbody"),td:n("td"),textarea:n("textarea"),tfoot:n("tfoot"),th:n("th"),thead:n("thead"),time:n("time"),title:n("title"),tr:n("tr"),track:n("track"),u:n("u"),ul:n("ul"),var:n("var"),video:n("video"),wbr:n("wbr"),circle:n("circle"),clipPath:n("clipPath"),defs:n("defs"),ellipse:n("ellipse"),g:n("g"),image:n("image"),line:n("line"),linearGradient:n("linearGradient"),mask:n("mask"),path:n("path"),pattern:n("pattern"),polygon:n("polygon"),polyline:n("polyline"),radialGradient:n("radialGradient"),rect:n("rect"),stop:n("stop"),svg:n("svg"),text:n("text"),tspan:n("tspan")};t.exports=i},function(t,e,r){"use strict";var n=r(4).isValidElement,i=r(44);t.exports=i(n)},function(t,e,r){"use strict";var n=r(45);t.exports=function(t){return n(t,!1)}},function(t,e,r){"use strict";var n=r(46),i=r(6),o=r(25),u=r(48),a=r(49);function s(){return null}t.exports=function(t,e){var r="function"==typeof Symbol&&Symbol.iterator;var c={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:l(s),arrayOf:function(t){return l((function(e,r,n,i,u){if("function"!=typeof t)return new p("Property `"+u+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var a=e[r];if(!Array.isArray(a))return new p("Invalid "+i+" `"+u+"` of type `"+y(a)+"` supplied to `"+n+"`, expected an array.");for(var s=0;s<a.length;s++){var c=t(a,s,n,i,u+"["+s+"]",o);if(c instanceof Error)return c}return null}))},element:l((function(e,r,n,i,o){var u=e[r];return t(u)?null:new p("Invalid "+i+" `"+o+"` of type `"+y(u)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:l((function(t,e,r,i,o){var u=t[e];return n.isValidElementType(u)?null:new p("Invalid "+i+" `"+o+"` of type `"+y(u)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(t){return l((function(e,r,n,i,o){if(!(e[r]instanceof t)){var u=t.name||"<<anonymous>>";return new p("Invalid "+i+" `"+o+"` of type `"+function(t){if(!t.constructor||!t.constructor.name)return"<<anonymous>>";return t.constructor.name}(e[r])+"` supplied to `"+n+"`, expected instance of `"+u+"`.")}return null}))},node:l((function(t,e,r,n,i){return _(t[e])?null:new p("Invalid "+n+" `"+i+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(t){return l((function(e,r,n,i,a){if("function"!=typeof t)return new p("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var s=e[r],c=y(s);if("object"!==c)return new p("Invalid "+i+" `"+a+"` of type `"+c+"` supplied to `"+n+"`, expected an object.");for(var f in s)if(u(s,f)){var l=t(s,f,n,i,a+"."+f,o);if(l instanceof Error)return l}return null}))},oneOf:function(t){if(!Array.isArray(t))return s;return l((function(e,r,n,i,o){for(var u=e[r],a=0;a<t.length;a++)if(f(u,t[a]))return null;var s=JSON.stringify(t,(function(t,e){return"symbol"===v(e)?String(e):e}));return new p("Invalid "+i+" `"+o+"` of value `"+String(u)+"` supplied to `"+n+"`, expected one of "+s+".")}))},oneOfType:function(t){if(!Array.isArray(t))return s;for(var e=0;e<t.length;e++){var r=t[e];if("function"!=typeof r)return m(r),s}return l((function(e,r,n,i,a){for(var s=[],c=0;c<t.length;c++){var f=(0,t[c])(e,r,n,i,a,o);if(null==f)return null;f.data&&u(f.data,"expectedType")&&s.push(f.data.expectedType)}return new p("Invalid "+i+" `"+a+"` supplied to `"+n+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(t){return l((function(e,r,n,i,u){var a=e[r],s=y(a);if("object"!==s)return new p("Invalid "+i+" `"+u+"` of type `"+s+"` supplied to `"+n+"`, expected `object`.");for(var c in t){var f=t[c];if("function"!=typeof f)return d(n,i,u,c,v(f));var l=f(a,c,n,i,u+"."+c,o);if(l)return l}return null}))},exact:function(t){return l((function(e,r,n,a,s){var c=e[r],f=y(c);if("object"!==f)return new p("Invalid "+a+" `"+s+"` of type `"+f+"` supplied to `"+n+"`, expected `object`.");var l=i({},e[r],t);for(var h in l){var _=t[h];if(u(t,h)&&"function"!=typeof _)return d(n,a,s,h,v(_));if(!_)return new p("Invalid "+a+" `"+s+"` key `"+h+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(e[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(t),null," "));var m=_(c,h,n,a,s+"."+h,o);if(m)return m}return null}))}};function f(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function p(t,e){this.message=t,this.data=e&&"object"==typeof e?e:{},this.stack=""}function l(t){function r(r,n,i,u,a,s,c){if((u=u||"<<anonymous>>",s=s||i,c!==o)&&e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}return null==n[i]?r?null===n[i]?new p("The "+a+" `"+s+"` is marked as required in `"+u+"`, but its value is `null`."):new p("The "+a+" `"+s+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:t(n,i,u,a,s)}var n=r.bind(null,!1);return n.isRequired=r.bind(null,!0),n}function h(t){return l((function(e,r,n,i,o,u){var a=e[r];return y(a)!==t?new p("Invalid "+i+" `"+o+"` of type `"+v(a)+"` supplied to `"+n+"`, expected `"+t+"`.",{expectedType:t}):null}))}function d(t,e,r,n,i){return new p((t||"React class")+": "+e+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function _(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(_);if(null===e||t(e))return!0;var n=function(t){var e=t&&(r&&t[r]||t["@@iterator"]);if("function"==typeof e)return e}(e);if(!n)return!1;var i,o=n.call(e);if(n!==e.entries){for(;!(i=o.next()).done;)if(!_(i.value))return!1}else for(;!(i=o.next()).done;){var u=i.value;if(u&&!_(u[1]))return!1}return!0;default:return!1}}function y(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":function(t,e){return"symbol"===t||!!e&&("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}(e,t)?"symbol":e}function v(t){if(null==t)return""+t;var e=y(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function m(t){var e=v(t);switch(e){case"array":case"object":return"an "+e;case"boolean":case"date":case"regexp":return"a "+e;default:return e}}return p.prototype=Error.prototype,c.checkPropTypes=a,c.resetWarningCache=a.resetWarningCache,c.PropTypes=c,c}},function(t,e,r){"use strict";t.exports=r(47)},function(t,e,r){"use strict";
|
|
7
|
+
/** @license React v16.13.1
|
|
8
|
+
* react-is.production.min.js
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
11
|
+
*
|
|
12
|
+
* This source code is licensed under the MIT license found in the
|
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
|
14
|
+
*/var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,u=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,f=n?Symbol.for("react.context"):60110,p=n?Symbol.for("react.async_mode"):60111,l=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,_=n?Symbol.for("react.suspense_list"):60120,y=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,m=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function S(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case p:case l:case u:case s:case a:case d:return t;default:switch(t=t&&t.$$typeof){case f:case h:case v:case y:case c:return t;default:return e}}case o:return e}}}function x(t){return S(t)===l}e.AsyncMode=p,e.ConcurrentMode=l,e.ContextConsumer=f,e.ContextProvider=c,e.Element=i,e.ForwardRef=h,e.Fragment=u,e.Lazy=v,e.Memo=y,e.Portal=o,e.Profiler=s,e.StrictMode=a,e.Suspense=d,e.isAsyncMode=function(t){return x(t)||S(t)===p},e.isConcurrentMode=x,e.isContextConsumer=function(t){return S(t)===f},e.isContextProvider=function(t){return S(t)===c},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===i},e.isForwardRef=function(t){return S(t)===h},e.isFragment=function(t){return S(t)===u},e.isLazy=function(t){return S(t)===v},e.isMemo=function(t){return S(t)===y},e.isPortal=function(t){return S(t)===o},e.isProfiler=function(t){return S(t)===s},e.isStrictMode=function(t){return S(t)===a},e.isSuspense=function(t){return S(t)===d},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===u||t===l||t===s||t===a||t===d||t===_||"object"==typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===y||t.$$typeof===c||t.$$typeof===f||t.$$typeof===h||t.$$typeof===g||t.$$typeof===b||t.$$typeof===w||t.$$typeof===m)},e.typeOf=S},function(t,e){t.exports=Function.call.bind(Object.prototype.hasOwnProperty)},function(t,e,r){"use strict";function n(t,e,r,n,i){}n.resetWarningCache=function(){0},t.exports=n},function(t,e,r){"use strict";t.exports="15.7.0"},function(t,e,r){"use strict";var n=r(19).Component,i=r(4).isValidElement,o=r(20),u=r(52);t.exports=u(n,i,o)},function(t,e,r){"use strict";var n=r(6),i={};function o(t,e,r,n,i,o,u,a){if(!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,i,o,u,a],f=0;(s=new Error(e.replace(/%s/g,(function(){return c[f++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}t.exports=function(t,e,r){var u=[],a={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},s={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},c={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var r=0;r<e.length;r++)p(t,e[r])},childContextTypes:function(t,e){t.childContextTypes=n({},t.childContextTypes,e)},contextTypes:function(t,e){t.contextTypes=n({},t.contextTypes,e)},getDefaultProps:function(t,e){t.getDefaultProps?t.getDefaultProps=h(t.getDefaultProps,e):t.getDefaultProps=e},propTypes:function(t,e){t.propTypes=n({},t.propTypes,e)},statics:function(t,e){!function(t,e){if(!e)return;for(var r in e){var n=e[r];if(e.hasOwnProperty(r)){if(o(!(r in c),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',r),r in t)return o("DEFINE_MANY_MERGED"===(s.hasOwnProperty(r)?s[r]:null),"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",r),void(t[r]=h(t[r],n));t[r]=n}}}(t,e)},autobind:function(){}};function f(t,e){var r=a.hasOwnProperty(e)?a[e]:null;m.hasOwnProperty(e)&&o("OVERRIDE_BASE"===r,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",e),t&&o("DEFINE_MANY"===r||"DEFINE_MANY_MERGED"===r,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",e)}function p(t,r){if(r){o("function"!=typeof r,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),o(!e(r),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var n=t.prototype,i=n.__reactAutoBindPairs;for(var u in r.hasOwnProperty("mixins")&&c.mixins(t,r.mixins),r)if(r.hasOwnProperty(u)&&"mixins"!==u){var s=r[u],p=n.hasOwnProperty(u);if(f(p,u),c.hasOwnProperty(u))c[u](t,s);else{var l=a.hasOwnProperty(u);if("function"==typeof s&&!l&&!p&&!1!==r.autobind)i.push(u,s),n[u]=s;else if(p){var _=a[u];o(l&&("DEFINE_MANY_MERGED"===_||"DEFINE_MANY"===_),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",_,u),"DEFINE_MANY_MERGED"===_?n[u]=h(n[u],s):"DEFINE_MANY"===_&&(n[u]=d(n[u],s))}else n[u]=s}}}else;}function l(t,e){for(var r in o(t&&e&&"object"==typeof t&&"object"==typeof e,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),e)e.hasOwnProperty(r)&&(o(void 0===t[r],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",r),t[r]=e[r]);return t}function h(t,e){return function(){var r=t.apply(this,arguments),n=e.apply(this,arguments);if(null==r)return n;if(null==n)return r;var i={};return l(i,r),l(i,n),i}}function d(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function _(t,e){return e.bind(t)}var y={componentDidMount:function(){this.__isMounted=!0}},v={componentWillUnmount:function(){this.__isMounted=!1}},m={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t,e)},isMounted:function(){return!!this.__isMounted}},g=function(){};return n(g.prototype,t.prototype,m),function(t){var e=function(t,n,u){this.__reactAutoBindPairs.length&&function(t){for(var e=t.__reactAutoBindPairs,r=0;r<e.length;r+=2){var n=e[r],i=e[r+1];t[n]=_(t,i)}}(this),this.props=t,this.context=n,this.refs=i,this.updater=u||r,this.state=null;var a=this.getInitialState?this.getInitialState():null;o("object"==typeof a&&!Array.isArray(a),"%s.getInitialState(): must return an object or null",e.displayName||"ReactCompositeComponent"),this.state=a};for(var n in e.prototype=new g,e.prototype.constructor=e,e.prototype.__reactAutoBindPairs=[],u.forEach(p.bind(null,e)),p(e,y),p(e,t),p(e,v),e.getDefaultProps&&(e.defaultProps=e.getDefaultProps()),o(e.prototype.render,"createClass(...): Class specification must implement a `render` method."),a)e.prototype[n]||(e.prototype[n]=null);return e}}},function(t,e,r){"use strict";var n=r(8),i=r(4);r(9);t.exports=function(t){return i.isValidElement(t)||n("143"),t}},function(t,e,r){"use strict";var n=r(25);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,e,r,i,o,u){if(u!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o=[],u=!0,a=!1;try{for(r=r.call(t);!(u=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);u=!0);}catch(t){a=!0,i=t}finally{try{u||null==r.return||r.return()}finally{if(a)throw i}}return o}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){var n=r(58);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function r(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}r.keys=function(){return[]},r.resolve=r,t.exports=r,r.id=60},function(t,e){(function(e){t.exports=e}).call(this,{})}]);
|